BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
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 {
38 // constants, enums and typedefs
39 enum Label { kNone = 0 ,
40 kHeads = 1 ,
41 kTails = -1
42 } ;
43 }
44
45 inline
47
48 // inline function definitions
49
50 inline
52 {
53 return ( conjugation::Label( conjugation::kNone - aLabel ) ) ;
54 }
55}
56#endif /* DCHAIN_CONJUGATION_H */
conjugation::Label otherLabel(const conjugation::Label &aLabel)
Definition: conjugation.h:51