Changeset 18478 for trunk/Mars/manalysis/MSoftwareTrigger.cc
- Timestamp:
- 04/23/16 21:25:48 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/manalysis/MSoftwareTrigger.cc
r18477 r18478 90 90 Bool_t MSoftwareTrigger::ReInit(MParList *pList) 91 91 { 92 // FIXME: Check number of samples! 92 93 return kTRUE; 93 94 } … … 133 134 // apply correction factor for patches 134 135 // 927/9, 80/9, 873/9, 863/9, 297/9, 868/9 135 136 /* 136 137 const int excl[] = { 8, 33, 95, 96, 97, 103, -1}; 137 138 for (const int *e=excl; *e>=0; e++) … … 151 152 *ptr *= 2.25; // 9/4 // 4 channels left 152 153 } 153 154 */ 154 155 155 156 Float_t max = 0; … … 157 158 158 159 const UInt_t nsum = buf.GetSize(); 159 for (Float_t *sum=buf.GetArray(); sum< sum+nsum; sum+=num)160 for (Float_t *sum=buf.GetArray(); sum<buf.GetArray()+nsum; sum+=num) 160 161 { 161 162 int idx = 0;
Note:
See TracChangeset
for help on using the changeset viewer.