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

Annotation of /PamCut/CollectionActions/Histo2DActions/CaloAxisChi2VsRigHistoAction/CaloAxisChi2VsRigHistoAction.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Tue Mar 9 18:01:08 2010 UTC (14 years, 10 months ago) by pam-fi
Branch: MAIN
CVS Tags: Root_V8, BeforeMergingFromV8_1
Branch point for: V8
Added to repository.

1 pam-fi 1.1 /*
2     * CaloAxisChi2VsRigHistoAction.cpp
3     *
4     * Created on: 2010-02-22
5     * Author: S. Ricciarini
6     */
7    
8     /*! @file CaloAxisChi2VsRigHistoAction.cpp The CaloAxisChi2VsRigHistoAction class implementation file. */
9    
10     #include "CaloAxisChi2VsRigHistoAction.h"
11    
12     CaloAxisChi2VsRigHistoAction::CaloAxisChi2VsRigHistoAction(const char *actionName, CaloAxis *axis, TString outFileBase,
13     TString mode, bool outRoot, bool outText, TString title) :
14     Histo2DAction<Int_t> (actionName, title, outFileBase, mode, outRoot, outText), _axis(axis) {
15     }
16    
17     void CaloAxisChi2VsRigHistoAction::OnGood(PamLevel2 *event) {
18    
19     Fill(1./event->GetTrack(0)->GetTrkTrack()->GetDeflection(), _axis->GetChi2());
20    
21     }

  ViewVC Help
Powered by ViewVC 1.1.23