/[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.2 - (hide annotations) (download)
Thu Jul 8 14:00:16 2010 UTC (14 years, 5 months ago) by pam-fi
Branch: MAIN
CVS Tags: MergedFromV8_1, V9, HEAD
Changes since 1.1: +4 -0 lines
Merged from branch V8 (tag MergedToHEAD_1). Tag before the merge: BeforeMergingFromV8_1.

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 pam-fi 1.2 #ifndef NO_CALOAXIS
11    
12 pam-fi 1.1 #include "CaloAxisChi2VsRigHistoAction.h"
13    
14     CaloAxisChi2VsRigHistoAction::CaloAxisChi2VsRigHistoAction(const char *actionName, CaloAxis *axis, TString outFileBase,
15     TString mode, bool outRoot, bool outText, TString title) :
16     Histo2DAction<Int_t> (actionName, title, outFileBase, mode, outRoot, outText), _axis(axis) {
17     }
18    
19     void CaloAxisChi2VsRigHistoAction::OnGood(PamLevel2 *event) {
20    
21     Fill(1./event->GetTrack(0)->GetTrkTrack()->GetDeflection(), _axis->GetChi2());
22    
23     }
24 pam-fi 1.2
25     #endif /* NO_CALOAXIS */

  ViewVC Help
Powered by ViewVC 1.1.23