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