BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtSelExample.h
Go to the documentation of this file.
1#ifndef Physics_ControlSample_EvtSelExample_H
2#define Physics_ControlSample_EvtSelExample_H
3
4#include "GaudiKernel/Algorithm.h"
5#include "GaudiKernel/NTuple.h"
6
7/**********************************************************************/
8/** <project name> -
9 ** <description> Head file for event selection program
10 **
11 ** \file
12 **
13 ** \author Ji Xiaobin
14 **
15 ** \version $Id: EvtSelExample.h,v 1.3 2022/01/27 05:10:31 maqm Exp $
16 **
17 **
18 *************************************************************************/
19
20class EvtSelExample : public Algorithm {
21
22public:
23 EvtSelExample( const std::string& name, ISvcLocator* pSvcLocator );
24 StatusCode initialize();
25 StatusCode execute();
26 StatusCode finalize();
27
28private:
29 double m_vr0cut;
30 double m_vz0cut;
31 double m_vr1cut;
32 double m_vz1cut;
33 double m_cthcut;
34
35 double m_energyThreshold;
36 double m_gammaAngCut;
37
38 NTuple::Tuple* m_tuple; // rhopi 4C
39 NTuple::Item<long> m_runNo;
40 NTuple::Item<long> m_event;
41};
42
43#endif
StatusCode initialize()
StatusCode finalize()
StatusCode execute()
EvtSelExample(const std::string &name, ISvcLocator *pSvcLocator)