CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtRecDTag Class Reference

#include <EvtRecDTag.h>

+ Inheritance diagram for EvtRecDTag:

Public Types

enum  SelType { Loose , Tight , Default }
 
enum  DecayMode {
  kD0toKPi , kD0toKPiPi0 , kD0toKPiPi0Pi0 , kD0toKPiPiPi ,
  kD0toKPiPiPiPi0 , kD0toKPiEta , kD0toKsKPi = 50 , kD0toKsKPiPi0 ,
  kD0toKsPiPi = 100 , kD0toKsPiPiPi0 , kD0toKsPi0 , kD0toPiPiPi0 ,
  kD0toPiPi , kD0toKK , kD0toKKPi0 , kD0toPi0Pi0 ,
  kD0toKsKs , kD0toKsKsPi0 , kD0toKsPi0Pi0 , kD0toKsKK ,
  kD0toKsEta , kD0toPi0Pi0Pi0 , kD0toKsKsKs , kD0toPiPiPiPi ,
  kD0toPiPiPi0Pi0 , kD0toKKPiPi , kD0toKKPi0Pi0 , kD0toKsKsPiPi ,
  kD0toPiPiPiPiPi0 , kD0toKsPiPiPiPi , kD0toKKPiPiPi0 , kD0toKsPi0Eta ,
  kD0toKsEPPiPiEta , kD0toKsEPRhoGam , kD0toKsPi0Pi0Pi0 , kDptoKPiPi =200 ,
  kDptoKPiPiPi0 , kDptoKsPi , kDptoKsPiPi0 , kDptoKsPiPiPi ,
  kDptoKKPi , kDptoPiPi0 , kDptoKPi0 , kDptoKsK ,
  kDptoPiPiPi , kDptoPiPi0Pi0 , kDptoKsKsPi , kDptoKsKPi0 ,
  kDptoKsKsK , kDptoPiPiPiPi0 , kDptoKsPiPi0Pi0 , kDptoKsKplusPiPi ,
  kDptoKsKminusPiPi , kDptoKKPiPi0 , kDptoPiPiPiPiPi , kDptoKPiPiPiPi ,
  kDptoPiEta , kDptoKsPiEta , kDstoKsK = 400 , kDstoKKPi ,
  kDstoKsKPi0 , kDstoKsKsPi , kDstoKKPiPi0 , kDstoKsKplusPiPi ,
  kDstoKsKminusPiPi , kDstoKKPiPiPi , kDstoPiPi0 = 420 , kDstoPiPiPi ,
  kDstoPiPiPiPi0 , kDstoPiPiPiPiPi , kDstoPiPiPiPiPiPi0 , kDstoPiEta = 440 ,
  kDstoPiPi0Eta , kDstoPiPiPiEta , kDstoPiEPPiPiEta = 460 , kDstoPiPi0EPPiPiEta ,
  kDstoPiEPRhoGam = 480 , kDstoPiPi0EPRhoGam , kDstoKsPi = 500 , kDstoKsPiPi0 ,
  kDstoKPiPi , kDstoKPiPiPi0 , kDstoKKK , kUnknown = 10000
}
 

Public Member Functions

virtual const CLID & clID () const
 
 EvtRecDTag ()
 
 ~EvtRecDTag ()
 
 EvtRecDTag (const EvtRecDTag &)
 
EvtRecDTagoperator= (const EvtRecDTag &)
 
DecayMode decayMode () const
 
SelType type () const
 
double beamE () const
 
double mass () const
 
double mBC () const
 
double deltaE () const
 
int charge () const
 
int charm () const
 
int numOfChildren () const
 
HepLorentzVector p4 () const
 
SmartRefVector< EvtRecTracktracks ()
 
SmartRefVector< EvtRecTrackshowers ()
 
SmartRefVector< EvtRecTrackotherTracks ()
 
SmartRefVector< EvtRecTrackotherShowers ()
 
SmartRefVector< EvtRecTrackpionId ()
 
SmartRefVector< EvtRecTrackkaonId ()
 
void setdecayMode (DecayMode decayMode)
 
void settype (SelType type)
 
void setbeamE (double beamE)
 
