CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
RecCgemCluster.h
Go to the documentation of this file.
1#ifndef RECCGEMCLUSTER_H
2#define RECCGEMCLUSTER_H
3//Head File//
4#include "GaudiKernel/ContainedObject.h"
5#include "GaudiKernel/SmartRef.h"
6#include "GaudiKernel/ObjectVector.h"
8
9
10#include <vector>
11#include <utility>
12
13extern const CLID& CLID_RecCgemCluster;
14
15class RecCgemCluster :virtual public ContainedObject
16{
17 public:
18 virtual const CLID& clID() const{
20 }
21
22 static const CLID& classID() {
23 return CLID_RecCgemCluster ;
24 }
25
26
27 //constructor & destructor
30 RecCgemCluster(const RecCgemCluster& reccluster);
31
32
33
34 //set method//
35 void setclusterid(int clusterid){m_clusterid = clusterid;};
36 void setTrkId(int trkid) { m_trkid = trkid; }
37 void setlayerid(int layerid){m_layerid = layerid;};
38 void setsheetid(int sheetid){m_sheetid = sheetid;};
39 void setflag (int flag ){m_flag = flag ;};
40 void setenergydeposit(double energydeposit){m_energydeposit = energydeposit;};
41 void setrecphi (double recphi ){m_recphi = recphi ;};
42 void setrecv (double recv ) {m_recv = recv ;};
43 void setRecZ (double recZ ) {m_recZ = recZ;};
44 void setrecphi_CC (double recphi ){m_recphi_CC = recphi ;};
45 void setrecv_CC (double recv ) {m_recv_CC = recv ;};
46 void setRecZ_CC (double recZ ) {m_recZ_CC = recZ;};
47 void setrecphi_mTPC (double recphi ){m_recphi_mTPC = recphi ;};
48 void setrecv_mTPC (double recv ) {m_recv_mTPC = recv ;};
49 void setRecZ_mTPC (double recZ ) {m_recZ_mTPC = recZ;};
50 void setSlope_mTPC (double s) {m_slope_mTPC = s;};
51
52 //get method//
53 int getclusterid(void) const{return m_clusterid;};
54 int getTrkId(void) const { return m_trkid; }
55 int getlayerid(void) const{return m_layerid;};
56 int getsheetid(void) const{return m_sheetid;};
57 int getflag (void) const{return m_flag; };
58 double getenergydeposit(void) const{return m_energydeposit;};
59 double getrecphi (void) const{return m_recphi ;};
60 double getrecv (void) const{return m_recv ;};
61 double getRecZ(void) const {return m_recZ;};
62 double getrecphi_CC (void) const{return m_recphi_CC ;};
63 double getrecv_CC (void) const{return m_recv_CC ;};
64 double getRecZ_CC(void) const {return m_recZ_CC;};
65 double getrecphi_mTPC (void) const{return m_recphi_mTPC ;};
66 double getrecv_mTPC (void) const{return m_recv_mTPC ;};
67 double getRecZ_mTPC(void) const {return m_recZ_mTPC;};
68 double getSlope_mTPC(void) const {return m_slope_mTPC;};
69
70 void setclusterflag(int begin,int end){m_clusterflag.first = begin;m_clusterflag.second = end;};
71 int getclusterflagb(void) const{return m_clusterflag.first;};
72 int getclusterflage(void) const{return m_clusterflag.second;};
73
74 void setStripsMTPC(std::vector<int> strips) {m_strips_mTPC=strips;};
75 std::vector<int> getStripsMTPC() {return m_strips_mTPC;};
76
77 private:
78 int m_clusterid;
79 int m_trkid;
80 int m_layerid;
81 int m_sheetid;
82 int m_flag;
83 double m_energydeposit;
84 double m_recphi;
85 double m_recv;
86 double m_recZ;
87 double m_recphi_CC;
88 double m_recv_CC;
89 double m_recZ_CC;
90 double m_recphi_mTPC;
91 double m_recv_mTPC;
92 double m_recZ_mTPC;
93 std::vector<int> m_strips_mTPC;
94 double m_slope_mTPC;
95
96 typedef std::pair<int,int> beflag;
97 beflag m_clusterflag;
98};
99typedef ObjectVector<RecCgemCluster> RecCgemClusterCol;
100#endif
XmlRpcServer s
Definition: HelloServer.cpp:11
ObjectVector< RecCgemCluster > RecCgemClusterCol
const CLID & CLID_RecCgemCluster
Definition: EventModel.cxx:423
void setsheetid(int sheetid)
void setlayerid(int layerid)
void setRecZ_mTPC(double recZ)
virtual const CLID & clID() const
void setSlope_mTPC(double s)
double getrecv_CC(void) const
double getrecphi_mTPC(void) const
void setrecv_CC(double recv)
double getenergydeposit(void) const
void setrecphi_CC(double recphi)
void setclusterid(int clusterid)
void setenergydeposit(double energydeposit)
double getRecZ(void) const
int getclusterid(void) const
void setrecv(double recv)
double getrecv_mTPC(void) const
void setRecZ(double recZ)
int getlayerid(void) const
int getflag(void) const
double getSlope_mTPC(void) const
int getclusterflagb(void) const
double getRecZ_mTPC(void) const
void setrecphi_mTPC(double recphi)
void setRecZ_CC(double recZ)
double getrecphi(void) const
double getrecphi_CC(void) const
double getrecv(void) const
void setTrkId(int trkid)
int getsheetid(void) const
void setflag(int flag)
static const CLID & classID()
void setclusterflag(int begin, int end)
int getTrkId(void) const
std::vector< int > getStripsMTPC()
void setrecv_mTPC(double recv)
void setrecphi(double recphi)
void setStripsMTPC(std::vector< int > strips)
int getclusterflage(void) const
double getRecZ_CC(void) const