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

Diff of /PamCut/TrkCuts/TrkDedxNucleiCut/TrkDedxNucleiCut.cpp

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

revision 1.2 by pam-fi, Thu Jul 8 14:00:26 2010 UTC revision 1.3 by pam-fi, Wed Mar 25 17:38:09 2015 UTC
# Line 11  Line 11 
11    
12  int TrkDedxNucleiCut::Check(PamLevel2 *event) {  int TrkDedxNucleiCut::Check(PamLevel2 *event) {
13    
14    TrkTrack *track = event->GetTrack(0)->GetTrkTrack();  //  TrkTrack *track = event->GetTrack(0)->GetTrkTrack();
15        if(event->GetNTracks(_trkAlg)==0)return 0;    
16        ExtTrack *track = event->GetTrack(0,_trkAlg)->GetExtTrack();
17    float R = track->GetRigidity();    float R = track->GetRigidity();
18    float dEdx = track->GetDEDX();    float dEdx = track->GetDEDX();
19    

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

  ViewVC Help
Powered by ViewVC 1.1.23