void setmass (double mass)
 
void setmBC (double mBC)
 
void setdeltaE (double deltaE)
 
void setcharge (int charge)
 
void setcharm (int charm)
 
void setnumOfChildren (int numOfChildren)
 
void setp4 (HepLorentzVector p4)
 
void addTrack (const SmartRef< EvtRecTrack > track)
 
void addShower (const SmartRef< EvtRecTrack > shower)
 
void addOtherTrack (const SmartRef< EvtRecTrack > track)
 
void addOtherShower (const SmartRef< EvtRecTrack > shower)
 
void addPionId (const SmartRef< EvtRecTrack > pionId)
 
void addKaonId (const SmartRef< EvtRecTrack > kaonId)
 
void setTracks (const SmartRefVector< EvtRecTrack > tracks)
 
void setShowers (const SmartRefVector< EvtRecTrack > showers)
 
void setOtherTracks (const SmartRefVector< EvtRecTrack > tracks)
 
void setOtherShowers (const SmartRefVector< EvtRecTrack > showers)
 
void setPionId (const SmartRefVector< EvtRecTrack > pionId)
 
void setKaonId (const SmartRefVector< EvtRecTrack > kaonId)
 

Static Public Member Functions

static const CLID & classID ()
 

Detailed Description

Definition at line 24 of file EvtRecDTag.h.

Member Enumeration Documentation

◆ DecayMode

Enumerator
kD0toKPi 
kD0toKPiPi0 
kD0toKPiPi0Pi0 
kD0toKPiPiPi 
kD0toKPiPiPiPi0 
kD0toKPiEta 
kD0toKsKPi 
kD0toKsKPiPi0 
kD0toKsPiPi 
kD0toKsPiPiPi0 
kD0toKsPi0 
kD0toPiPiPi0 
kD0toPiPi 
kD0toKK 
kD0toKKPi0 
kD0toPi0Pi0 
kD0toKsKs 
kD0toKsKsPi0 
kD0toKsPi0Pi0 
kD0toKsKK 
kD0toKsEta 
kD0toPi0Pi0Pi0 
kD0toKsKsKs 
kD0toPiPiPiPi 
kD0toPiPiPi0Pi0 
kD0toKKPiPi 
kD0toKKPi0Pi0 
kD0toKsKsPiPi 
kD0toPiPiPiPiPi0 
kD0toKsPiPiPiPi 
kD0toKKPiPiPi0 
kD0toKsPi0Eta 
kD0toKsEPPiPiEta 
kD0toKsEPRhoGam 
kD0toKsPi0Pi0Pi0 
kDptoKPiPi 
kDptoKPiPiPi0 
kDptoKsPi 
kDptoKsPiPi0 
kDptoKsPiPiPi 
kDptoKKPi 
kDptoPiPi0 
kDptoKPi0 
kDptoKsK 
kDptoPiPiPi 
kDptoPiPi0Pi0 
kDptoKsKsPi 
kDptoKsKPi0 
kDptoKsKsK 
kDptoPiPiPiPi0 
kDptoKsPiPi0Pi0 
kDptoKsKplusPiPi 
kDptoKsKminusPiPi 
kDptoKKPiPi0 
kDptoPiPiPiPiPi 
kDptoKPiPiPiPi 
kDptoPiEta 
kDptoKsPiEta 
kDstoKsK 
kDstoKKPi 
kDstoKsKPi0 
kDstoKsKsPi 
kDstoKKPiPi0 
kDstoKsKplusPiPi 
kDstoKsKminusPiPi 
kDstoKKPiPiPi 
kDstoPiPi0 
kDstoPiPiPi 
kDstoPiPiPiPi0 
kDstoPiPiPiPiPi 
kDstoPiPiPiPiPiPi0 
kDstoPiEta 
kDstoPiPi0Eta 
kDstoPiPiPiEta 
kDstoPiEPPiPiEta 
kDstoPiPi0EPPiPiEta 
kDstoPiEPRhoGam 
kDstoPiPi0EPRhoGam 
kDstoKsPi 
kDstoKsPiPi0 
kDstoKPiPi 
kDstoKPiPiPi0 
kDstoKKK 
kUnknown 

