MarlinFastJet  0.3.0
EClusterMode.h
1 #ifndef EClusterMode_h
2 #define EClusterMode_h 1
3 
4 #include <iostream>
5 
6 
7 // The enum, name and value of the enum for the Cluster Mode
8 enum EClusterMode {
9  NONE = 0,
10  FJ_exclusive_yCut = 1, // exclusive clustering mode implemented in FastJet
11  FJ_exclusive_nJets = 2, // exclusive clustering mode implemented in FastJet
12  FJ_inclusive = 4, // inclusive "-"
13  OWN_inclusiveIteration = 8 // use FJ inclusive Clustering, but iterate until we have the desired number of jets
14 };
15 
16 std::ostream& operator<<(std::ostream& out, EClusterMode& m) {
17 
18  switch (m) {
19  case OWN_inclusiveIteration:
20  out << "InclusiveIterativeNJets"; break;
21  case FJ_inclusive:
22  out << "Inclusive"; break;
23  case FJ_exclusive_nJets:
24  out << "ExclusiveNJets"; break;
25  case FJ_exclusive_yCut:
26  out << "ExclusiveYCut"; break;
27  default:
28  out << "unknown"; break;
29  }
30  return out;
31 }
32 
33 #endif // EClusterMode_h