/[PAMELA software]/PamCut/CaloCuts/CaloQtotCut/CaloQtotCut.cpp
ViewVC logotype

Contents of /PamCut/CaloCuts/CaloQtotCut/CaloQtotCut.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Mar 18 14:37:55 2010 UTC (14 years, 8 months ago) by pam-fi
Branch: MAIN
CVS Tags: Root_V8, MergedToHEAD_1, nuclei_reproc, MergedFromV8_1, BeforeMergingFromV8_1, V9, HEAD
Branch point for: V8
CaloQtotCut added.

1 /*
2 * CaloQtotCut.cpp
3 * Created on: 10-mar-2010
4 * Author: S. Ricciarini
5 */
6
7 /*! @file CaloQtotCut.cpp The CaloQtotCut class implementation file */
8
9 #include "CaloQtotCut.h"
10
11 int CaloQtotCut::Check(PamLevel2 *event) {
12
13 Float_t qTot = event->GetCaloLevel2()->qtot;
14 if ( ! (_qTotMin < qTot && qTot < _qTotMax) ) {
15 return 1;
16 }
17
18 return CUTOK;
19
20 }

  ViewVC Help
Powered by ViewVC 1.1.23