/[PAMELA software]/PamCut/TrkCuts/TrkDedxHCut/TrkDedxHCut.cpp
ViewVC logotype

Diff of /PamCut/TrkCuts/TrkDedxHCut/TrkDedxHCut.cpp

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

revision 1.2 by pam-fi, Thu Mar 18 14:46:11 2010 UTC revision 1.3 by pam-fi, Wed Mar 25 17:38:08 2015 UTC
# Line 18  const Double_t TrkDedxHCut::_yLow[] = { Line 18  const Double_t TrkDedxHCut::_yLow[] = {
18    
19  Int_t TrkDedxHCut::Check(PamLevel2 *event) {  Int_t TrkDedxHCut::Check(PamLevel2 *event) {
20    
21    TrkTrack *trkTrack = event->GetTrack(0)->GetTrkTrack();  //  TrkTrack *trkTrack = event->GetTrack(0)->GetTrkTrack();
22        if(event->GetNTracks(_trkAlg)==0)return 0;    
23        ExtTrack *trkTrack = event->GetTrack(0,_trkAlg)->GetExtTrack();
24    
25    Float_t rigMod = trkTrack->GetRigidity();    Float_t rigMod = trkTrack->GetRigidity();
26    Float_t dedx = trkTrack->GetDEDX();    Float_t dedx = trkTrack->GetDEDX();

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

  ViewVC Help
Powered by ViewVC 1.1.23