Definition at line 47 of file EvtRecDTag.h.

48 {
53
56
57 kD0toKsKPi = 50,
59
60 kD0toKsPiPi = 100,
63
66 kD0toKK,
75
86
90
91 kDptoKPiPi =200,
97
100 kDptoKsK,
115
116 kDstoKsK = 400,
117 kDstoKKPi,
124
125 kDstoPiPi0 = 420,
130
131 kDstoPiEta = 440,
134
135 kDstoPiEPPiPiEta = 460,
137
138 kDstoPiEPRhoGam = 480,
140
141 kDstoKsPi = 500,
145 kDstoKKK,
146
147 kUnknown = 10000
148
149 };
@ kDptoKsPiPi0
Definition: EvtRecDTag.h:94
@ kDstoPiPi0EPPiPiEta
Definition: EvtRecDTag.h:136
@ kD0toKsEPRhoGam
Definition: EvtRecDTag.h:88
@ kD0toKKPiPiPi0
Definition: EvtRecDTag.h:84
@ kDstoKsKplusPiPi
Definition: EvtRecDTag.h:121
@ kD0toPiPiPiPiPi0
Definition: EvtRecDTag.h:82
@ kD0toKsPiPiPiPi
Definition: EvtRecDTag.h:83
@ kDptoKsKminusPiPi
Definition: EvtRecDTag.h:109
@ kDstoPiPiPiEta
Definition: EvtRecDTag.h:133
@ kDptoKPiPiPi0
Definition: EvtRecDTag.h:92
@ kD0toKPiPiPi
Definition: EvtRecDTag.h:52
@ kD0toKKPi0Pi0
Definition: EvtRecDTag.h:80
@ kDptoKPiPiPiPi
Definition: EvtRecDTag.h:112
@ kD0toKsKsPi0
Definition: EvtRecDTag.h:70
@ kD0toKsKsPiPi
Definition: EvtRecDTag.h:81
@ kDptoKsPiPi0Pi0
Definition: EvtRecDTag.h:107
@ kDptoKsPiPiPi
Definition: EvtRecDTag.h:95
@ kDstoPiEPRhoGam
Definition: EvtRecDTag.h:138
@ kDstoKsKminusPiPi
Definition: EvtRecDTag.h:122
@ kD0toKsPiPiPi0
Definition: EvtRecDTag.h:61
@ kDptoKsKplusPiPi
Definition: EvtRecDTag.h:108
@ kDstoPiPiPiPi0
Definition: EvtRecDTag.h:127
@ kD0toKsPi0Pi0Pi0
Definition: EvtRecDTag.h:89
@ kD0toKsPi0Pi0
Definition: EvtRecDTag.h:71
@ kD0toPiPiPiPi
Definition: EvtRecDTag.h:77
@ kDptoPiPiPiPiPi
Definition: EvtRecDTag.h:111
@ kDstoPiPiPiPiPi
Definition: EvtRecDTag.h:128
@ kD0toPiPiPi0Pi0
Definition: EvtRecDTag.h:78
@ kD0toKsEPPiPiEta
Definition: EvtRecDTag.h:87
@ kD0toKsKPiPi0
Definition: EvtRecDTag.h:58
@ kDptoPiPiPiPi0
Definition: EvtRecDTag.h:106
@ kD0toPi0Pi0Pi0
Definition: EvtRecDTag.h:74
@ kD0toKPiPiPiPi0
Definition: EvtRecDTag.h:54
@ kD0toPiPiPi0
Definition: EvtRecDTag.h:64
@ kD0toKPiPi0Pi0
Definition: EvtRecDTag.h:51
@ kD0toKsPi0Eta
Definition: EvtRecDTag.h:85
@ kDstoPiPiPiPiPiPi0
Definition: EvtRecDTag.h:129
@ kDstoPiPi0EPRhoGam
Definition: EvtRecDTag.h:139
@ kDstoPiEPPiPiEta
Definition: EvtRecDTag.h:135

◆ SelType

Enumerator
Loose 
Tight 
Default 

Definition at line 38 of file EvtRecDTag.h.

