/[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.3 by mocchiut, Fri Aug 10 09:55:42 2007 UTC revision 1.4 by mocchiut, Fri Aug 31 15:36:35 2007 UTC
# Line 36  CaloPreSampler::CaloPreSampler(PamLevel2 Line 36  CaloPreSampler::CaloPreSampler(PamLevel2
36    cont = false;    cont = false;
37    emulate18 = true;    emulate18 = true;
38    simulation = false;    simulation = false;
39      withtrk = true;
40      rigdefault = 50.;
41    //    //
42    Clear();    Clear();
43    //    //
# Line 131  void CaloPreSampler::Process(){ Line 133  void CaloPreSampler::Process(){
133    Int_t S11 = 0;    Int_t S11 = 0;
134    Float_t tmptrigty = -1.;    Float_t tmptrigty = -1.;
135    Bool_t trackanyway = true;    Bool_t trackanyway = true;
136    Float_t rigdefault = 50.;    //  Float_t rigdefault = 50.;
137    Bool_t hZn = true;    Bool_t hZn = true;
138    Bool_t withtrk = true;    //  Bool_t withtrk = true;
139    Bool_t st = true;    Bool_t st = true;
140    Int_t ntrkentry = 0;    Int_t ntrkentry = 0;
141    TrkLevel2 *trk = L2->GetTrkLevel2();    TrkLevel2 *trk = L2->GetTrkLevel2();
# Line 153  void CaloPreSampler::Process(){ Line 155  void CaloPreSampler::Process(){
155      if ( L2->GetCaloLevel2()->GetCaloTrkVar(mm)->trkseqno == -2 ) m2 = true;      if ( L2->GetCaloLevel2()->GetCaloTrkVar(mm)->trkseqno == -2 ) m2 = true;
156      if ( L2->GetCaloLevel2()->GetCaloTrkVar(mm)->trkseqno == -3 ) m3 = true;      if ( L2->GetCaloLevel2()->GetCaloTrkVar(mm)->trkseqno == -3 ) m3 = true;
157    };    };
158      if ( !withtrk ) m3 = true;
159    //    //
160    if ( debug ) printf(" Fill estrip matrix needed to calculate variables \n");    if ( debug ) printf(" Fill estrip matrix needed to calculate variables \n");
161    //    //

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.23