/[PAMELA software]/calo/flight/CaloPreSampler/src/CaloPreSampler.cpp
ViewVC logotype

Diff of /calo/flight/CaloPreSampler/src/CaloPreSampler.cpp

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

revision 1.18 by mocchiut, Thu Mar 18 19:50:10 2010 UTC revision 1.19 by mocchiut, Thu Jan 23 11:23:54 2014 UTC
# Line 210  void CaloPreSampler::Process(){ Line 210  void CaloPreSampler::Process(){
210    Bool_t st = true;    Bool_t st = true;
211    Int_t ntrkentry = 0;    Int_t ntrkentry = 0;
212    TrkLevel2 *trk = L2->GetTrkLevel2();    TrkLevel2 *trk = L2->GetTrkLevel2();
213    Bool_t filled = false;    //  Bool_t filled = false;
214    //    //
215    if ( debug ) printf(" Processing event at OBT %u PKT %u time %u \n",OBT,PKT,atime);    if ( debug ) printf(" Processing event at OBT %u PKT %u time %u \n",OBT,PKT,atime);
216    //    //
# Line 367  void CaloPreSampler::Process(){ Line 367  void CaloPreSampler::Process(){
367    //    //
368    ntrkentry = 0;    ntrkentry = 0;
369    //    //
370    filled = false;    //  filled = false;
371    //    //
372    // Run over tracks (tracker or calorimeter )    // Run over tracks (tracker or calorimeter )
373    //    //
# Line 404  void CaloPreSampler::Process(){ Line 404  void CaloPreSampler::Process(){
404    
405    
406        ntrkentry++;              ntrkentry++;      
407        filled = true;        //      filled = true;
408        //        //
409      }; // loop on all the tracks      }; // loop on all the tracks
410    };    };
# Line 449  void CaloPreSampler::Process(){ Line 449  void CaloPreSampler::Process(){
449        if ( debug ) printf("-3 a Call FillTrkVar() \n");        if ( debug ) printf("-3 a Call FillTrkVar() \n");
450        event->FillTrkVar(pcalo,ntrkentry);        event->FillTrkVar(pcalo,ntrkentry);
451        ntrkentry++;        ntrkentry++;
452        filled = true;        //      filled = true;
453        //        //
454      } else {      } else {
455        if ( debug ) printf(" Selftrigger: problems with event \n");        if ( debug ) printf(" Selftrigger: problems with event \n");
# Line 496  void CaloPreSampler::Process(){ Line 496  void CaloPreSampler::Process(){
496        if ( debug ) printf("-2 a Call FillTrkVar() \n");        if ( debug ) printf("-2 a Call FillTrkVar() \n");
497        event->FillTrkVar(pcalo,ntrkentry);        event->FillTrkVar(pcalo,ntrkentry);
498        ntrkentry++;        ntrkentry++;
499        filled = true;        //      filled = true;
500        //        //
501      } else {      } else {
502        if ( debug ) printf(" Selftrigger: problems with event \n");        if ( debug ) printf(" Selftrigger: problems with event \n");
# Line 542  void CaloPreSampler::Process(){ Line 542  void CaloPreSampler::Process(){
542        if ( debug ) printf("-1 a Call FillTrkVar() \n");        if ( debug ) printf("-1 a Call FillTrkVar() \n");
543        event->FillTrkVar(pcalo,ntrkentry);        event->FillTrkVar(pcalo,ntrkentry);
544        ntrkentry++;        ntrkentry++;
545        filled = true;        //      filled = true;
546        //        //
547      } else {      } else {
548        if ( debug ) printf(" Selftrigger: problems with event \n");        if ( debug ) printf(" Selftrigger: problems with event \n");

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.23