/[PAMELA software]/PamCut/CollectionActions/Histo2DActions/TofDedxVsRigHistoAction/TofDedxVsRigHistoAction.cpp |
Parent Directory | Revision Log | Patch
revision 1.1 by pam-fi, Thu Jul 28 13:27:46 2011 UTC | revision 1.1.2.2 by pam-fi, Wed Nov 30 17:01:32 2011 UTC | |
---|---|---|
# | Line 127 void TofDedxVsRigHistoAction::OnGood(Pam | Line 127 void TofDedxVsRigHistoAction::OnGood(Pam |
127 | else | else |
128 | badLayers++; | badLayers++; |
129 | } | } |
130 | if (badLayers != _nLayers) { | if (badLayers == 0) { |
131 | dEdx /= _nLayers - badLayers; | dEdx /= _nLayers; |
132 | Fill(event->GetTrack(0)->GetTrkTrack()->GetRigidity(), dEdx); | Fill(event->GetTrack(0)->GetTrkTrack()->GetRigidity(), dEdx); |
133 | } | } |
134 | else | else |
|
ViewVC Help | |
Powered by ViewVC 1.1.23 |