17 #include "StHltDiElectron.h"
29 mDaughter1SelectionBit = -1;
30 mDaughter1GlobalTrackSN = -1;
31 mDaughter1PrimaryTrackSN = -1;
32 mDaughter1TofHitSN = -1;
33 mDaughter1EmcTowerSN = -1;
34 mDaughter1BEmcMatchPhiDiff = 0.;
35 mDaughter1BEmcMatchZEdge = 0.;
36 mDaughter1BTofProjChannel = 0.;
37 mDaughter1BTofCellLocalY = 0.;
38 mDaughter1BTofCellLocalZ = 0.;
39 mDaughter1BTofPathLength = 0.;
43 mDaughter2SelectionBit = -1;
44 mDaughter2GlobalTrackSN = -1;
45 mDaughter2PrimaryTrackSN = -1;
46 mDaughter2TofHitSN = -1;
47 mDaughter2EmcTowerSN = -1;
48 mDaughter2BEmcMatchPhiDiff = 0.;
49 mDaughter2BEmcMatchZEdge = 0.;
50 mDaughter2BTofProjChannel = 0.;
51 mDaughter2BTofCellLocalY = 0.;
52 mDaughter2BTofCellLocalZ = 0.;
53 mDaughter2BTofPathLength = 0.;
58 StHltDiElectron::~StHltDiElectron(){ }
74 int StHltDiElectron::daughter1SelectionBit()
const {
return mDaughter1SelectionBit;}
76 int StHltDiElectron::daughter1globalTrackSN()
const {
return mDaughter1GlobalTrackSN; }
78 int StHltDiElectron::daughter1primaryTrackSN()
const {
return mDaughter1PrimaryTrackSN; }
80 int StHltDiElectron::daughter1tofHitSN()
const {
return mDaughter1TofHitSN; }
82 int StHltDiElectron::daughter1emcTowerSN()
const {
return mDaughter1EmcTowerSN; }
84 double StHltDiElectron::daughter1bEmcMatchPhiDiff()
const {
return mDaughter1BEmcMatchPhiDiff; }
86 double StHltDiElectron::daughter1bEmcMatchZEdge()
const {
return mDaughter1BEmcMatchZEdge; }
88 float StHltDiElectron::daughter1bTofProjChannel()
const {
return mDaughter1BTofProjChannel; }
90 float StHltDiElectron::daughter1bTofCellLocalY()
const {
return mDaughter1BTofCellLocalY; }
92 float StHltDiElectron::daughter1bTofCellLocalZ()
const {
return mDaughter1BTofCellLocalZ; }
94 float StHltDiElectron::daughter1bTofPathLength()
const {
return mDaughter1BTofPathLength; }
96 float StHltDiElectron::daughter1beta()
const {
return mDaughter1Beta; }
98 float StHltDiElectron::daughter1tof()
const {
return mDaughter1Tof; }
100 void StHltDiElectron::setDaughter1GlobalTrack(
const StHltTrack& val) { mDaughter1GlobalTrack = val; }
102 void StHltDiElectron::setDaughter1PrimaryTrack(
const StHltTrack& val) { mDaughter1PrimaryTrack = val; }
104 void StHltDiElectron::setDaughter1BTofHit(
const StHltBTofHit& val) { mDaughter1BTofHit = val; }
106 void StHltDiElectron::setDaughter1BEmcTowerHit(
const StHltBEmcTowerHit& val) { mDaughter1BEmcTowerHit = val; }
108 void StHltDiElectron::setDaughter1SelectionBit(
int val){mDaughter1SelectionBit=val;}
110 void StHltDiElectron::setDaughter1GlobalTrackSN(
int val) { mDaughter1GlobalTrackSN = val; }
112 void StHltDiElectron::setDaughter1PrimaryTrackSN(
int val) { mDaughter1PrimaryTrackSN = val; }
114 void StHltDiElectron::setDaughter1TofHitSN(
int val) { mDaughter1TofHitSN = val; }
116 void StHltDiElectron::setDaughter1EmcTowerSN(
int val) { mDaughter1EmcTowerSN = val; }
118 void StHltDiElectron::setDaughter1BEmcMatchPhiDiff(
double val) { mDaughter1BEmcMatchPhiDiff = val; }
120 void StHltDiElectron::setDaughter1BEmcMatchZEdge(
double val) { mDaughter1BEmcMatchZEdge = val; }
122 void StHltDiElectron::setDaughter1BTofProjChannel(
float val) { mDaughter1BTofProjChannel = val; }
124 void StHltDiElectron::setDaughter1BTofCellLocalY(
float val) { mDaughter1BTofCellLocalY = val; }
126 void StHltDiElectron::setDaughter1BTofCellLocalZ(
float val) { mDaughter1BTofCellLocalZ = val; }
128 void StHltDiElectron::setDaughter1BTofPathLength(
float val) { mDaughter1BTofPathLength = val; }
130 void StHltDiElectron::setDaughter1Beta(
float val) { mDaughter1Beta = val; }
132 void StHltDiElectron::setDaughter1Tof(
float val) { mDaughter1Tof = val; }
148 int StHltDiElectron::daughter2SelectionBit()
const {
return mDaughter2SelectionBit;}
150 int StHltDiElectron::daughter2globalTrackSN()
const {
return mDaughter2GlobalTrackSN; }
152 int StHltDiElectron::daughter2primaryTrackSN()
const {
return mDaughter2PrimaryTrackSN; }
154 int StHltDiElectron::daughter2tofHitSN()
const {
return mDaughter2TofHitSN; }
156 int StHltDiElectron::daughter2emcTowerSN()
const {
return mDaughter2EmcTowerSN; }
158 double StHltDiElectron::daughter2bEmcMatchPhiDiff()
const {
return mDaughter2BEmcMatchPhiDiff; }
160 double StHltDiElectron::daughter2bEmcMatchZEdge()
const {
return mDaughter2BEmcMatchZEdge; }
162 float StHltDiElectron::daughter2bTofProjChannel()
const {
return mDaughter2BTofProjChannel; }
164 float StHltDiElectron::daughter2bTofCellLocalY()
const {
return mDaughter2BTofCellLocalY; }
166 float StHltDiElectron::daughter2bTofCellLocalZ()
const {
return mDaughter2BTofCellLocalZ; }
168 float StHltDiElectron::daughter2bTofPathLength()
const {
return mDaughter2BTofPathLength; }
170 float StHltDiElectron::daughter2beta()
const {
return mDaughter2Beta; }
172 float StHltDiElectron::daughter2tof()
const {
return mDaughter2Tof; }
174 void StHltDiElectron::setDaughter2GlobalTrack(
const StHltTrack& val) { mDaughter2GlobalTrack = val; }
176 void StHltDiElectron::setDaughter2PrimaryTrack(
const StHltTrack& val) { mDaughter2PrimaryTrack = val; }
178 void StHltDiElectron::setDaughter2BTofHit(
const StHltBTofHit& val) { mDaughter2BTofHit = val; }
180 void StHltDiElectron::setDaughter2BEmcTowerHit(
const StHltBEmcTowerHit& val) { mDaughter2BEmcTowerHit = val; }
182 void StHltDiElectron::setDaughter2SelectionBit(
int val) {mDaughter2SelectionBit=val;}
184 void StHltDiElectron::setDaughter2GlobalTrackSN(
int val) { mDaughter2GlobalTrackSN = val; }
186 void StHltDiElectron::setDaughter2PrimaryTrackSN(
int val) { mDaughter2PrimaryTrackSN = val; }
188 void StHltDiElectron::setDaughter2TofHitSN(
int val) { mDaughter2TofHitSN = val; }
190 void StHltDiElectron::setDaughter2EmcTowerSN(
int val) { mDaughter2EmcTowerSN = val; }
192 void StHltDiElectron::setDaughter2BEmcMatchPhiDiff(
double val) { mDaughter2BEmcMatchPhiDiff = val; }
194 void StHltDiElectron::setDaughter2BEmcMatchZEdge(
double val) { mDaughter2BEmcMatchZEdge = val; }
196 void StHltDiElectron::setDaughter2BTofProjChannel(
float val) { mDaughter2BTofProjChannel = val; }
198 void StHltDiElectron::setDaughter2BTofCellLocalY(
float val) { mDaughter2BTofCellLocalY = val; }
200 void StHltDiElectron::setDaughter2BTofCellLocalZ(
float val) { mDaughter2BTofCellLocalZ = val; }
202 void StHltDiElectron::setDaughter2BTofPathLength(
float val) { mDaughter2BTofPathLength = val; }
204 void StHltDiElectron::setDaughter2Beta(
float val) { mDaughter2Beta = val; }
206 void StHltDiElectron::setDaughter2Tof(
float val) { mDaughter2Tof = val; }
210 void StHltDiElectron::setInvariantMass(
float val) { mInvariantMass = val; }
212 void StHltDiElectron::setPt(
float val) { mPt = val; }
214 void StHltDiElectron::setPsi(
float val) { mPsi = val; }
216 void StHltDiElectron::setTanl(
float val) { mTanl = val; }
221 os <<
" invariantMass "<<de.
invariantMass()<<
" pt "<<de.pt()<<
" psi "<<de.psi()<<
" tanl "<<de.tanl()<<endl;
StHltBEmcTowerHit & daughter1bEmcTowerHit()
return object of StHltBEmcTowerHit
StHltBTofHit & daughter2bTofHit()
return object of StHltBTofHit
StHltTrack & daughter1primaryTrack()
return object of StHltTrack
StHltBTofHit & daughter1bTofHit()
return object of StHltBTofHit
float invariantMass() const
return invariant mass of di-electron pairs
StHltBEmcTowerHit & daughter2bEmcTowerHit()
return object of StHltBEmcTowerHit
StHltTrack & daughter2globalTrack()
return object of StHltTrack
StHltTrack & daughter1globalTrack()
return object of StHltTrack
StHltTrack & daughter2primaryTrack()
return object of StHltTrack