BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EventAssemblyAlg.h
Go to the documentation of this file.
1//
2// File: RecEventAssemblyAlg.h
3// Description: Assemble Rec Events.
4// Author: Wang LiangLiang
5// History: 2006/3/7 created by Wang Liangliang
6//
7
8// Change EventAssemblyAlg.h
9// by hekl 2008.03.19
10
11#ifndef Event_EventAssemblyAlg_H
12#define Event_EventAssemblyAlg_H
13
14#include "GaudiKernel/Algorithm.h"
15#include "GaudiKernel/NTuple.h"
16
17class EventAssemblyAlg : public Algorithm {
18public:
19 EventAssemblyAlg( const std::string& name, ISvcLocator* pSvcLocator );
20 StatusCode initialize();
21 StatusCode execute();
22 StatusCode finalize();
23
24private:
25 double thetaCut( double p, double nSigma, int parId );
26 double phiCut( double p, double nSigma, int parId );
27
28 bool myMsgFlag;
29 bool myActiveCutFlag;
30
31 double myEmcThetaCut; // Emc matching cut
32 double myEmcPhiCut; // Emc matching cut
33
34 double myEmcThetaNSigmaCut;
35 double myEmcPhiNSigmaCut;
36 int myParticleId;
37 int m_Output; // switch of output RecAssemble.root
38
39 NTuple::Tuple* myNTuple1;
40 NTuple::Item<double> myExted;
41 NTuple::Item<double> myMatched;
42 NTuple::Item<double> myEnergyMatched;
43};
44
45#endif
EventAssemblyAlg(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode initialize()