BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/DecayChain/include/DecayChain/Element/conjugation.h
Go to the documentation of this file.
1#ifndef DCHAIN_CONJUGATION_H
2#define DCHAIN_CONJUGATION_H
3// -*- C++ -*-
4//
5// Package: DChain
6// Module: Conjugation
7//
8// Description: enumerator for conjugation
9//
10// Usage:
11// Used by the list hierarchy to determine the conjugation of a
12// Candidate with respect to the list it is in.
13// This has been designed as a name-space rather than a class
14//
15// Author: Simon Patton
16// Created: Fri Sep 13 18:06:37 EDT 1996
17// $Id: conjugation.h,v 1.1.1.1 2009/03/03 06:06:56 maqm Exp $
18//
19// Revision history
20//
21// $Log: conjugation.h,v $
22// Revision 1.1.1.1 2009/03/03 06:06:56 maqm
23// first import of DecayChain
24//
25// Revision 1.1 2006/01/11 20:28:10 cdj
26// massive class renaming, addition of [] for selection and unit tests
27//
28//
29
30// system include files
31
32// user include files
33
34// forward declarations
35namespace dchain {
36 namespace conjugation {
37 // constants, enums and typedefs
38 enum Label { kNone = 0, kHeads = 1, kTails = -1 };
39 } // namespace conjugation
40
41 inline conjugation::Label otherLabel( const conjugation::Label& aLabel );
42
43 // inline function definitions
44
46 return ( conjugation::Label( conjugation::kNone - aLabel ) );
47 }
48} // namespace dchain
49#endif /* DCHAIN_CONJUGATION_H */
conjugation::Label otherLabel(const conjugation::Label &aLabel)