Changeset 13538 for fact/tools
- Timestamp:
- 05/03/12 11:55:56 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/rootmacros/PulseTemplates/FPulseOverlay.C
r13534 r13538 198 198 int verbosityLevel = 6, // different verbosity levels can be implemented here 199 199 int firstevent = 1, // Hast to be between 1 and infinity NOT 0!!!! 200 int nevents = 10,200 int nevents = -1, 201 201 int firstpixel = 0, 202 202 int npixel = -1, … … 214 214 ) 215 215 { 216 //---------------------------------------------------------------------------- 217 // Initialize Pixel 218 //---------------------------------------------------------------------------- 219 Pixel** pixel = new Pixel*[sampleSetSize]; 220 221 for (int i = 0 ; i < sampleSetSize; i++) 222 { 223 pixel[i] = NULL; 224 } 216 225 217 //---------------------------------------------------------------------------- 226 218 // Save-Root-File Settings … … 401 393 //----------------------------------------------------------------------------- 402 394 395 //---------------------------------------------------------------------------- 396 // Initialize Pixel 397 //---------------------------------------------------------------------------- 398 Pixel** pixel = new Pixel*[npixel-firstpixel]; 399 400 for (int i = 0 ; i < (npixel-firstpixel); i++) 401 { 402 pixel[i] = NULL; 403 } 403 404 //------------------------------------- 404 405 // Loop over Pixel Sets … … 425 426 // Get an Event --> consists of 1440 Pixel ...erm....data 426 427 cout << endl << "processing event " << ev << endl; 427 datafile->GetRow( ev );428 datafile->GetRow( ev - 1 ); 428 429 429 430 if (verbosityLevel == 1)
Note:
See TracChangeset
for help on using the changeset viewer.