]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSReconstructioner.cxx
All Methods of type void * xxxRef replaced by TObject ** xxxRef
[u/mrichter/AliRoot.git] / PHOS / AliPHOSReconstructioner.cxx
CommitLineData
d15a28e7 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15
b2a60966 16/* $Id$ */
17
d15a28e7 18//_________________________________________________________________________
a3dfe79c 19//*--
7acf6008 20//*-- Author: Gines Martinez & Yves Schutz (SUBATECH)
a4e98857 21//*-- Compleetely redisigned by Dmitri Peressounko (SUBATECH & RRC KI) March 2001
7acf6008 22/////////////////////////////////////////////////////////////////////////////////////
9a6ec61a 23// Wrapping class for reconstruction. Allows to produce reconstruction from
24// different steps: from previously produced hits,sdigits, etc. Each new reconstruction
a4e98857 25// flow (e.g. digits, made from them RecPoints, subsequently made TrackSegments,
26// subsequently made RecParticles) are distinguished by the title of created branches. One can
27// use this title as a comment, see use case below.
28// Thanks to getters, one can set
29// parameters to reconstruction briks. The full set of parameters is saved in the
30// corresponding branch: e.g. parameters of clusterizer are stored in branch
31// TreeR::AliPHOSClusterizer with the same title as the branch containing the RecPoints.
32// TTree does not support overwriting, therefore one can not produce several
9a6ec61a 33// branches with the same names and titles - use different titles.
34//
a4e98857 35// Use case:
7acf6008 36//
37// root [0] AliPHOSReconstructioner * r = new AliPHOSReconstructioner("galice.root")
38// // Set the header file
39// root [1] r->ExecuteTask()
a4e98857 40// // Make full chain of reconstruction
7acf6008 41//
42// // One can specify the title for each branch
43// root [2] r->SetBranchFileName("RecPoints","RecPoints1") ;
7acf6008 44//
9a6ec61a 45// // One can change parameters of reconstruction algorithms
46// root [3] r->GetClusterizer()->SetEmcLocalMaxCut(0.02)
47//
48// // One can specify the starting point of the reconstruction and title of all
49// // branches produced in this pass
50// root [4] r->StartFrom("AliPHOSClusterizer","Local max cut 0.02")
51// // means that will use already generated Digits and produce only RecPoints,
52// // TS and RecParticles
7acf6008 53//
54// // And finally one can call ExecuteTask() with the following options
9a6ec61a 55// root [5] r->ExecuteTask("debug all timing")
7acf6008 56// // deb - prints the numbers of produced SDigits, Digits etc.
57// // deb all - prints in addition list of made SDigits, digits etc.
58// // timing - prints benchmarking results
9a6ec61a 59///////////////////////////////////////////////////////////////////////////////////////////////////
d15a28e7 60
61// --- ROOT system ---
62
63#include "TClonesArray.h"
7acf6008 64#include "TROOT.h"
65#include "TTree.h"
2bd5457f 66#include "TFile.h"
d15a28e7 67
68// --- Standard library ---
7acf6008 69#include <iostream.h>
364de5c6 70
d15a28e7 71// --- AliRoot header files ---
7acf6008 72#include "AliRun.h"
d15a28e7 73#include "AliPHOSReconstructioner.h"
7acf6008 74#include "AliPHOSClusterizerv1.h"
75#include "AliPHOSDigitizer.h"
76#include "AliPHOSSDigitizer.h"
77#include "AliPHOSTrackSegmentMakerv1.h"
78#include "AliPHOSPIDv1.h"
9ec91567 79#include "AliPHOSFastRecParticle.h"
0b06c60d 80#include "AliPHOSCpvRecPoint.h"
d15a28e7 81
82ClassImp(AliPHOSReconstructioner)
83
d15a28e7 84//____________________________________________________________________________
7acf6008 85 AliPHOSReconstructioner::AliPHOSReconstructioner():TTask("AliPHOSReconstructioner","")
d15a28e7 86{
b2a60966 87 // ctor
7acf6008 88 fDigitizer = 0 ;
89 fClusterizer = 0 ;
90 fTSMaker = 0 ;
91 fPID = 0 ;
92 fSDigitizer = 0 ;
9c88dd1b 93 fHeaderFileName = "galice.root" ;
d15a28e7 94
7acf6008 95 fIsInitialized = kFALSE ;
d15a28e7 96
6ad0bfa0 97}
98
6ad0bfa0 99//____________________________________________________________________________
108bc8df 100AliPHOSReconstructioner::AliPHOSReconstructioner(const char* headerFile,const char * branchName):
101TTask("AliPHOSReconstructioner","")
d15a28e7 102{
7acf6008 103 // ctor
104
105 fHeaderFileName = headerFile ;
106
108bc8df 107 fSDigitsBranch= branchName;
7acf6008 108 fSDigitizer = new AliPHOSSDigitizer(fHeaderFileName.Data(),fSDigitsBranch.Data()) ;
109 Add(fSDigitizer) ;
110
108bc8df 111 fDigitsBranch=branchName ;
7acf6008 112 fDigitizer = new AliPHOSDigitizer(fHeaderFileName.Data(),fDigitsBranch.Data()) ;
113 Add(fDigitizer) ;
114
115
108bc8df 116 fRecPointBranch=branchName ;
7acf6008 117 fClusterizer = new AliPHOSClusterizerv1(fHeaderFileName.Data(),fRecPointBranch.Data()) ;
118 Add(fClusterizer) ;
2131115b 119
b73f246d 120
108bc8df 121 fTSBranch=branchName ;
7acf6008 122 fTSMaker = new AliPHOSTrackSegmentMakerv1(fHeaderFileName.Data(),fTSBranch.Data()) ;
123 Add(fTSMaker) ;
124
125
108bc8df 126 fRecPartBranch=branchName ;
7acf6008 127 fPID = new AliPHOSPIDv1(fHeaderFileName.Data(),fRecPartBranch.Data()) ;
128 Add(fPID) ;
129
130 fIsInitialized = kTRUE ;
131
132}
133//____________________________________________________________________________
a4e98857 134void AliPHOSReconstructioner::Exec(Option_t *option)
135{
7acf6008 136 //chesk, if the names of branches, which should be made conicide with already
137 //existing
138 if(!fIsInitialized)
139 Init() ;
140
141 gAlice->GetEvent(0) ;
142
143 if(fSDigitizer->IsActive()&& gAlice->TreeS()){ //Will produce SDigits
144
145 TBranch * sdigitsBranch = 0;
146 TBranch * sdigitizerBranch = 0;
147
148 TObjArray * branches = gAlice->TreeS()->GetListOfBranches() ;
149 Int_t ibranch;
150 Bool_t phosNotFound = kTRUE ;
151 Bool_t sdigitizerNotFound = kTRUE ;
152
153 for(ibranch = 0;ibranch <branches->GetEntries();ibranch++){
154 if(phosNotFound){
155 sdigitsBranch=(TBranch *) branches->At(ibranch) ;
156 if(( strcmp("PHOS",sdigitsBranch->GetName())==0 ) &&
157 (fSDigitsBranch.CompareTo(sdigitsBranch->GetTitle())== 0 ))
158 phosNotFound = kFALSE ;
159 }
160 if(sdigitizerNotFound){
161 sdigitizerBranch = (TBranch *) branches->At(ibranch) ;
162 if(( strcmp(sdigitizerBranch->GetName(),"AliPHOSSDigitizer") == 0) &&
163 (fSDigitsBranch.CompareTo(sdigitizerBranch->GetTitle())== 0 ) )
164 sdigitizerNotFound = kFALSE ;
165 }
166 }
167
168 if(!(sdigitizerNotFound && phosNotFound)){
169 cout << "AliPHOSReconstructioner error: "<< endl ;
170 cout << " Branches ''PHOS'' or ''AliPHOSSDigitizer'' with title ``" << fSDigitsBranch.Data() << "''" << endl ;
171 cout << " already exist in TreeS. ROOT does not allow updating/overwriting." << endl ;
172 cout << " Specify another title for branches or use ''StartFrom()'' method" << endl ;
173
174 //mark all tasks as inactive
175 TIter next(fTasks);
176 TTask *task;
177 while((task=(TTask*)next()))
178 task->SetActive(kFALSE) ;
179
180 return ;
181 }
2131115b 182 }
59cd4405 183
7acf6008 184 if(fDigitizer->IsActive() && gAlice->TreeD()){ //Will produce Digits
185 TBranch * digitsBranch = 0;
186 TBranch * digitizerBranch = 0;
187
188 TObjArray * branches = gAlice->TreeD()->GetListOfBranches() ;
189 Int_t ibranch;
190 Bool_t phosNotFound = kTRUE ;
191 Bool_t digitizerNotFound = kTRUE ;
192
193 for(ibranch = 0;ibranch <branches->GetEntries();ibranch++){
194 if(phosNotFound){
195 digitsBranch=(TBranch *) branches->At(ibranch) ;
196 if(( strcmp("PHOS",digitsBranch->GetName())==0 ) &&
197 (fDigitsBranch.CompareTo(digitsBranch->GetTitle())== 0 ))
198 phosNotFound = kFALSE ;
199 }
200 if(digitizerNotFound){
201 digitizerBranch = (TBranch *) branches->At(ibranch) ;
202 if(( strcmp(digitizerBranch->GetName(),"AliPHOSDigitizer") == 0) &&
203 (fDigitsBranch.CompareTo(digitizerBranch->GetTitle())== 0 ) )
204 digitizerNotFound = kFALSE ;
205 }
364de5c6 206 }
2aad621e 207
7acf6008 208 if(!(digitizerNotFound && phosNotFound)){
209 cout << "AliPHOSReconstructioner error: "<< endl ;
210 cout << " Branches ''PHOS'' or ''AliPHOSDigitizer'' with title ``" << fDigitsBranch.Data() << "''" << endl ;
211 cout << " already exist in TreeD. ROOT does not allow updating/overwriting." << endl ;
212 cout << " Specify another title for branches or use ''StartFrom()'' method" << endl ;
213
214 //mark all tasks as inactive
215 TIter next(fTasks);
216 TTask *task;
217 while((task=(TTask*)next()))
218 task->SetActive(kFALSE) ;
219
220 return ;
221 }
2aad621e 222 }
364de5c6 223
7acf6008 224 if(fClusterizer->IsActive() && gAlice->TreeR()){ //Will produce RecPoints
225 TBranch * emcBranch = 0;
226 TBranch * cpvBranch = 0;
227 TBranch * clusterizerBranch = 0;
228
229 TObjArray * branches = gAlice->TreeR()->GetListOfBranches() ;
230 Int_t ibranch;
231 Bool_t emcNotFound = kTRUE ;
232 Bool_t cpvNotFound = kTRUE ;
233 Bool_t clusterizerNotFound = kTRUE ;
234
235 for(ibranch = 0;ibranch <branches->GetEntries();ibranch++){
236
237 if(emcNotFound){
238 emcBranch=(TBranch *) branches->At(ibranch) ;
239 if(fRecPointBranch.CompareTo(emcBranch->GetTitle())==0 )
240 if( strcmp(emcBranch->GetName(),"PHOSEmcRP") == 0)
241 emcNotFound = kFALSE ;
242 }
243 if(cpvNotFound){
244 cpvBranch=(TBranch *) branches->At(ibranch) ;
245 if(fRecPointBranch.CompareTo(cpvBranch->GetTitle())==0 )
246 if( strcmp(cpvBranch->GetName(),"PHOSCpvRP") == 0)
247 cpvNotFound = kFALSE ;
248 }
249 if(clusterizerNotFound){
250 clusterizerBranch = (TBranch *) branches->At(ibranch) ;
251 if( fRecPointBranch.CompareTo(clusterizerBranch->GetTitle()) == 0)
252 if( strcmp(clusterizerBranch->GetName(),"AliPHOSClusterizer") == 0)
253 clusterizerNotFound = kFALSE ;
254 }
255 }
6ad0bfa0 256
7acf6008 257 if(!(clusterizerNotFound && emcNotFound && cpvNotFound)){
258 cout << "AliPHOSReconstructioner error: "<< endl ;
259 cout << " Branches ''PHOSEmcRP'', ''PHOSCpvRP'' or ''AliPHOSClusterizer'' with title ``"
260 << fRecPointBranch.Data() << "''" << endl ;
261 cout << " already exist in TreeR. ROOT does not allow updating/overwriting." << endl ;
262 cout << " Specify another title for branches or use ''StartFrom()'' method" << endl ;
263
264 //mark all tasks as inactive
265 TIter next(fTasks);
266 TTask *task;
267 while((task=(TTask*)next()))
268 task->SetActive(kFALSE) ;
269 return ;
270 }
031f0861 271 }
2aad621e 272
7acf6008 273 if(fTSMaker->IsActive() && gAlice->TreeR()){ //Produce TrackSegments
274
275 TBranch * tsMakerBranch = 0;
276 TBranch * tsBranch = 0;
277
278 TObjArray * branches = gAlice->TreeR()->GetListOfBranches() ;
279 Int_t ibranch;
280 Bool_t tsMakerNotFound = kTRUE ;
281 Bool_t tsNotFound = kTRUE ;
282
283 for(ibranch = 0;(ibranch <branches->GetEntries())&&(tsMakerNotFound||tsNotFound);ibranch++){
284 if(tsMakerNotFound){
285 tsMakerBranch=(TBranch *) branches->At(ibranch) ;
286 if( fTSBranch.CompareTo(tsMakerBranch->GetTitle())==0 )
287 if( strcmp(tsMakerBranch->GetName(),"AliPHOSTrackSegmentMaker") == 0)
288 tsMakerNotFound = kFALSE ;
289 }
290 if(tsNotFound){
291 tsBranch=(TBranch *) branches->At(ibranch) ;
292 if( fTSBranch.CompareTo(tsBranch->GetTitle())==0 )
293 if( strcmp(tsBranch->GetName(),"PHOSTS") == 0)
294 tsNotFound = kFALSE ;
295 }
51926850 296 }
7acf6008 297
298 if(!(tsMakerNotFound &&tsNotFound) ){
299 cout << "AliPHOSReconstructioner error: "<< endl ;
300 cout << " Branches ''PHOSTS'' or ''AliPHOSTrackSegmentMaker'' with title ``"
301 << fTSBranch.Data() << "''" << endl ;
302 cout << " already exist in TreeR. ROOT does not allow updating/overwriting." << endl ;
303 cout << " Specify another title for branches or use ''StartFrom()'' method" << endl ;
304
305 //mark all tasks as inactive
306 TIter next(fTasks);
307 TTask *task;
308 while((task=(TTask*)next()))
309 task->SetActive(kFALSE) ;
310 return ;
2aad621e 311
51926850 312 }
7acf6008 313
83974468 314 }
7acf6008 315
316 if(fPID->IsActive() && gAlice->TreeR()){ //Produce RecParticles
317 TBranch * pidBranch = 0;
318 TBranch * rpBranch = 0;
2aad621e 319
7acf6008 320 TObjArray * branches = gAlice->TreeR()->GetListOfBranches() ;
321 Int_t ibranch;
322 Bool_t pidNotFound = kTRUE ;
323 Bool_t rpNotFound = kTRUE ;
324
325 for(ibranch = 0;(ibranch <branches->GetEntries()) && pidNotFound && rpNotFound ;ibranch++){
326 if(pidNotFound){
327 pidBranch=(TBranch *) branches->At(ibranch) ;
328 if( (strcmp(fRecPartBranch,pidBranch->GetTitle())==0 ) &&
329 (strcmp(pidBranch->GetName(),"AliPHOSPID") == 0) )
330 pidNotFound = kFALSE ;
331 }
332 if(rpNotFound){
333 rpBranch=(TBranch *) branches->At(ibranch) ;
334 if( (strcmp(fRecPartBranch,rpBranch->GetTitle())==0 ) &&
335 (strcmp(rpBranch->GetName(),"PHOSRP") == 0) )
336 rpNotFound = kFALSE ;
337 }
338 }
339
340 if(!pidNotFound || !rpNotFound ){
341 cout << "AliPHOSReconstructioner error: "<< endl ;
342 cout << " Branches ''PHOSRP'' or ''AliPHOSPID'' with title ``"
343 << fRecPartBranch.Data() << "''" << endl ;
344 cout << " already exist in TreeR. ROOT does not allow updating/overwriting." << endl ;
345 cout << " Specify another title for branches." << endl ;
346
347 //mark all tasks as inactive
348 TIter next(fTasks);
349 TTask *task;
350 while((task=(TTask*)next()))
351 task->SetActive(kFALSE) ;
352 return ;
2aad621e 353 }
354
031f0861 355 }
7acf6008 356}
357//____________________________________________________________________________
358 void AliPHOSReconstructioner::Init()
359{
a4e98857 360 // initiliaze Reconstructioner if necessary: we can not do this in default constructor
7acf6008 361
362 if(!fIsInitialized){
363 // Initialisation
364
81b0fcd1 365 fSDigitsBranch="Default" ;
7acf6008 366 fSDigitizer = new AliPHOSSDigitizer(fHeaderFileName.Data(),fSDigitsBranch.Data()) ;
367 Add(fSDigitizer) ;
368
81b0fcd1 369 fDigitsBranch="Default" ;
7acf6008 370 fDigitizer = new AliPHOSDigitizer(fHeaderFileName.Data(),fDigitsBranch.Data()) ;
371 Add(fDigitizer) ;
372
81b0fcd1 373 fRecPointBranch="Default" ;
7acf6008 374 fClusterizer = new AliPHOSClusterizerv1(fHeaderFileName.Data(),fRecPointBranch.Data()) ;
375 Add(fClusterizer) ;
376
81b0fcd1 377 fTSBranch="Default" ;
7acf6008 378 fTSMaker = new AliPHOSTrackSegmentMakerv1(fHeaderFileName.Data(),fTSBranch.Data()) ;
379 Add(fTSMaker) ;
380
381
81b0fcd1 382 fRecPartBranch="Default" ;
7acf6008 383 fPID = new AliPHOSPIDv1(fHeaderFileName.Data(),fRecPartBranch.Data()) ;
384 Add(fPID) ;
385
386 fIsInitialized = kTRUE ;
387 }
388}
389//____________________________________________________________________________
390AliPHOSReconstructioner::~AliPHOSReconstructioner()
391{
baef0810 392 // Delete data members if any
393
81b0fcd1 394// if(fSDigitizer)
395// delete fSDigitizer ;
83974468 396
81b0fcd1 397// if(fDigitizer)
398// delete fDigitizer ;
7acf6008 399
81b0fcd1 400// if(fClusterizer)
401// delete fClusterizer ;
7acf6008 402
81b0fcd1 403// if(fTSMaker)
404// delete fTSMaker ;
7acf6008 405
81b0fcd1 406// if(fPID)
407// delete fPID ;
2bd5457f 408
409// TFile * file = (TFile*) gROOT->GetFile(fHeaderFileName.Data()) ;
410
411// if(file != 0) {
412// file->Close();
413// delete file;
414// printf("File %s is closed\n",fHeaderFileName.Data());
415// }
416
7acf6008 417}
418//____________________________________________________________________________
baef0810 419void AliPHOSReconstructioner::SetBranchTitle(const char* branch, const char * title)
420{
7acf6008 421 //Diverge correcpoinding branch to the file "title"
422
423 if(strcmp(branch,"SDigits") == 0){
424 fSDigitizer->SetSDigitsBranch(title) ;
425 fDigitizer->SetSDigitsBranch(title) ;
426 fSDigitsBranch = title ;
427 return ;
2aad621e 428 }
7acf6008 429
430 if(strcmp(branch,"Digits") == 0){
7b7c1533 431 fDigitizer->SetName(title) ;
432 fClusterizer->SetName(title) ;
7acf6008 433 fDigitsBranch = title ;
434 return ;
435 }
436
437 if(strcmp(branch,"RecPoints") == 0){
438 fClusterizer->SetRecPointsBranch(title) ;
439 fTSMaker->SetRecPointsBranch(title) ;
440 fRecPointBranch = title ;
441 return ;
442 }
443
444 if(strcmp(branch,"TrackSegments") == 0){
445 fTSMaker->SetTrackSegmentsBranch(title) ;
446 fPID->SetTrackSegmentsBranch(title) ;
447 fTSBranch = title ;
448 return ;
449 }
450
451 if(strcmp(branch,"RecParticles") == 0){
452 fPID->SetRecParticlesBranch(title) ;
453 fRecPartBranch = title ;
454 return ;
455 }
456
457 cout << "There is no branch " << branch << "!"<< endl ;
458 cout << "Available branches `SDigits', `Digits', `RecPoints', `TrackSegments' and `RecParticles' " << endl ;
459
460}
461//____________________________________________________________________________
a4e98857 462void AliPHOSReconstructioner::StartFrom(char * module,char* title)
463{
9a6ec61a 464 // in the next pass of reconstruction (call ExecuteTask()) reconstruction will
a4e98857 465 // start from the module "module", and in the case of non zero title all
466 // pruduced branches will have title "title". The following "modules" are recognized
9a6ec61a 467 // "SD" - AliPHOSSDigitizer,
468 // "D" - AliPHOSDigitizer
469 // "C" - AliPHOSClusterizer
470 // "TS" - AliPHOSTrackSegmentMaker
471 // "RP" - AliPHOSPID
7acf6008 472
473 if(!fIsInitialized)
9a6ec61a 474 Init() ;
475
476 char * moduleName = new char[30];
477 if(strstr(module,"SD"))
478 sprintf(moduleName,"AliPHOSSDigitizer") ;
479 else
480 if(strstr(module,"D") )
481 sprintf(moduleName,"AliPHOSDigitizer") ;
482 else
483 if(strstr(module,"C") || strstr(module,"RecPoint") )
484 sprintf(moduleName,"AliPHOSClusterizer") ;
485 else
486 if(strstr(module,"TS") || strstr(module,"Track") )
487 sprintf(moduleName,"AliPHOSTrackSegmentMaker") ;
488 else
489 if(strstr(module,"PID") || strstr(module,"Particle") || strstr(module,"RP") )
490 sprintf(moduleName,"AliPHOSPID") ;
491 else{
492 cout << "Do not know such a module / Rec Object " << endl;
493 return ;
494 }
495
7acf6008 496 TIter next(fTasks);
497 TTask *task;
498 Bool_t active = kFALSE ;
499 while((task=(TTask*)next())){
9a6ec61a 500 if (strcmp(moduleName,task->GetName())==0)
7acf6008 501 active = kTRUE;
502 task->SetActive(active) ;
9a6ec61a 503 if(active && title){ // set title to branches
504 switch(strlen(task->GetName()) ) {
505 case 17: // "AliPHOSSDigitizer"
506 fSDigitizer->SetSDigitsBranch(title) ;
507 fDigitizer->SetSDigitsBranch(title) ;
508 fSDigitsBranch = title ;
509 break ;
510 case 16: //"AliPHOSDigitizer"
7b7c1533 511 fDigitizer->SetName(title) ;
512 fClusterizer->SetName(title) ;
9a6ec61a 513 fDigitsBranch = title ;
514 break ;
515 case 18: //"AliPHOSClusterizer"
516 fClusterizer->SetRecPointsBranch(title) ;
517 fTSMaker->SetRecPointsBranch(title) ;
518 fRecPointBranch = title ;
519 break ;
520 case 24: //"AliPHOSTrackSegmentMaker"
521 fTSMaker->SetTrackSegmentsBranch(title) ;
522 fPID->SetTrackSegmentsBranch(title) ;
523 fTSBranch = title ;
524 break ;
525 case 10: // "AliPHOSPID"
526 fPID->SetRecParticlesBranch(title) ;
527 fRecPartBranch = title ;
528 break ;
529 }
530
531 }
7acf6008 532 }
9a6ec61a 533
534 delete moduleName;
7acf6008 535}
7acf6008 536//____________________________________________________________________________
baef0810 537
538void AliPHOSReconstructioner::Print(Option_t * option)const {
539 // Print reconstructioner data
540
7acf6008 541 cout << "-----------------AliPHOSReconstructioner---------------" << endl ;
542 cout << " Reconstruction of the header file " <<fHeaderFileName.Data() << endl ;
543 cout << " with the following modules: " << endl ;
544
545 if(fSDigitizer->IsActive()){
546 cout << " (+) " << fSDigitizer->GetName() << " to branch : " << fSDigitsBranch.Data() << endl ;
547 cout << endl ;
548 }
549 if(fDigitizer->IsActive()){
550 cout << " (+) " << fDigitizer->GetName() << " to branch : " << fDigitsBranch.Data() << endl ;
551 cout << endl ;
552 }
553
554 if(fClusterizer->IsActive()){
555 cout << " (+) " <<fClusterizer->GetName() << " to branch : " <<fRecPointBranch.Data() << endl ;
556 cout << endl ;
557 }
558
559 if(fTSMaker->IsActive()){
560 cout << " (+) " << fTSMaker->GetName() << " to branch : " << fTSBranch.Data() << endl ;
561 cout << endl ;
562 }
563
564
565 if(fPID->IsActive()){
566 cout << " (+) " << fPID->GetName() << " to branch : " <<fRecPartBranch.Data() << endl ;
567 cout << endl ;
568 }
569
2aad621e 570
51926850 571}