9#include "GaudiKernel/Algorithm.h"
10#include "GaudiKernel/PropertyMgr.h"
12#include "EmcRecEventModel/RecEmcEventModel.h"
13#include "EmcRec/EmcRecDigit2Hit.h"
14#include "EmcRec/EmcRecHit2Cluster.h"
15#include "EmcRec/EmcRecCluster2ShowerAbs.h"
18#include "GaudiKernel/NTuple.h"
22class EmcRec:
public Algorithm {
24 EmcRec(
const std::string& name, ISvcLocator* pSvcLocator);
43 PropertyMgr m_propMgr;
52 std::vector<std::string> fPositionMode;
56 NTuple::Tuple* m_tuple;
58 NTuple::Item<long> pid;
59 NTuple::Item<float> tp;
60 NTuple::Item<float> ttheta;
61 NTuple::Item<float> tphi;
63 NTuple::Item<long> nrun;
64 NTuple::Item<long> nrec;
66 NTuple::Item<long> nneu;
67 NTuple::Item<long> npart;
68 NTuple::Item<long> ntheta;
69 NTuple::Item<long> nphi;
70 NTuple::Item<long> ndigi;
71 NTuple::Item<long> nhit;
72 NTuple::Item<long> ncluster;
74 NTuple::Array<float> pp1;
75 NTuple::Item<float> theta1;
76 NTuple::Item<float> phi1;
77 NTuple::Item<float> dphi1;
78 NTuple::Item<float> eseed;
79 NTuple::Item<float> e3x3;
80 NTuple::Item<float> e5x5;
81 NTuple::Item<float> enseed;
82 NTuple::Item<float> etof2x1;
83 NTuple::Item<float> etof2x3;
84 NTuple::Item<float> cluster2ndMoment;
85 NTuple::Item<float> secondMoment;
86 NTuple::Item<float> latMoment;
87 NTuple::Item<float> a20Moment;
88 NTuple::Item<float> a42Moment;
89 NTuple::Item<float> mpi0;
90 NTuple::Item<long> thtgap1;
91 NTuple::Item<long> phigap1;
94 NTuple::Array<float> pp2;
map< RecEmcID, RecEmcCluster, less< RecEmcID > > RecEmcClusterMap
map< RecEmcID, RecEmcDigit, less< RecEmcID > > RecEmcDigitMap
map< RecEmcID, RecEmcHit, less< RecEmcID > > RecEmcHitMap
map< RecEmcID, RecEmcShower, less< RecEmcID > > RecEmcShowerMap
EmcRec(const std::string &name, ISvcLocator *pSvcLocator)