////////////////////////////////////////////////////////// // This class has been automatically generated on // Tue Feb 18 19:59:47 2014 by ROOT version 5.34/04 // from TTree tpars/Event Parameters (Telescope 55, VERSION 9) // found on file: evndisp_run001001.root ////////////////////////////////////////////////////////// #ifndef ciro_h #define ciro_h #include #include #include #include #include #include "TH3D.h" // Header file for the classes stored in the TTree if any. // Fixed size dimensions of array or collections stored in the TTree if any. class ciro : public TSelector { public : TTree *fChain; //!pointer to the analyzed TTree or TChain // Declaration of leaf types Int_t telID; Int_t runNumber; Int_t MJD; Double_t Time; UShort_t eventType; Int_t eventNumber; UInt_t eventStatus; Double_t fimagethresh; Double_t fborderthresh; Int_t fsumfirst; Int_t fsumwindow; Int_t fsumwindow_2; Short_t LocalTrigger; Int_t fncluster_cleaned; Int_t fncluster_uncleaned; UShort_t MCprim; Float_t MCe0; Float_t MCxcore; Float_t MCycore; Float_t MCxcos; Float_t MCycos; Float_t MCLocalTriggerTime; Float_t MCLocalDelayedTriggerTime; Float_t MCTel_Xoff; Float_t MCTel_Yoff; Float_t meanPed_Image; Float_t meanPedvar_Image; Float_t cen_x; Float_t cen_y; Float_t cen_x_trig; Float_t cen_y_trig; Float_t cen_x2_trig; Float_t cen_y2_trig; Float_t length; Float_t width; Float_t size; Float_t size2; Float_t loss; Float_t lossAndDead; Float_t fui; Float_t fracLow; Float_t dist; Float_t azwidth; Float_t alpha; Float_t los; Float_t miss; Float_t phi; Float_t cosphi; Float_t sinphi; UShort_t ntubes; UShort_t trig_tubes; UShort_t nzerosuppressed; UShort_t nsat; UShort_t nlowgain; UShort_t ntubesBNI; Float_t max[3]; UShort_t index_of_max[3]; Float_t asymmetry; Float_t frac[3]; UShort_t ntrig; UShort_t ntrig_per_patch; UShort_t bad; UShort_t badLow; Float_t tgrad_x; Float_t tint_x; Float_t tgrad_dx; Float_t tint_dx; Float_t tchisq_x; Float_t muonX0; Float_t muonY0; Float_t muonRadius; Float_t muonRSigma; Float_t muonSize; Int_t muonValid; Int_t Fitstat; // List of branches TBranch *b_telID; //! TBranch *b_runNumber; //! TBranch *b_MJD; //! TBranch *b_time; //! TBranch *b_eventType; //! TBranch *b_eventNumber; //! TBranch *b_eventStatus; //! TBranch *b_fimagethresh; //! TBranch *b_fborderthresh; //! TBranch *b_fsumfirst; //! TBranch *b_fsumwindow; //! TBranch *b_fsumwindow_2; //! TBranch *b_fLocalTrigger; //! TBranch *b_fncluster_cleaned; //! TBranch *b_fncluster_uncleaned; //! TBranch *b_MCprimary; //! TBranch *b_MCenergy; //! TBranch *b_MCxcore; //! TBranch *b_MCycore; //! TBranch *b_MCxcos; //! TBranch *b_MCycos; //! TBranch *b_MCLocalTriggerTime; //! TBranch *b_MCLocalDelayedTriggerTime; //! TBranch *b_MCTel_Xoff; //! TBranch *b_MCTel_Yoff; //! TBranch *b_meanPed_Image; //! TBranch *b_meanPedvar_Image; //! TBranch *b_cen_x; //! TBranch *b_cen_y; //! TBranch *b_cen_x_trig; //! TBranch *b_cen_y_trig; //! TBranch *b_cen_x2_trig; //! TBranch *b_cen_y2_trig; //! TBranch *b_length; //! TBranch *b_width; //! TBranch *b_size; //! TBranch *b_size2; //! TBranch *b_loss; //! TBranch *b_lossAndDead; //! TBranch *b_fui; //! TBranch *b_fracLow; //! TBranch *b_dist; //! TBranch *b_azwidth; //! TBranch *b_alpha; //! TBranch *b_los; //! TBranch *b_miss; //! TBranch *b_phi; //! TBranch *b_cosphi; //! TBranch *b_sinphi; //! TBranch *b_ntubes; //! TBranch *b_trig_tubes; //! TBranch *b_nzerosuppressed; //! TBranch *b_nsat; //! TBranch *b_nlowgain; //! TBranch *b_ntubesBNI; //! TBranch *b_max; //! TBranch *b_index_of_max; //! TBranch *b_asymmetry; //! TBranch *b_frac; //! TBranch *b_ntrig; //! TBranch *b_ntrig_per_patch; //! TBranch *b_bad; //! TBranch *b_badLow; //! TBranch *b_tgrad_x; //! TBranch *b_tint_x; //! TBranch *b_tgrad_dx; //! TBranch *b_tint_dx; //! TBranch *b_tchisq_x; //! TBranch *b_muonX0; //! TBranch *b_muonY0; //! TBranch *b_muonRadius; //! TBranch *b_muonRSigma; //! TBranch *b_muonSize; //! TBranch *b_muonValid; //! TBranch *b_Fitstat; //! Int_t LogSizeBins; Int_t DistanceBins; Int_t EccentricityBins; Double_t MinLogSize; Double_t MaxLogSize; Double_t MinDistance; Double_t MaxDistance; Double_t MinEccentricity; Double_t MaxEccentricity; TH3D* EnergyLookUpTable; TH3D* DispLookUpTable; TH3D* ImpactParameterLookUpTable; TH3D* EnergyEntries; TH3D* DispEntries; TH3D* ImpactParameterEntries; Double_t TelX; Double_t TelY; // ciro(TTree * /*tree*/ =0) : fChain(0) { } ciro(TTree * /*tree*/ =0) : fChain(0), LogSizeBins(40), DistanceBins(40), EccentricityBins(50), MinLogSize(1), MaxLogSize(5), MinDistance(0.5), MaxDistance(4.5), MinEccentricity(0.0), MaxEccentricity(1.0) { cout << " CONSTRUCTOR " << endl; } virtual ~ciro() { } virtual Int_t Version() const { return 2; } virtual void Begin(TTree *tree); virtual void SlaveBegin(TTree *tree); virtual void Init(TTree *tree); virtual Bool_t Notify(); virtual Bool_t Process(Long64_t entry); virtual Int_t GetEntry(Long64_t entry, Int_t getall = 0) { return fChain ? fChain->GetTree()->GetEntry(entry, getall) : 0; } virtual void SetOption(const char *option) { fOption = option; } virtual void SetObject(TObject *obj) { fObject = obj; } virtual void SetInputList(TList *input) { fInput = input; } virtual TList *GetOutputList() const { return fOutput; } virtual void SlaveTerminate(); virtual void Terminate(); ClassDef(ciro,1); }; #endif #ifdef ciro_cxx void ciro::Init(TTree *tree) { // The Init() function is called when the selector needs to initialize // a new tree or chain. Typically here the branch addresses and branch // pointers of the tree will be set. // It is normally not necessary to make changes to the generated // code, but the routine can be extended by the user if needed. // Init() will be called many times when running on PROOF // (once per file to be processed). // Set branch addresses and branch pointers if (!tree) return; fChain = tree; fChain->SetMakeClass(1); fChain->SetBranchAddress("telID", &telID, &b_telID); fChain->SetBranchAddress("runNumber", &runNumber, &b_runNumber); fChain->SetBranchAddress("MJD", &MJD, &b_MJD); fChain->SetBranchAddress("Time", &Time, &b_time); fChain->SetBranchAddress("eventType", &eventType, &b_eventType); fChain->SetBranchAddress("eventNumber", &eventNumber, &b_eventNumber); fChain->SetBranchAddress("eventStatus", &eventStatus, &b_eventStatus); fChain->SetBranchAddress("fimagethresh", &fimagethresh, &b_fimagethresh); fChain->SetBranchAddress("fborderthresh", &fborderthresh, &b_fborderthresh); fChain->SetBranchAddress("fsumfirst", &fsumfirst, &b_fsumfirst); fChain->SetBranchAddress("fsumwindow", &fsumwindow, &b_fsumwindow); fChain->SetBranchAddress("fsumwindow_2", &fsumwindow_2, &b_fsumwindow_2); fChain->SetBranchAddress("LocalTrigger", &LocalTrigger, &b_fLocalTrigger); fChain->SetBranchAddress("fncluster_cleaned", &fncluster_cleaned, &b_fncluster_cleaned); fChain->SetBranchAddress("fncluster_uncleaned", &fncluster_uncleaned, &b_fncluster_uncleaned); fChain->SetBranchAddress("MCprim", &MCprim, &b_MCprimary); fChain->SetBranchAddress("MCe0", &MCe0, &b_MCenergy); fChain->SetBranchAddress("MCxcore", &MCxcore, &b_MCxcore); fChain->SetBranchAddress("MCycore", &MCycore, &b_MCycore); fChain->SetBranchAddress("MCxcos", &MCxcos, &b_MCxcos); fChain->SetBranchAddress("MCycos", &MCycos, &b_MCycos); fChain->SetBranchAddress("MCLocalTriggerTime", &MCLocalTriggerTime, &b_MCLocalTriggerTime); fChain->SetBranchAddress("MCLocalDelayedTriggerTime", &MCLocalDelayedTriggerTime, &b_MCLocalDelayedTriggerTime); fChain->SetBranchAddress("MCTel_Xoff", &MCTel_Xoff, &b_MCTel_Xoff); fChain->SetBranchAddress("MCTel_Yoff", &MCTel_Yoff, &b_MCTel_Yoff); fChain->SetBranchAddress("meanPed_Image", &meanPed_Image, &b_meanPed_Image); fChain->SetBranchAddress("meanPedvar_Image", &meanPedvar_Image, &b_meanPedvar_Image); fChain->SetBranchAddress("cen_x", &cen_x, &b_cen_x); fChain->SetBranchAddress("cen_y", &cen_y, &b_cen_y); fChain->SetBranchAddress("cen_x_trig", &cen_x_trig, &b_cen_x_trig); fChain->SetBranchAddress("cen_y_trig", &cen_y_trig, &b_cen_y_trig); fChain->SetBranchAddress("cen_x2_trig", &cen_x2_trig, &b_cen_x2_trig); fChain->SetBranchAddress("cen_y2_trig", &cen_y2_trig, &b_cen_y2_trig); fChain->SetBranchAddress("length", &length, &b_length); fChain->SetBranchAddress("width", &width, &b_width); fChain->SetBranchAddress("size", &size, &b_size); fChain->SetBranchAddress("size2", &size2, &b_size2); fChain->SetBranchAddress("loss", &loss, &b_loss); fChain->SetBranchAddress("lossAndDead", &lossAndDead, &b_lossAndDead); fChain->SetBranchAddress("fui", &fui, &b_fui); fChain->SetBranchAddress("fracLow", &fracLow, &b_fracLow); fChain->SetBranchAddress("dist", &dist, &b_dist); fChain->SetBranchAddress("azwidth", &azwidth, &b_azwidth); fChain->SetBranchAddress("alpha", &alpha, &b_alpha); fChain->SetBranchAddress("los", &los, &b_los); fChain->SetBranchAddress("miss", &miss, &b_miss); fChain->SetBranchAddress("phi", &phi, &b_phi); fChain->SetBranchAddress("cosphi", &cosphi, &b_cosphi); fChain->SetBranchAddress("sinphi", &sinphi, &b_sinphi); fChain->SetBranchAddress("ntubes", &ntubes, &b_ntubes); fChain->SetBranchAddress("trig_tubes", &trig_tubes, &b_trig_tubes); fChain->SetBranchAddress("nzerosuppressed", &nzerosuppressed, &b_nzerosuppressed); fChain->SetBranchAddress("nsat", &nsat, &b_nsat); fChain->SetBranchAddress("nlowgain", &nlowgain, &b_nlowgain); fChain->SetBranchAddress("ntubesBNI", &ntubesBNI, &b_ntubesBNI); fChain->SetBranchAddress("max", max, &b_max); fChain->SetBranchAddress("index_of_max", index_of_max, &b_index_of_max); fChain->SetBranchAddress("asymmetry", &asymmetry, &b_asymmetry); fChain->SetBranchAddress("frac", frac, &b_frac); fChain->SetBranchAddress("ntrig", &ntrig, &b_ntrig); fChain->SetBranchAddress("ntrig_per_patch", &ntrig_per_patch, &b_ntrig_per_patch); fChain->SetBranchAddress("bad", &bad, &b_bad); fChain->SetBranchAddress("badLow", &badLow, &b_badLow); fChain->SetBranchAddress("tgrad_x", &tgrad_x, &b_tgrad_x); fChain->SetBranchAddress("tint_x", &tint_x, &b_tint_x); fChain->SetBranchAddress("tgrad_dx", &tgrad_dx, &b_tgrad_dx); fChain->SetBranchAddress("tint_dx", &tint_dx, &b_tint_dx); fChain->SetBranchAddress("tchisq_x", &tchisq_x, &b_tchisq_x); fChain->SetBranchAddress("muonX0", &muonX0, &b_muonX0); fChain->SetBranchAddress("muonY0", &muonY0, &b_muonY0); fChain->SetBranchAddress("muonRadius", &muonRadius, &b_muonRadius); fChain->SetBranchAddress("muonRSigma", &muonRSigma, &b_muonRSigma); fChain->SetBranchAddress("muonSize", &muonSize, &b_muonSize); fChain->SetBranchAddress("muonValid", &muonValid, &b_muonValid); fChain->SetBranchAddress("Fitstat", &Fitstat, &b_Fitstat); } Bool_t ciro::Notify() { // The Notify() function is called when a new file is opened. This // can be either for a new TTree in a TChain or when when a new TTree // is started when using PROOF. It is normally not necessary to make changes // to the generated code, but the routine can be extended by the // user if needed. The return value is currently not used. return kTRUE; } #endif // #ifdef ciro_cxx