Changeset 3848 for trunk/MagicSoft/Mars/mhistmc
- Timestamp:
- 04/27/04 14:03:12 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mhistmc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhistmc/MHMcCollectionArea.cc
r2606 r3848 55 55 // 56 56 MHMcCollectionArea::MHMcCollectionArea(const char *name, const char *title) 57 : fMCAreaRadius(300.) 57 58 { 58 59 // initialize the histogram for the distribution r vs E … … 256 257 // 257 258 const Float_t r1 = 0; 258 const Float_t r2 = 300;259 260 *fLog << warn << endl << dbginf << "WARNING! I will assume a maximum impact parameter of 300meters for the MC events. Check that this is the true one!" <<endl<<endl;259 const Float_t r2 = fMCAreaRadius; 260 261 *fLog << warn << endl << dbginf << "WARNING! I will assume a maximum impact parameter of " << fMCAreaRadius << " meters for the MC events. Check that this is the true one!" <<endl<<endl; 261 262 const Float_t total_area = TMath::Pi() * (r2*r2 - r1*r1); 262 263 -
trunk/MagicSoft/Mars/mhistmc/MHMcCollectionArea.h
r2250 r3848 19 19 20 20 TH1D *fHistCol; // the collection area 21 22 Float_t fMCAreaRadius; // [m] Radius of circle within which the cores 23 // of Corsika events have been uniformly 24 // distributed. 21 25 22 26 void Calc(TH2D &hsel, TH2D &hall); … … 45 49 void Calc(const MHMcEfficiency &heff); 46 50 51 void SetMCAreaRadius(Float_t x) { fMCAreaRadius = x; } 52 47 53 ClassDef(MHMcCollectionArea, 1) // Data Container to calculate Collection Area 48 54 };
Note:
See TracChangeset
for help on using the changeset viewer.