FairRoot/PandaRoot
PndListDefiner.h
Go to the documentation of this file.
1 #ifndef PNDLISTDEFINER_H
2 #define PNDLISTDEFINER_H
3 
4 #include <string>
5 #include <vector>
6 
7 #include "RhoBase/RhoCandList.h"
8 
9 class TH1F;
11 
13 {
14  public:
16  PndListDefiner(std::string name);
17  virtual ~PndListDefiner();
18 
19  void Print();
20  int GetLength();
21  int GetNDau();
22  int GetNSels();
23  int GetNHistos();
24 
25  std::string fName;
26  int fPdgCode;
27  float fCharge;
28  int fAntiIdx;
30  bool fIsUsed;
31  bool fIsFilled;
32  bool fIsGeneric;
33  bool fIsMerged;
34  bool fDumpList;
36  std::vector<TH1F*> fHisto;
37  std::vector<RhoParticleSelectorBase*> fSelector;
38  std::vector<int> fDauIdx;
39 
40  // information for the NTuple dumpout
41  int fNEntries; // Number of entries in list; used for the tuple dumpout
42  std::string fColName; // the prefix for storing in NTuple
43  std::vector<std::string> fNtpFNames; // column names with floats to be stored
44  std::vector<float*> fNtpFArrays; // the corresponding float arrays
45  std::vector<std::string> fNtpINames; // column names with ints to be stored
46  std::vector<int*> fNtpIArrays; // the corresponding int arrays
47 
48 
50 };
51 
52 #endif
std::vector< TH1F * > fHisto
std::vector< std::string > fNtpINames
std::string fColName
virtual ~PndListDefiner()
std::vector< float * > fNtpFArrays
std::string fName
RhoCandList fList
std::vector< int > fDauIdx
TString name
ClassDef(PndListDefiner, 1)
std::vector< int * > fNtpIArrays
std::vector< std::string > fNtpFNames
std::vector< RhoParticleSelectorBase * > fSelector