25 #ifndef PNDSIMPLEANALYSIS_H 26 #define PNDSIMPLEANALYSIS_H 1 33 #include "TLorentzVector.h" 35 #define fMaxEntries 1000 63 typedef std::map<Int_t, Float_t>
mapper;
74 virtual InitStatus
Init();
77 virtual void Exec(Option_t *opt);
96 bool ErrorMessage(
int mid,
int line = 0, std::string arg =
"");
116 TClonesArray *fChargedArray;
117 TClonesArray *fNeutralArray;
118 TClonesArray *fChargedProbability;
119 TClonesArray *fNeutralProbability;
121 TClonesArray *fMcArray;
123 TClonesArray *fMicroArray;
129 std::vector<std::string> fGenericListNames;
130 std::vector<PndListDefiner *> fListDefiners;
131 std::map<std::string, int> fListMap;
133 std::map<std::string, int> fColKeyMap;
134 std::map<int, std::vector<std::string>> fColShortKeyMap;
136 std::string fCfgFileName;
142 TLorentzVector fpInit;
147 virtual void SetParContainers();
int GetPdgCode(std::string name)
RhoMinusParticleSelector * minusSel
void PrintTree(RhoCandidate *tc, int level=0)
int GetAntiPdgCode(std::string name)
RhoNeutralParticleSelector * neutralSel
RhoSimpleElectronSelector * eSel
RhoSimplePionSelector * piSel
virtual void Exec(Option_t *opt)
virtual InitStatus Init()
bool IsGenericListName(std::string n)
std::map< Int_t, Float_t > mapper
void SetConfigFile(std::string filename="analysis.cfg")
bool ErrorMessage(int mid, int line=0, std::string arg="")
RhoSimpleMuonSelector * muSel
RhoPlusParticleSelector * plusSel
RhoSimpleKaonSelector * kSel
RhoSimpleProtonSelector * pSel