72 |
// |
// |
73 |
} |
} |
74 |
|
|
75 |
|
CaloTrkVar* CaloPreSampler::GetCaloTrack(Int_t t){ |
76 |
|
this->Process(); |
77 |
|
if ( t < 0 ) return pcalo->GetCaloStoredTrack(t); |
78 |
|
if ( L2->GetTrack(t) ){ |
79 |
|
return pcalo->GetCaloStoredTrack(L2->GetTrack(t)->GetTrkTrack()->GetSeqNo()); |
80 |
|
}; |
81 |
|
return NULL; |
82 |
|
} |
83 |
|
|
84 |
void CaloPreSampler::SetNoWpreSampler(Int_t n){ |
void CaloPreSampler::SetNoWpreSampler(Int_t n){ |
85 |
if ( NC+n < 23 ){ |
if ( NC+n < 23 ){ |
86 |
N = n; |
N = n; |
176 |
Bool_t newentry = false; |
Bool_t newentry = false; |
177 |
// |
// |
178 |
if ( L2->IsORB() ){ |
if ( L2->IsORB() ){ |
179 |
|
if ( debug ) printf(" I am here, we have orbital infos \n"); |
180 |
if ( L2->GetOrbitalInfo()->pkt_num != PKT || L2->GetOrbitalInfo()->OBT != OBT || L2->GetOrbitalInfo()->absTime != atime || sel != ssel ){ |
if ( L2->GetOrbitalInfo()->pkt_num != PKT || L2->GetOrbitalInfo()->OBT != OBT || L2->GetOrbitalInfo()->absTime != atime || sel != ssel ){ |
181 |
newentry = true; |
newentry = true; |
182 |
OBT = L2->GetOrbitalInfo()->OBT; |
OBT = L2->GetOrbitalInfo()->OBT; |