Ignore:
Timestamp:
02/14/05 19:04:58 (20 years ago)
Author:
rico
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mtemp/mifae/library/MEffAreaAndCoeffCalc.h

    r6368 r6465  
    1818 private:
    1919
    20   TF1* fSpec;        // function used to parametrized the spectrum
    21   TH1F* fHorig;      // histogram with the original energy spectrum
     20  TF1* fSpec;        // function used to parametrize the spectrum
     21  TH1F* fHorig;      // histogram with the original sample energy spectrum
    2222
    23   Int_t fEbins;      // number of bins to build spectrum
    24   Int_t fEsubbins;   // number of subbins per big bin
    2523  Double_t fEmin;    // Minimum energy in GeV
    2624  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...)
    2727
    2828  Double_t* fWeight; // array containing weights
     
    3030  TH2F* fEffA;       // histogram containing effective areas
    3131
    32   TChain* fCini;     // chain for initial MC events (even those not triggering)
     32  TChain* fCini;     // chain for initial MC files (before trigger)
    3333  TChain* fCcut;     // chain for surviving MC events (after cuts)
    3434
    3535  MHillas* fHillas;  // pointer to the MHillas Branch
    3636  MMcEvt*  fMcEvt;   // pointer to the MMcEvt Branch
     37
     38  TFile* fFile; // output file (for debugging only)
    3739
    3840 protected:
     
    4446
    4547 public:
     48
    4649  MEffAreaAndCoeffCalc();
    4750
     
    5558  void SetEmax(Float_t x)   {fEmax=x;}
    5659
    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);}
    5961
    6062  TH2F* GetEffectiveAreaHisto() {return fEffA;}
Note: See TracChangeset for help on using the changeset viewer.