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 "RhoCandList.h"
8 
9 class TH1F;
11 
13  public:
15  PndListDefiner(std::string name);
16  virtual ~PndListDefiner();
17 
18  void Print();
19  int GetLength();
20  int GetNDau();
21  int GetNSels();
22  int GetNHistos();
23 
24  std::string fName;
25  int fPdgCode;
26  float fCharge;
27  int fAntiIdx;
29  bool fIsUsed;
30  bool fIsFilled;
31  bool fIsGeneric;
32  bool fIsMerged;
33  bool fDumpList;
35  std::vector<TH1F *> fHisto;
36  std::vector<RhoParticleSelectorBase *> fSelector;
37  std::vector<int> fDauIdx;
38 
39  // information for the NTuple dumpout
40  int fNEntries; // Number of entries in list; used for the tuple dumpout
41  std::string fColName; // the prefix for storing in NTuple
42  std::vector<std::string> fNtpFNames; // column names with floats to be stored
43  std::vector<float *> fNtpFArrays; // the corresponding float arrays
44  std::vector<std::string> fNtpINames; // column names with ints to be stored
45  std::vector<int *> fNtpIArrays; // the corresponding int arrays
46 
48 };
49 
50 #endif
virtual ~PndListDefiner()
std::vector< std::string > fNtpINames
std::vector< int * > fNtpIArrays
std::string fColName
std::string fName
RhoCandList fList
std::vector< float * > fNtpFArrays
std::vector< RhoParticleSelectorBase * > fSelector
std::vector< int > fDauIdx
ClassDef(PndListDefiner, 1)
std::vector< TH1F * > fHisto
std::vector< std::string > fNtpFNames