39 {
40 Loose,
41 Tight,
43 };

Constructor & Destructor Documentation

◆ EvtRecDTag() [1/2]

EvtRecDTag::EvtRecDTag ( )

Definition at line 3 of file EvtRecDTag.cxx.

3 :
4 m_decayMode(kUnknown),
5 m_type(Default),
6 m_beamE(0),
7 m_mass(0),
8 m_mBC(0),
9 m_deltaE(0),
10 m_charge(0),
11 m_charm(0),
12 m_numOfChildren(0),
13 m_p4(0)
14{
15 m_tracks.clear();
16 m_showers.clear();
17 m_otherTracks.clear();
18 m_otherShowers.clear();
19 m_pionId.clear();
20 m_kaonId.clear();
21}

◆ ~EvtRecDTag()

EvtRecDTag::~EvtRecDTag ( )
inline

Definition at line 30 of file EvtRecDTag.h.

30{;}

◆ EvtRecDTag() [2/2]

EvtRecDTag::EvtRecDTag ( const EvtRecDTag dtag)

Definition at line 24 of file EvtRecDTag.cxx.

24 :
25 ContainedObject(dtag),
26 m_decayMode(dtag.m_decayMode),
27 m_type(dtag.m_type),
28 m_beamE(dtag.m_beamE),
29 m_mass(dtag.m_mass),
30 m_mBC(dtag.m_mBC),
31 m_deltaE(dtag.m_deltaE),
32 m_charge(dtag.m_charge),
33 m_charm(dtag.m_charm),
34 m_numOfChildren(dtag.m_numOfChildren),
35 m_p4(dtag.m_p4),
36 m_tracks(dtag.m_tracks),
37 m_showers(dtag.m_showers),
38 m_otherTracks(dtag.m_otherTracks),
39 m_otherShowers(dtag.m_otherShowers),
40 m_pionId(dtag.m_pionId),
41 m_kaonId(dtag.m_kaonId)
42{
43}

Member Function Documentation

◆ addKaonId()

void EvtRecDTag::addKaonId ( const SmartRef< EvtRecTrack kaonId)
inline

Definition at line 193 of file EvtRecDTag.h.

193 {
194 m_kaonId.push_back(kaonId);}
SmartRefVector< EvtRecTrack > kaonId()
Definition: EvtRecDTag.h:169

Referenced by ChargedDReconstruction::pidtag(), DsReconstruction::pidtag(), NeutralDReconstruction::pidtag(), and EvtRecDTagCnv::TObjectToDataObject().

◆ addOtherShower()

void EvtRecDTag::addOtherShower ( const SmartRef< EvtRecTrack shower)
inline

Definition at line 189 of file EvtRecDTag.h.

189 {
190 m_otherShowers.push_back(shower);}

Referenced by ChargedDReconstruction::savetrack(), DsReconstruction::savetrack(), NeutralDReconstruction::savetrack(), and EvtRecDTagCnv::TObjectToDataObject().

◆ addOtherTrack()

void EvtRecDTag::addOtherTrack ( const SmartRef< EvtRecTrack track)
inline

Definition at line 187 of file EvtRecDTag.h.

187 {
188 m_otherTracks.push_back(track);}

Referenced by ChargedDReconstruction::savetrack(), DsReconstruction::savetrack(), NeutralDReconstruction::savetrack(), and EvtRecDTagCnv::TObjectToDataObject().

◆ addPionId()

void EvtRecDTag::addPionId ( const SmartRef< EvtRecTrack pionId)
inline

Definition at line 191 of file EvtRecDTag.h.

191 {
192 m_pionId.push_back(pionId);}
SmartRefVector< EvtRecTrack > pionId()
Definition: EvtRecDTag.h:168

Referenced by ChargedDReconstruction::pidtag(), DsReconstruction::pidtag(), NeutralDReconstruction::pidtag(), and EvtRecDTagCnv::TObjectToDataObject().

◆ addShower()

void EvtRecDTag::addShower ( const SmartRef< EvtRecTrack shower)
inline

◆ addTrack()

void EvtRecDTag::addTrack ( const SmartRef< EvtRecTrack track)
inline

