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 22:18:55 2024 by ROOT version 6.26/06
0004 // from TTree tree_eta/Tracklet eta info.
0005 // found on file: INTT_final_hist_info.root
0006 //////////////////////////////////////////////////////////
0007 
0008 #ifndef ReadEta_v3_h
0009 #define ReadEta_v3_h
0010 
0011 #include <TROOT.h>
0012 #include <TChain.h>
0013 #include <TFile.h>
0014 #include <TH2.h>
0015 #include <TStyle.h>
0016 #include <TCanvas.h>
0017 
0018 // Header file for the classes stored in the TTree if any.
0019 #include <vector>
0020 #include <iostream>
0021 using namespace std;
0022 
0023 class ReadEta_v3 {
0024 public :
0025    TTree          *fChain;   //!pointer to the analyzed TTree or TChain
0026    Int_t           fCurrent; //!current Tree number in a TChain
0027 
0028    // Declaration of leaf types
0029    Int_t           eID;
0030    Int_t           Evt_centrality_bin;
0031    Double_t        Evt_zvtx;
0032    Double_t        True_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_True_zvtx;   //!
0048    TBranch        *b_NTrueTrack;   //!
0049    TBranch        *b_NClus;   //!
0050    TBranch        *b_RecoTrack_eta_d;   //!
0051    TBranch        *b_RecoTrack_phi_d;   //!
0052    TBranch        *b_TrueTrack_eta_d;   //!
0053    TBranch        *b_TrueTrack_phi_d;   //!
0054    TBranch        *b_N2Clu_track;   //!
0055    TBranch        *b_N3Clu_track;   //!
0056    TBranch        *b_N4Clu_track;   //!
0057 
0058    ReadEta_v3(TTree *tree=0);
0059    virtual ~ReadEta_v3();
0060    virtual Int_t    Cut(Long64_t entry);
0061    virtual Int_t    GetEntry(Long64_t entry);
0062    virtual Long64_t LoadTree(Long64_t entry);
0063    virtual void     Init(TTree *tree);
0064    virtual void     Loop();
0065    virtual Bool_t   Notify();
0066    virtual void     Show(Long64_t entry = -1);
0067 };
0068 
0069 #endif