Changeset 1376 for trunk/MagicSoft/Mars/mmontecarlo
- Timestamp:
- 07/04/02 18:40:55 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/mmontecarlo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mmontecarlo/MMcTriggerRateCalc.cc
r1342 r1376 21 21 ! Copyright: MAGIC Software Development, 2000-2001 22 22 ! 23 ! Modified 4/7/2002 Abelardo Moralejo: now the dimension of fTrigger is 24 ! set dinamically, to allow an arbitrary large number of trigger 25 ! conditions to be processed. 26 ! 23 27 ! 24 28 \* ======================================================================== */ … … 47 51 fMcRate = NULL; 48 52 49 for (int i=0;i<10;i++)50 fTrigger[i] = dim&&trigbg ? trigbg[i] : 0;51 52 53 fShowers = 0; 53 54 fAnalShow = simbg; … … 59 60 60 61 fNum = fLast-fFirst+1; 62 63 fTrigger = new float[fNum]; 64 65 for (UInt_t i=0;i<fNum;i++) 66 fTrigger[i] = dim&&trigbg ? trigbg[i] : 0; 61 67 62 68 AddToBranchList("MMcEvt.fImpact"); -
trunk/MagicSoft/Mars/mmontecarlo/MMcTriggerRateCalc.h
r1205 r1376 26 26 UInt_t fLast; 27 27 28 Float_t fTrigger[10]; // Number of triggered showers 28 Float_t* fTrigger; // Number of triggered showers 29 29 30 Float_t fShowers; // Number of simulated showers 30 31 Float_t fAnalShow; // Number of analysed showers
Note:
See TracChangeset
for help on using the changeset viewer.