◆ beamE()

double EvtRecDTag::beamE ( ) const
inline

Definition at line 154 of file EvtRecDTag.h.

154{return m_beamE;}

Referenced by EvtRecDTagCnv::DataObjectToTObject(), and setbeamE().

◆ charge()

int EvtRecDTag::charge ( ) const
inline

Definition at line 158 of file EvtRecDTag.h.

158{return m_charge;}

Referenced by EvtRecDTagCnv::DataObjectToTObject(), and setcharge().

◆ charm()

int EvtRecDTag::charm ( ) const
inline

Definition at line 159 of file EvtRecDTag.h.

159{return m_charm;}

Referenced by EvtRecDTagCnv::DataObjectToTObject(), and setcharm().

◆ classID()

static const CLID & EvtRecDTag::classID ( )
inlinestatic

Definition at line 27 of file EvtRecDTag.h.

27{return CLID_EvtRecDTag;}
const CLID & CLID_EvtRecDTag
Definition: EventModel.cxx:452

Referenced by clID().

◆ clID()

virtual const CLID & EvtRecDTag::clID ( ) const
inlinevirtual

Definition at line 26 of file EvtRecDTag.h.

26{return EvtRecDTag::classID();}
static const CLID & classID()
Definition: EvtRecDTag.h:27

◆ decayMode()

DecayMode EvtRecDTag::decayMode ( ) const
inline

Definition at line 152 of file EvtRecDTag.h.

152{return m_decayMode;}

Referenced by EvtRecDTagCnv::DataObjectToTObject(), and setdecayMode().

◆ deltaE()

double EvtRecDTag::deltaE ( ) const
inline

Definition at line 157 of file EvtRecDTag.h.

157{return m_deltaE;}

Referenced by EvtRecDTagCnv::DataObjectToTObject(), and setdeltaE().

◆ kaonId()

SmartRefVector< EvtRecTrack > EvtRecDTag::kaonId ( )
inline

Definition at line 169 of file EvtRecDTag.h.

169{ return m_kaonId;}

Referenced by addKaonId(), EvtRecDTagCnv::DataObjectToTObject(), and setKaonId().

◆ mass()

double EvtRecDTag::mass ( ) const
inline

Definition at line 155 of file EvtRecDTag.h.

155{return m_mass;}

Referenced by EvtRecDTagCnv::DataObjectToTObject(), and setmass().

◆ mBC()

double EvtRecDTag::mBC ( ) const
inline

Definition at line 156 of file EvtRecDTag.h.

156{return m_mBC;}

Referenced by EvtRecDTagCnv::DataObjectToTObject(), and setmBC().

◆ numOfChildren()

int EvtRecDTag::numOfChildren ( ) const
inline

Definition at line 160 of file EvtRecDTag.h.

160{return m_numOfChildren;}

Referenced by EvtRecDTagCnv::DataObjectToTObject(), and setnumOfChildren().

◆ operator=()

EvtRecDTag & EvtRecDTag::operator= ( const EvtRecDTag dtag)

Definition at line 46 of file EvtRecDTag.cxx.

46 {
47 this->ContainedObject::operator=(dtag);
48 m_decayMode=dtag.m_decayMode;
49 m_type=dtag.m_type;
50 m_beamE=dtag.m_beamE;
51 m_mass=dtag.m_mass;
52 m_mBC=dtag.m_mBC;
53 m_deltaE=dtag.m_deltaE;
54 m_charge=dtag.m_charge;
55 m_charm=dtag.m_charm;
56 m_numOfChildren=dtag.m_numOfChildren;
57 m_p4=dtag.m_p4;
58 m_tracks=dtag.m_tracks;
59 m_showers=dtag.m_showers;
60 m_otherTracks=dtag.m_otherTracks;
61 m_otherShowers=dtag.m_otherShowers;
62 m_pionId=dtag.m_pionId;
63 m_kaonId=dtag.m_kaonId;
64 return *this;
65}

◆ otherShowers()

SmartRefVector< EvtRecTrack > EvtRecDTag::otherShowers ( )
inline

Definition at line 167 of file EvtRecDTag.h.

