/[PAMELA software]/PamCut/CollectionActions/Histo2DActions/TofDedxVsBetaHistoAction/TofDedxVsBetaHistoAction.cpp
ViewVC logotype

Diff of /PamCut/CollectionActions/Histo2DActions/TofDedxVsBetaHistoAction/TofDedxVsBetaHistoAction.cpp

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

revision 1.1.2.1 by pam-fi, Wed Dec 21 18:24:26 2011 UTC revision 1.3 by pam-fi, Thu Aug 12 15:14:31 2010 UTC
# Line 11  Line 11 
11    
12  TofDedxVsBetaHistoAction::TofDedxVsBetaHistoAction(const char *actionName, unsigned int layers, bool standAlone,  TofDedxVsBetaHistoAction::TofDedxVsBetaHistoAction(const char *actionName, unsigned int layers, bool standAlone,
13      TString outFileBase, TString mode, bool outRoot, bool outText, TString title) :      TString outFileBase, TString mode, bool outRoot, bool outText, TString title) :
14      Histo2DAction<Int_t>(actionName, title, outFileBase, mode, outRoot, outText), _layers(layers), _nLayers(0), _badEvents(    Histo2DAction<Int_t> (actionName, title, outFileBase, mode, outRoot, outText), _layers(layers), _nLayers(0),
15          0), _standAlone(standAlone) {        _badEvents(0), _standAlone(standAlone) {
16    
17    bool buildTitle = false;    bool buildTitle = false;
18    if (title == "") {    if (title == "") {
# Line 131  void TofDedxVsBetaHistoAction::OnGood(Pa Line 131  void TofDedxVsBetaHistoAction::OnGood(Pa
131        badLayers++;        badLayers++;
132    }    }
133    if (badLayers == 0) {    if (badLayers == 0) {
134      dEdx /= _nLayers - badLayers;      dEdx /= _nLayers;
135      Fill(event->GetToFLevel2()->GetToFTrkVar(trkSeqNo)->beta[12], dEdx);      Fill(event->GetToFLevel2()->GetToFTrkVar(trkSeqNo)->beta[12], dEdx);
136    }    }
137    else    else

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

  ViewVC Help
Powered by ViewVC 1.1.23