Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:12:25

0001 //////////////////////////////////////////////////////////
0002 // This class has been automatically generated on
0003 // Sun Mar 10 16:08:43 2024 by ROOT version 6.26/06
0004 // from TTree tree_eta/Tracklet eta info.
0005 // found on file: ../../../../sPH_dNdeta/HIJING_ana398_xvtx-0p04cm_yvtx0p24cm_zvtx-20cm_dummyAlignParams/DeltaR_TrackCounting_RecoZ_noMegaTrackRemoval_35k/INTT_final_hist_info.root
0006 //////////////////////////////////////////////////////////
0007 
0008 #ifndef ReadEta_v2_h
0009 #define ReadEta_v2_h
0010 
0011 #include <TROOT.h>
0012 #include <TChain.h>
0013 #include <TFile.h>
0014 
0015 // Header file for the classes stored in the TTree if any.
0016 #include <vector>
0017 #include <TH2.h>
0018 #include <TStyle.h>
0019 #include <TCanvas.h>
0020 
0021 #include <iostream>
0022 using namespace std;
0023 
0024 class ReadEta_v2 {
0025 public :
0026    TTree          *fChain;   //!pointer to the analyzed TTree or TChain
0027    Int_t           fCurrent; //!current Tree number in a TChain
0028 
0029    // Declaration of leaf types
0030    Int_t           eID;
0031    Int_t           Evt_centrality_bin;
0032    Double_t        Evt_zvtx;
0033    Int_t           NTrueTrack;
0034    Int_t           NClus;
0035    vector<double>  *RecoTrack_eta_d;
0036    vector<double>  *RecoTrack_phi_d;
0037    vector<double>  *TrueTrack_eta_d;
0038    vector<double>  *TrueTrack_phi_d;
0039    Int_t           N2Clu_track;
0040    Int_t           N3Clu_track;
0041    Int_t           N4Clu_track;
0042 
0043    // List of branches
0044    TBranch        *b_eID;   //!
0045    TBranch        *b_Evt_centrality_bin;   //!
0046    TBranch        *b_Evt_zvtx;   //!
0047    TBranch        *b_NTrueTrack;   //!
0048    TBranch        *b_NClus;   //!
0049    TBranch        *b_RecoTrack_eta_d;   //!
0050    TBranch        *b_RecoTrack_phi_d;   //!
0051    TBranch        *b_TrueTrack_eta_d;   //!
0052    TBranch        *b_TrueTrack_phi_d;   //!
0053    TBranch        *b_N2Clu_track;   //!
0054    TBranch        *b_N3Clu_track;   //!
0055    TBranch        *b_N4Clu_track;   //!
0056 
0057    ReadEta_v2(TTree *tree=0);
0058    virtual ~ReadEta_v2();
0059    virtual Int_t    Cut(Long64_t entry);
0060    virtual Int_t    GetEntry(Long64_t entry);
0061    virtual Long64_t LoadTree(Long64_t entry);
0062    virtual void     Init(TTree *tree);
0063    virtual void     Loop();
0064    virtual Bool_t   Notify();
0065    virtual void     Show(Long64_t entry = -1);
0066 };
0067 
0068 #endif
0069 
0070 #ifdef ReadEta_v2_cxx
0071 
0072 #endif // #ifdef ReadEta_v2_cxx