167{ return m_otherShowers;}

Referenced by EvtRecDTagCnv::DataObjectToTObject().

◆ otherTracks()

SmartRefVector< EvtRecTrack > EvtRecDTag::otherTracks ( )
inline

Definition at line 166 of file EvtRecDTag.h.

166{ return m_otherTracks;}

Referenced by EvtRecDTagCnv::DataObjectToTObject().

◆ p4()

HepLorentzVector EvtRecDTag::p4 ( ) const
inline

◆ pionId()

SmartRefVector< EvtRecTrack > EvtRecDTag::pionId ( )
inline

Definition at line 168 of file EvtRecDTag.h.

168{ return m_pionId;}

Referenced by addPionId(), EvtRecDTagCnv::DataObjectToTObject(), and setPionId().

◆ setbeamE()

void EvtRecDTag::setbeamE ( double  beamE)
inline

◆ setcharge()

void EvtRecDTag::setcharge ( int  charge)
inline

◆ setcharm()

void EvtRecDTag::setcharm ( int  charm)
inline

◆ setdecayMode()

void EvtRecDTag::setdecayMode ( DecayMode  decayMode)
inline

◆ setdeltaE()

void EvtRecDTag::setdeltaE ( double  deltaE)
inline

◆ setKaonId()

void EvtRecDTag::setKaonId ( const SmartRefVector< EvtRecTrack kaonId)
inline

Definition at line 207 of file EvtRecDTag.h.

207 {
208 m_kaonId=kaonId;}

◆ setmass()

void EvtRecDTag::setmass ( double  mass)
inline

◆ setmBC()

void EvtRecDTag::setmBC ( double  mBC)
inline

◆ setnumOfChildren()

void EvtRecDTag::setnumOfChildren ( int  numOfChildren)
inline

◆ setOtherShowers()

void EvtRecDTag::setOtherShowers ( const SmartRefVector< EvtRecTrack showers)
inline

Definition at line 203 of file EvtRecDTag.h.

203 {
204 m_otherShowers=showers;}
SmartRefVector< EvtRecTrack > showers()
Definition: EvtRecDTag.h:165

◆ setOtherTracks()

void EvtRecDTag::setOtherTracks ( const SmartRefVector< EvtRecTrack tracks)
inline

Definition at line 201 of file EvtRecDTag.h.

201 {
202 m_otherTracks=tracks;}
SmartRefVector< EvtRecTrack > tracks()
Definition: EvtRecDTag.h:164

◆ setp4()

◆ setPionId()

void EvtRecDTag::setPionId ( const SmartRefVector< EvtRecTrack pionId)
inline

Definition at line 205 of file EvtRecDTag.h.

205 {
206 m_pionId=pionId;}

◆ setShowers()

void EvtRecDTag::setShowers ( const SmartRefVector< EvtRecTrack showers)
inline

Definition at line 199 of file EvtRecDTag.h.

199 {
200 m_showers=showers;}

◆ setTracks()

void EvtRecDTag::setTracks ( const SmartRefVector< EvtRecTrack tracks)
inline

Definition at line 197 of file EvtRecDTag.h.

197 {
198 m_tracks=tracks;}

◆ settype()

void EvtRecDTag::settype ( SelType  type)
inline

◆ showers()

SmartRefVector< EvtRecTrack > EvtRecDTag::showers ( )
inline

Definition at line 165 of file EvtRecDTag.h.

165{ return m_showers;}

Referenced by EvtRecDTagCnv::DataObjectToTObject(), setOtherShowers(), and setShowers().

◆ tracks()

SmartRefVector< EvtRecTrack > EvtRecDTag::tracks ( )
inline

Definition at line 164 of file EvtRecDTag.h.

164{ return m_tracks;}

Referenced by EvtRecDTagCnv::DataObjectToTObject(), setOtherTracks(), and setTracks().

◆ type()

SelType EvtRecDTag::type ( ) const
inline

Definition at line 153 of file EvtRecDTag.h.

153{return m_type;}

Referenced by EvtRecDTagCnv::DataObjectToTObject(), and settype().


The documentation for this class was generated from the following files: