Changeset 1951 for trunk/MagicSoft/Mars/manalysis/MPadding.h
- Timestamp:
- 04/12/03 16:40:23 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MPadding.h
r1768 r1951 6 6 #endif 7 7 8 #ifndef MARS_MH 9 #include "MH.h" 10 #endif 11 12 #include "TRandom3.h" 13 #include "TH1.h" 14 #include "TH2.h" 15 #include "TH3.h" 16 #include "TProfile.h" 17 18 8 class TH1D; 9 class TH2D; 19 10 class MGeomCam; 20 11 class MCerPhotEvt; … … 28 19 { 29 20 private: 30 MGeomCam *fCam;31 MCerPhotEvt *fEvt;32 MSigmabar 33 MMcEvt 34 MPedestalCam 21 MGeomCam *fCam; 22 MCerPhotEvt *fEvt; 23 MSigmabar *fSigmabar; 24 MMcEvt *fMcEvt; 25 MPedestalCam *fPed; 35 26 36 TRandom3 *fRnd; 27 Int_t fRunType; 28 Int_t fGroup; 37 29 38 Int_t fRunType;39 Int_t fGroup;30 TString fDatabaseFilename; // data file used for generating fHSigmabarMax histogram 31 Double_t fFixedSigmabar; // fixed sigmabar value 40 32 41 TH1D *fHSigmabarMax; // histogram (sigmabarmax vs. Theta) 42 char *fDatabaseFilename; // data file used for generating 43 // fHSigmabarMax histogram 33 Bool_t fHSigMaxAllocated; // flag whether MPadding allocated it 34 TH1D *fHSigmabarMax; // histogram (sigmabarmax vs. Theta) 35 TH2D *fHSigmaTheta; // 2D-histogram (sigmabar vs. Theta) 36 TH2D *fHSigmaPedestal; //-> for testing: plot of padded vs orig. pedestal sigmas 37 TH2D *fHPhotons; //-> for testing: no.of photons after versus before padding 38 TH2D *fHSigmaOld; //-> histogram (sigma vs. Theta) before padding 39 TH2D *fHSigmaNew; //-> histogram (sigma vs. Theta) after padding 40 TH1D *fHNSB; //-> histogram of added NSB 44 41 45 TH2D *fHSigmaTheta; // 2D-histogram (sigmabar vs. Theta) 46 47 Double_t fFixedSigmabar; // fixed sigmabar value 48 49 TH2D *fHSigmaPedestal; // for testing : plot of padded vs 50 // orig. pedestal sigmas 51 TH2D *fHPhotons; // for testing : no.of photons after 52 // versus before padding 53 TH2D *fHSigmaOld; // histogram (sigma vs. Theta) 54 // before padding 55 56 TH2D *fHSigmaNew ; // histogram (sigma vs. Theta) 57 // after padding 58 TH1D *fHNSB; // histogram of added NSB 59 42 Double_t CalcOtherSig(const Double_t mySig, const Double_t theta) const; 43 Bool_t Padding(Double_t quadDiff, const Double_t theta); 60 44 61 45 public: … … 67 51 Bool_t PostProcess(); 68 52 69 Bool_t Padding(Double_t quadDiff);70 71 53 void SetRunType(Int_t runtype) { fRunType = runtype; } 72 54 void SetGroup(Int_t group) { fGroup = group; } … … 79 61 void SetTargetLevel(Double_t sigmabar); 80 62 81 ClassDef(MPadding, 1)// task for the padding63 ClassDef(MPadding, 0) // task for the padding 82 64 }; 83 65
Note:
See TracChangeset
for help on using the changeset viewer.