- Timestamp:
- 02/14/05 19:04:58 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtemp/mifae/library/MEffAreaAndCoeffCalc.h
r6368 r6465 18 18 private: 19 19 20 TF1* fSpec; // function used to parametrize dthe spectrum21 TH1F* fHorig; // histogram with the original energy spectrum20 TF1* fSpec; // function used to parametrize the spectrum 21 TH1F* fHorig; // histogram with the original sample energy spectrum 22 22 23 Int_t fEbins; // number of bins to build spectrum24 Int_t fEsubbins; // number of subbins per big bin25 23 Double_t fEmin; // Minimum energy in GeV 26 24 Double_t fEmax; // Maximum energy in GeV 25 Int_t fEbins; // number of bins to build spectrum 26 Int_t fEsubbins; // number of subbins per big bin (to compute weights, eff areas...) 27 27 28 28 Double_t* fWeight; // array containing weights … … 30 30 TH2F* fEffA; // histogram containing effective areas 31 31 32 TChain* fCini; // chain for initial MC events (even those not triggering)32 TChain* fCini; // chain for initial MC files (before trigger) 33 33 TChain* fCcut; // chain for surviving MC events (after cuts) 34 34 35 35 MHillas* fHillas; // pointer to the MHillas Branch 36 36 MMcEvt* fMcEvt; // pointer to the MMcEvt Branch 37 38 TFile* fFile; // output file (for debugging only) 37 39 38 40 protected: … … 44 46 45 47 public: 48 46 49 MEffAreaAndCoeffCalc(); 47 50 … … 55 58 void SetEmax(Float_t x) {fEmax=x;} 56 59 57 void AddFileToInitialMC(const Char_t* name) {fCini->Add(name);} 58 void AddFileToFinalMC(const Char_t* name) {fCcut->Add(name);} 60 void AddFile(const Char_t* name) {fCini->Add(name); fCcut->Add(name);} 59 61 60 62 TH2F* GetEffectiveAreaHisto() {return fEffA;}
Note:
See TracChangeset
for help on using the changeset viewer.