/[PAMELA software]/DarthVader/OrbitalInfo/src/OrbitalInfoCore.cpp
ViewVC logotype

Diff of /DarthVader/OrbitalInfo/src/OrbitalInfoCore.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.76 by mocchiut, Thu Aug 28 13:43:41 2014 UTC revision 1.77 by mocchiutti, Tue Sep 16 19:47:34 2014 UTC
# Line 437  int OrbitalInfoCore(UInt_t run, TFile *f Line 437  int OrbitalInfoCore(UInt_t run, TFile *f
437        if ( verbose ) printf(" Nuclei tracking algorithm ToF branch not found :( !\n");        if ( verbose ) printf(" Nuclei tracking algorithm ToF branch not found :( !\n");
438        printf(" ok, this is not a problem (it depends on tracker settings) \n");        printf(" ok, this is not a problem (it depends on tracker settings) \n");
439        delete tcNucleiTof;        delete tcNucleiTof;
440          tcNucleiTof=NULL; // 10RED reprocessing bug  
441      }      }
442      // Nuclei tracking algorithm using calorimeter points      // Nuclei tracking algorithm using calorimeter points
443      tcExtNucleiTof =  new TClonesArray("ToFTrkVar");      tcExtNucleiTof =  new TClonesArray("ToFTrkVar");
# Line 448  int OrbitalInfoCore(UInt_t run, TFile *f Line 449  int OrbitalInfoCore(UInt_t run, TFile *f
449        if ( verbose ) printf(" Recovered nuclei tracking algorithm ToF branch not found :( !\n");        if ( verbose ) printf(" Recovered nuclei tracking algorithm ToF branch not found :( !\n");
450        printf(" ok, this is not a problem (it depends on tracker settings) \n");        printf(" ok, this is not a problem (it depends on tracker settings) \n");
451        delete tcExtNucleiTof;        delete tcExtNucleiTof;
452          tcExtNucleiTof=NULL; // 10RED reprocessing bug  
453      }      }
454      // Tracking algorithm using calorimeter points      // Tracking algorithm using calorimeter points
455      tcExtTof =  new TClonesArray("ToFTrkVar");      tcExtTof =  new TClonesArray("ToFTrkVar");
# Line 459  int OrbitalInfoCore(UInt_t run, TFile *f Line 461  int OrbitalInfoCore(UInt_t run, TFile *f
461        if ( verbose ) printf(" Recovered track algorithm ToF branch not found :( !\n");        if ( verbose ) printf(" Recovered track algorithm ToF branch not found :( !\n");
462        printf(" ok, this is not a problem (it depends on tracker settings) \n");        printf(" ok, this is not a problem (it depends on tracker settings) \n");
463        delete tcExtTof;        delete tcExtTof;
464          tcExtTof=NULL; // 10RED reprocessing bug  
465      }      }
466    
467      ttrke = (TTree*)file->Get("Tracker");      ttrke = (TTree*)file->Get("Tracker");
# Line 485  int OrbitalInfoCore(UInt_t run, TFile *f Line 488  int OrbitalInfoCore(UInt_t run, TFile *f
488        if ( verbose ) printf(" Nuclei tracking algorithm branch not found :( !\n");        if ( verbose ) printf(" Nuclei tracking algorithm branch not found :( !\n");
489        printf(" ok, this is not a problem (it depends on tracker settings) \n");        printf(" ok, this is not a problem (it depends on tracker settings) \n");
490        delete tcNucleiTrk;        delete tcNucleiTrk;
491          tcNucleiTrk=NULL; // 10RED reprocessing bug  
492      }      }
493      // Nuclei tracking algorithm using calorimeter points      // Nuclei tracking algorithm using calorimeter points
494      tcExtNucleiTrk =  new TClonesArray("ExtTrack");      tcExtNucleiTrk =  new TClonesArray("ExtTrack");
# Line 496  int OrbitalInfoCore(UInt_t run, TFile *f Line 500  int OrbitalInfoCore(UInt_t run, TFile *f
500        if ( verbose ) printf(" Recovered nuclei tracking algorithm branch not found :( !\n");        if ( verbose ) printf(" Recovered nuclei tracking algorithm branch not found :( !\n");
501        printf(" ok, this is not a problem (it depends on tracker settings) \n");        printf(" ok, this is not a problem (it depends on tracker settings) \n");
502        delete tcExtNucleiTrk;        delete tcExtNucleiTrk;
503          tcExtNucleiTrk=NULL; // 10RED reprocessing bug  
504      }      }
505      // Tracking algorithm using calorimeter points      // Tracking algorithm using calorimeter points
506      tcExtTrk =  new TClonesArray("ExtTrack");      tcExtTrk =  new TClonesArray("ExtTrack");
# Line 507  int OrbitalInfoCore(UInt_t run, TFile *f Line 512  int OrbitalInfoCore(UInt_t run, TFile *f
512        if ( verbose ) printf(" Recovered track algorithm branch not found :( !\n");        if ( verbose ) printf(" Recovered track algorithm branch not found :( !\n");
513        printf(" ok, this is not a problem (it depends on tracker settings) \n");        printf(" ok, this is not a problem (it depends on tracker settings) \n");
514        delete tcExtTrk;        delete tcExtTrk;
515          tcExtTrk=NULL; // 10RED reprocessing bug  
516      }      }
517    
518      if ( (hasNucleiTrk && !hasNucleiTof) || (!hasNucleiTrk && hasNucleiTof) ||      if ( (hasNucleiTrk && !hasNucleiTof) || (!hasNucleiTrk && hasNucleiTof) ||

Legend:
Removed from v.1.76  
changed lines
  Added in v.1.77

  ViewVC Help
Powered by ViewVC 1.1.23