////////////////////////////////////////////////////////// // This class has been automatically generated on // Thu Nov 15 10:31:53 2018 by ROOT version 6.15/01 // from TTree h100/Event // found on file: event.root ////////////////////////////////////////////////////////// #ifndef DData_h #define DData_h #include #include #include #include // Header file for the classes stored in the TTree Delphi events // root file = event.root // Tree = h100 class TH1F; class DData : public TNamed { public : DData(TString name, TString title, TTree *tree=0); virtual ~DData(); virtual Int_t Cut(Long64_t entry); virtual Int_t GetEntry(Long64_t entry); virtual void Init(TTree *tree); virtual Long64_t LoadTree(Long64_t entry); virtual void Loop(); virtual Bool_t Notify(); virtual void Show(Long64_t entry = -1); Double_t ChargedEnergy(); void FillHistos(); Float_t GetEcm() const {return Ecm;} Double_t Mass(Int_t pdg); void Plot() const; void PrintMomentum() const; void PrintPID() const; void SetVerbosity(Int_t verb) {fVerbose = verb;} private : void CreateHistograms(); TTree *fChain; //!pointer to the analyzed TTree or TChain Int_t fCurrent; //!current Tree number in a TChain std::map fMassTable; //!map key = pdg code, value = mass TList *fHistoList; //!list of histograms to be filled TFile *fHistosOutFile; //! output file where histos are saved Int_t fVerbose; //!level of verbosity: 0 = silent; 1 = warning; 2 = info // Fixed size dimensions of array or collections stored in the TTree if any. // Declaration of leaf types Float_t Ecm; Float_t Sphvec1x; Float_t Sphvec1y; Float_t Sphvec1z; Float_t Sphvec2x; Float_t Sphvec2y; Float_t Sphvec2z; Float_t Sphvec3x; Float_t Sphvec3y; Float_t Sphvec3z; Float_t Sphval1; Float_t Sphval2; Float_t Sphval3; Float_t Thrvec1x; Float_t Thrvec1y; Float_t Thrvec1z; Float_t Thrvec2x; Float_t Thrvec2y; Float_t Thrvec2z; Float_t Thrvec3x; Float_t Thrvec3y; Float_t Thrvec3z; Float_t Thrval1; Float_t Thrval2; Float_t Thrval3; Int_t Npa; UShort_t Npac; Int_t Paid[300]; //[Npa] Int_t Pafl[300]; //[Npa] Int_t Pav0d[300]; //[Npa] Int_t Pav0m[300]; //[Npa] Float_t Rvtx[300]; //[Npa] Float_t Zvtx[300]; //[Npa] Float_t Papx[300]; //[Npa] Float_t Papy[300]; //[Npa] Float_t Papz[300]; //[Npa] Int_t Paje[300]; //[Npa] UChar_t Pani[300]; //[Npa] Int_t Njer; Float_t Tgenr; Float_t Dminr; Float_t Jepx[10]; //[Njer] Float_t Jepy[10]; //[Njer] Float_t Jepz[10]; //[Njer] Float_t Jee[10]; //[Njer] Float_t Jem[10]; //[Njer] Int_t Jep[10]; //[Njer] // List of branches TBranch *b_Ecm; //! TBranch *b_Sphvec1x; //! TBranch *b_Sphvec1y; //! TBranch *b_Sphvec1z; //! TBranch *b_Sphvec2x; //! TBranch *b_Sphvec2y; //! TBranch *b_Sphvec2z; //! TBranch *b_Sphvec3x; //! TBranch *b_Sphvec3y; //! TBranch *b_Sphvec3z; //! TBranch *b_Sphval1; //! TBranch *b_Sphval2; //! TBranch *b_Sphval3; //! TBranch *b_Thrvec1x; //! TBranch *b_Thrvec1y; //! TBranch *b_Thrvec1z; //! TBranch *b_Thrvec2x; //! TBranch *b_Thrvec2y; //! TBranch *b_Thrvec2z; //! TBranch *b_Thrvec3x; //! TBranch *b_Thrvec3y; //! TBranch *b_Thrvec3z; //! TBranch *b_Thrval1; //! TBranch *b_Thrval2; //! TBranch *b_Thrval3; //! TBranch *b_Npa; //! TBranch *b_Npac; //! TBranch *b_Paid; //! TBranch *b_Pafl; //! TBranch *b_Pav0d; //! TBranch *b_Pav0m; //! TBranch *b_Rvtx; //! TBranch *b_Zvtx; //! TBranch *b_Papx; //! TBranch *b_Papy; //! TBranch *b_Papz; //! TBranch *b_Paje; //! TBranch *b_Pani; //! TBranch *b_Njer; //! TBranch *b_Tgenr; //! TBranch *b_Dminr; //! TBranch *b_Jepx; //! TBranch *b_Jepy; //! TBranch *b_Jepz; //! TBranch *b_Jee; //! TBranch *b_Jem; //! TBranch *b_Jep; //! ClassDef(DData,1); }; #endif