1 #ifndef D0RunIIconeJets_CONEJETINFO_HPP
2 #define D0RunIIconeJets_CONEJETINFO_HPP
44 #include <fastjet/internal/base.hh>
46 FASTJET_BEGIN_NAMESPACE
50 namespace D0RunIIconeJets_CONEJETINFO {
52 const int CONEJET_SPLITMERGE_MOD = 100;
57 ConeJetInfo(): _seedET(0.), _initial_jet_ET(0.), _nb_split_merge(0) {};
58 ConeJetInfo(
float seedET_in): _seedET(seedET_in), _nb_split_merge(0) {};
59 ConeJetInfo(
float seedET_in,
float initialET_in,
int nb_split,
int nb_merge):
60 _seedET(seedET_in), _initial_jet_ET(initialET_in),
61 _nb_split_merge(nb_merge + CONEJET_SPLITMERGE_MOD*nb_split) {};
64 float seedET()
const {
return _seedET;};
65 float initialET()
const {
return _initial_jet_ET; };
66 int nbSplit()
const {
return _nb_split_merge/CONEJET_SPLITMERGE_MOD;};
67 int nbMerge()
const {
return _nb_split_merge%CONEJET_SPLITMERGE_MOD;};
68 int SplitMergeWord()
const {
return _nb_split_merge;};
70 void initialET(
float ET) { _initial_jet_ET = ET;};
71 void splitted() { _nb_split_merge += CONEJET_SPLITMERGE_MOD;};
72 void merged() { _nb_split_merge += 1;};
77 float _initial_jet_ET;