BOSS 7.0.7
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/AlgFactory.h"
15#include "GaudiKernel/Algorithm.h"
16#include "GaudiKernel/NTuple.h"
17
18
19class EventAssemblyAlg:public Algorithm
20{
21 public:
22 EventAssemblyAlg(const std::string& name, ISvcLocator* pSvcLocator);
23 StatusCode initialize();
24 StatusCode execute();
25 StatusCode finalize();
26
27 private:
28 double thetaCut(double p,double nSigma,int parId);
29 double phiCut(double p,double nSigma,int parId);
30
31 bool myMsgFlag;
32 bool myActiveCutFlag;
33
34 double myEmcThetaCut;//Emc matching cut
35 double myEmcPhiCut;//Emc matching cut
36
37 double myEmcThetaNSigmaCut;
38 double myEmcPhiNSigmaCut;
39 int myParticleId;
40 int m_Output; //switch of output RecAssemble.root
41
42 NTuple::Tuple* myNTuple1;
43 NTuple::Item<double> myExted;
44 NTuple::Item<double> myMatched;
45 NTuple::Item<double> myEnergyMatched;
46};
47
48#endif
49
StatusCode execute()
StatusCode initialize()