CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
FSimTrack Class Reference

#include <FSimTrack.h>

Inheritance diagram for FSimTrack:
SimTrack CoreSimTrack

Public Member Functions

void addDaughter (int i)
 Add a RecHit for a track on a layer. More...
 
float charge () const
 charge More...
 
int closestDaughterId () const
 Get the index of the closest charged daughter. More...
 
const FSimTrackdaughter (int i) const
 Ith daughter. More...
 
const std::vector< int > & daughters () const
 Vector of daughter indices. More...
 
double decayTime () const
 Return the pre-defined decay time. More...
 
const RawParticleecalEntrance () const
 The particle at ECAL entrance. More...
 
const FSimVertexendVertex () const
 end vertex More...
 
 FSimTrack ()
 Default constructor. More...
 
 FSimTrack (const RawParticle *p, int iv, int ig, int id, FBaseSimEvent *mom, double dt=-1.)
 Constructor from the EmmbSimTrack index in the FBaseSimEvent. More...
 
 FSimTrack (int ipart, const math::XYZTLorentzVector &p, int iv, int ig, int id, double charge, const math::XYZTLorentzVector &tkp, const math::XYZTLorentzVector &tkm, const SimVertex &tkv)
 Hack to interface "old" calorimetry with "new" propagation in tracker (need to construct FSimTracks) More...
 
const HepMC::GenParticle * genParticle () const
 The original GenParticle. More...
 
const RawParticlehcalEntrance () const
 The particle at HCAL entrance. More...
 
const RawParticlehcalExit () const
 The particle at HCAL exir. More...
 
const RawParticlehoEntrance () const
 The particle at HCAL exir. More...
 
int id () const
 the index in FBaseSimEvent and other vectors More...
 
bool isGlobal () const
 particle did not decay before more detectors (useful for newProducer) More...
 
const RawParticlelayer1Entrance () const
 The particle at Preshower Layer 1. More...
 
const RawParticlelayer2Entrance () const
 The particle at Preshower Layer 2. More...
 
const XYZTLorentzVectormomentum () const
 Temporary (until move of SimTrack to Mathcore) - No! Actually very useful. More...
 
const FSimTrackmother () const
 mother More...
 
int nDaughters () const
 Number of daughters. More...
 
bool noDaughter () const
 no daughters More...
 
bool noEndVertex () const
 no end vertex More...
 
bool noMother () const
 no mother particle More...
 
bool notYetToEndVertex (const XYZTLorentzVector &pos) const
 Compare the end vertex position with another position. More...
 
int onEcal () const
 
int onHcal () const
 
int onHO () const
 
int onLayer1 () const
 
int onLayer2 () const
 
int onVFcal () const
 
int outHcal () const
 
const HepPDT::ParticleDataparticleInfo () const
 particle info... More...
 
bool propagated () const
 The particle was tentatively propagated to calorimeters. More...
 
void setClosestDaughterId (int id)
 Set the index of the closest charged daughter. More...
 
void setEcal (const RawParticle &pp, int success)
 Set the ecal variables. More...
 
void setEndVertex (int endv)
 Set the end vertex. More...
 
void setGlobal ()
 particle did not decay before more detectors (useful for newProducer) More...
 
void setHcal (const RawParticle &pp, int success)
 Set the hcal variables. More...
 
void setHcalExit (const RawParticle &pp, int success)
 Set the hcal exit variables. More...
 
void setHO (const RawParticle &pp, int success)
 Set the ho variables. More...
 
void setLayer1 (const RawParticle &pp, int success)
 Set the preshower layer1 variables. More...
 
void setLayer2 (const RawParticle &pp, int success)
 Set the preshower layer2 variables. More...
 
void setMomentum (const math::XYZTLorentzVector &newMomentum)
 Reset the momentum (to be used with care) More...
 
void setOriginVertex (const SimVertex &v)
 Set origin vertex. More...
 
void setPropagate ()
 The particle has been propgated through the tracker. More...
 
void setVFcal (const RawParticle &pp, int success)
 Set the hcal variables. More...
 
const SimTracksimTrack () const
 Simply returns the SimTrack. More...
 
const FSimVertex vertex () const
 Origin vertex. More...
 
const RawParticlevfcalEntrance () const
 The particle at VFCAL entrance. More...
 
virtual ~FSimTrack ()
 Destructor. More...
 
- Public Member Functions inherited from SimTrack
int genpartIndex () const
 index of the corresponding Generator particle in the Event container (-1 if no Genpart) More...
 
bool noGenpart () const
 
bool noVertex () const
 
void setTkMomentum (const math::XYZTLorentzVectorD &mom)
 
void setTkPosition (const math::XYZVectorD &pos)
 
void setVertexIndex (const int v)
 
 SimTrack ()
 constructor More...
 
 SimTrack (int ipart, const math::XYZTLorentzVectorD &p)
 
 SimTrack (int ipart, const math::XYZTLorentzVectorD &p, int iv, int ig)
 
 SimTrack (int ipart, const math::XYZTLorentzVectorD &p, int iv, int ig, const math::XYZVectorD &tkp, const math::XYZTLorentzVectorD &tkm)
 
 SimTrack (const CoreSimTrack &t, int iv, int ig)
 constructor from transient More...
 
const math::XYZTLorentzVectorDtrackerSurfaceMomentum () const
 
const math::XYZVectorDtrackerSurfacePosition () const
 
int vertIndex () const
 index of the vertex in the Event container (-1 if no vertex) More...
 
- Public Member Functions inherited from CoreSimTrack
float charge () const
 charge More...
 
 CoreSimTrack ()
 constructors More...
 
 CoreSimTrack (int ipart, const math::XYZTLorentzVectorD &p)
 
 CoreSimTrack (int ipart, math::XYZVectorD &ip, double ie)
 
EncodedEventId eventId () const
 
const math::XYZTLorentzVectorDmomentum () const
 
void setEventId (EncodedEventId e)
 
void setTrackId (unsigned int t)
 
unsigned int trackId () const
 
int type () const
 particle type (HEP PDT convension) More...
 

Private Attributes

double charge_
 
int closestDaughterId_
 
std::vector< int > daugh_
 
int ecal
 
RawParticle ECAL_Entrance
 
int endv_
 
int hcal
 
RawParticle HCAL_Entrance
 
RawParticle HCAL_Exit
 
int hcalexit
 
RawParticle HO_Entrance
 
int hoentr
 
int id_
 
const HepPDT::ParticleDatainfo_
 
bool isGlobal_
 
int layer1
 
RawParticle Layer1_Entrance
 
int layer2
 
RawParticle Layer2_Entrance
 
FBaseSimEventmom_
 
XYZTLorentzVector momentum_
 
bool prop
 
double properDecayTime
 
SimVertex vertex_
 
int vfcal
 
RawParticle VFCAL_Entrance
 

Additional Inherited Members

- Public Types inherited from SimTrack
typedef CoreSimTrack Core
 

Detailed Description

A class that mimics SimTrack, with enhanced features. Essentially an interface to SimTrack.

Author
Patrick Janot, CERN $Date: 9-Dec-2003

Definition at line 30 of file FSimTrack.h.

Constructor & Destructor Documentation

FSimTrack::FSimTrack ( )

Default constructor.

Definition at line 9 of file FSimTrack.cc.

9  :
10  SimTrack(), mom_(nullptr), id_(-1), charge_(-999), endv_(-1),
11  layer1(0), layer2(0), ecal(0), hcal(0), vfcal(0), hcalexit(0), hoentr(0),
12  prop(false), closestDaughterId_(-1), info_(nullptr),
13  properDecayTime(1E99) {;}
int endv_
Definition: FSimTrack.h:225
int layer2
Definition: FSimTrack.h:228
int ecal
Definition: FSimTrack.h:229
double charge_
Definition: FSimTrack.h:223
const HepPDT::ParticleData * info_
Definition: FSimTrack.h:250
int hoentr
Definition: FSimTrack.h:233
SimTrack()
constructor
Definition: SimTrack.cc:3
int closestDaughterId_
Definition: FSimTrack.h:248
int vfcal
Definition: FSimTrack.h:231
int layer1
Definition: FSimTrack.h:227
FBaseSimEvent * mom_
Definition: FSimTrack.h:220
int hcal
Definition: FSimTrack.h:230
double properDecayTime
Definition: FSimTrack.h:254
int hcalexit
Definition: FSimTrack.h:232
bool prop
Definition: FSimTrack.h:236
FSimTrack::FSimTrack ( const RawParticle p,
int  iv,
int  ig,
int  id,
FBaseSimEvent mom,
double  dt = -1. 
)

Constructor from the EmmbSimTrack index in the FBaseSimEvent.

Definition at line 15 of file FSimTrack.cc.

References info_, mom_, source_particleGun_cfi::ParticleID, CoreSimTrack::setTrackId(), FBaseSimEvent::theTable(), and CoreSimTrack::type().

18  :
19  // SimTrack(p->pid(),*p,iv,ig), // to uncomment once Mathcore is installed
20  SimTrack(p->pid(),p->momentum(),iv,ig),
21  mom_(mom), id_(id), charge_(-999), endv_(-1),
22  layer1(0), layer2(0), ecal(0), hcal(0), vfcal(0), hcalexit(0), hoentr(0), prop(false),
25 {
26  setTrackId(id);
27  info_ = mom_->theTable()->particle(HepPDT::ParticleID(type()));
28 }
float dt
Definition: AMPTWrapper.h:126
int endv_
Definition: FSimTrack.h:225
int layer2
Definition: FSimTrack.h:228
int ecal
Definition: FSimTrack.h:229
double charge_
Definition: FSimTrack.h:223
const HepPDT::ParticleData * info_
Definition: FSimTrack.h:250
const HepPDT::ParticleDataTable * theTable() const
Get the pointer to the particle data table.
Definition: FBaseSimEvent.h:57
int hoentr
Definition: FSimTrack.h:233
SimTrack()
constructor
Definition: SimTrack.cc:3
int pid() const
get the HEP particle ID number
Definition: RawParticle.h:265
const XYZTLorentzVector & momentum() const
the momentum fourvector
Definition: RawParticle.h:286
int closestDaughterId_
Definition: FSimTrack.h:248
int vfcal
Definition: FSimTrack.h:231
int layer1
Definition: FSimTrack.h:227
FBaseSimEvent * mom_
Definition: FSimTrack.h:220
void setTrackId(unsigned int t)
Definition: CoreSimTrack.h:33
int type() const
particle type (HEP PDT convension)
Definition: CoreSimTrack.h:25
XYZTLorentzVector momentum_
Definition: FSimTrack.h:252
int hcal
Definition: FSimTrack.h:230
double properDecayTime
Definition: FSimTrack.h:254
int hcalexit
Definition: FSimTrack.h:232
bool prop
Definition: FSimTrack.h:236
FSimTrack::FSimTrack ( int  ipart,
const math::XYZTLorentzVector p,
int  iv,
int  ig,
int  id,
double  charge,
const math::XYZTLorentzVector tkp,
const math::XYZTLorentzVector tkm,
const SimVertex tkv 
)

Hack to interface "old" calorimetry with "new" propagation in tracker (need to construct FSimTracks)

Definition at line 32 of file FSimTrack.cc.

References CoreSimTrack::setTrackId().

32  :
33  SimTrack(ipart, p, iv, ig, math::XYZVectorD(tkp.X(), tkp.Y(), tkp.Z()), tkm), vertex_(tkv),
34  mom_(nullptr), id_(id), charge_(charge), endv_(-1),
35  layer1(0), layer2(0), ecal(0), hcal(0), vfcal(0), hcalexit(0), hoentr(0), prop(false),
36  closestDaughterId_(-1), info_(nullptr), momentum_(p),
37  properDecayTime(-1), isGlobal_(false)
38  {
39  setTrackId(id);
40  }
SimVertex vertex_
Definition: FSimTrack.h:218
int endv_
Definition: FSimTrack.h:225
float charge() const
charge
Definition: FSimTrack.h:51
int layer2
Definition: FSimTrack.h:228
int ecal
Definition: FSimTrack.h:229
double charge_
Definition: FSimTrack.h:223
const HepPDT::ParticleData * info_
Definition: FSimTrack.h:250
int hoentr
Definition: FSimTrack.h:233
SimTrack()
constructor
Definition: SimTrack.cc:3
bool isGlobal_
Definition: FSimTrack.h:256
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > XYZVectorD
spatial vector with cartesian internal representation
Definition: Vector3D.h:8
int closestDaughterId_
Definition: FSimTrack.h:248
int vfcal
Definition: FSimTrack.h:231
int layer1
Definition: FSimTrack.h:227
FBaseSimEvent * mom_
Definition: FSimTrack.h:220
void setTrackId(unsigned int t)
Definition: CoreSimTrack.h:33
XYZTLorentzVector momentum_
Definition: FSimTrack.h:252
int hcal
Definition: FSimTrack.h:230
double properDecayTime
Definition: FSimTrack.h:254
int hcalexit
Definition: FSimTrack.h:232
bool prop
Definition: FSimTrack.h:236
FSimTrack::~FSimTrack ( )
virtual

Destructor.

Definition at line 42 of file FSimTrack.cc.

42 {;}

Member Function Documentation

void FSimTrack::addDaughter ( int  i)
inline

Add a RecHit for a track on a layer.

Add a RecHit for a track on a layer Update the vactors of daughter's id

Definition at line 195 of file FSimTrack.h.

Referenced by FBaseSimEvent::addSimTrack().

195 { daugh_.push_back(i); }
std::vector< int > daugh_
Definition: FSimTrack.h:247
float FSimTrack::charge ( void  ) const
inline

charge

Definition at line 51 of file FSimTrack.h.

References BPhysicsValidation_cfi::daughters, GenParticle::GenParticle, and mps_fire::i.

Referenced by FBaseSimEvent::fill(), CalorimetryManager::HDShowerSimulation(), CalorimetryManager::MuonMipSimulation(), and PFSimParticleProducer::produce().

51  {
52  if(particleInfo() == nullptr) return charge_;
53  return particleInfo()->charge();
54  }
const HepPDT::ParticleData * particleInfo() const
particle info...
Definition: FSimTrack.h:46
double charge_
Definition: FSimTrack.h:223
int FSimTrack::closestDaughterId ( ) const
inline

Get the index of the closest charged daughter.

Definition at line 201 of file FSimTrack.h.

Referenced by FSimEvent::load(), and TrajectoryManager::makeSinglePSimHit().

201 { return closestDaughterId_; }
int closestDaughterId_
Definition: FSimTrack.h:248
const FSimTrack& FSimTrack::daughter ( int  i) const
inline

Ith daughter.

Referenced by TrajectoryManager::moveAllDaughters(), and operator<<().

const std::vector<int>& FSimTrack::daughters ( ) const
inline

Vector of daughter indices.

Referenced by PFSimParticleProducer::produce().

double FSimTrack::decayTime ( ) const
inline

Return the pre-defined decay time.

Definition at line 213 of file FSimTrack.h.

Referenced by ParticlePropagator::ParticlePropagator().

213 { return properDecayTime; }
double properDecayTime
Definition: FSimTrack.h:254
const RawParticle& FSimTrack::ecalEntrance ( ) const
inline
const FSimVertex& FSimTrack::endVertex ( ) const
inline
const HepMC::GenParticle* FSimTrack::genParticle ( ) const
inline

The original GenParticle.

const RawParticle& FSimTrack::hcalEntrance ( ) const
inline
const RawParticle& FSimTrack::hcalExit ( ) const
inline

The particle at HCAL exir.

Definition at line 147 of file FSimTrack.h.

Referenced by PFSimParticleProducer::produce().

147 { return HCAL_Exit; }
RawParticle HCAL_Exit
Definition: FSimTrack.h:243
const RawParticle& FSimTrack::hoEntrance ( ) const
inline

The particle at HCAL exir.

Definition at line 150 of file FSimTrack.h.

Referenced by PFSimParticleProducer::produce().

150 { return HO_Entrance; }
RawParticle HO_Entrance
Definition: FSimTrack.h:244
int FSimTrack::id ( void  ) const
inline
bool FSimTrack::isGlobal ( ) const
inline

particle did not decay before more detectors (useful for newProducer)

Definition at line 153 of file FSimTrack.h.

153 { return isGlobal_; }
bool isGlobal_
Definition: FSimTrack.h:256
const RawParticle& FSimTrack::layer1Entrance ( ) const
inline

The particle at Preshower Layer 1.

Definition at line 132 of file FSimTrack.h.

Referenced by EcalHitMaker::cellLine(), CalorimetryManager::EMShowerSimulation(), operator<<(), EcalHitMaker::preshowerCellLine(), and PFSimParticleProducer::produce().

132 { return Layer1_Entrance; }
RawParticle Layer1_Entrance
Definition: FSimTrack.h:238
const RawParticle& FSimTrack::layer2Entrance ( ) const
inline

The particle at Preshower Layer 2.

Definition at line 135 of file FSimTrack.h.

Referenced by EcalHitMaker::cellLine(), CalorimetryManager::EMShowerSimulation(), operator<<(), EcalHitMaker::preshowerCellLine(), and PFSimParticleProducer::produce().

135 { return Layer2_Entrance; }
RawParticle Layer2_Entrance
Definition: FSimTrack.h:239
const XYZTLorentzVector& FSimTrack::momentum ( ) const
inline
const FSimTrack& FSimTrack::mother ( ) const
inline
int FSimTrack::nDaughters ( ) const
inline
bool FSimTrack::noDaughter ( ) const
inline

no daughters

bool FSimTrack::noEndVertex ( ) const
inline
bool FSimTrack::noMother ( ) const
inline
bool FSimTrack::notYetToEndVertex ( const XYZTLorentzVector pos) const

Compare the end vertex position with another position.

Definition at line 45 of file FSimTrack.cc.

References MillePedeFileConverter_cfg::e, endVertex(), noEndVertex(), position, vertex(), and DOFs::Z.

Referenced by FBaseSimEvent::fill(), TrajectoryManager::propagateToCalorimeters(), and TrajectoryManager::reconstruct().

45  {
46  // If there is no end vertex, nothing to compare to
47  if ( noEndVertex() ) return true;
48  // If the particle immediately decays, no need to propagate
49  if ( (endVertex().position()-vertex().position()).Vect().Mag2() < 1e-4 )
50  return false;
51  // If the end vertex has a larger radius, not yet there
52  if ( endVertex().position().Perp2() > pos.Perp2()+1e-10 ) return true;
53  // If the end vertex has a larger z, not yet there
54  if ( fabs(endVertex().position().Z()) > fabs(pos.Z())+1e-5 ) return true;
55  // Otherwise, the end vertex is overtaken already
56  return false;
57 }
bool noEndVertex() const
no end vertex
const FSimVertex & endVertex() const
end vertex
static int position[264][3]
Definition: ReadPGInfo.cc:509
const FSimVertex vertex() const
Origin vertex.
int FSimTrack::onEcal ( ) const
inline

The particle was propagated to the ECAL front face 1 : on the barrel; 2 : on the EndCaps; 3 : no propagation possible 0 : not yet propagated

Definition at line 106 of file FSimTrack.h.

References digitizers_cfi::ecal.

Referenced by EcalHitMaker::cellLine(), FastSimProducer::createFSimTrack(), CalorimetryManager::EMShowerSimulation(), CalorimetryManager::HDShowerSimulation(), CalorimetryManager::MuonMipSimulation(), operator<<(), PFSimParticleProducer::produce(), and CalorimetryManager::reconstructTrack().

106 { return ecal; }
int ecal
Definition: FSimTrack.h:229
int FSimTrack::onHcal ( ) const
inline
int FSimTrack::onHO ( ) const
inline

1 : on the barrel; 2 : on the EndCaps; 3 : no propagation possible 0 : not yet propagated

Definition at line 126 of file FSimTrack.h.

126 { return hoentr; }
int hoentr
Definition: FSimTrack.h:233
int FSimTrack::onLayer1 ( ) const
inline

The particle was propagated to the Preshower Layer1 2 : on the EndCaps; (no Barrel Preshower); no propagation possible 0 : not yet propagated or no pe

Definition at line 96 of file FSimTrack.h.

Referenced by EcalHitMaker::cellLine(), FastSimProducer::createFSimTrack(), CalorimetryManager::EMShowerSimulation(), operator<<(), EcalHitMaker::preshowerCellLine(), and PFSimParticleProducer::produce().

96 { return layer1; }
int layer1
Definition: FSimTrack.h:227
int FSimTrack::onLayer2 ( ) const
inline

The particle was propagated to the Preshower Layer2 2 : on the EndCaps; (no Barrel Preshower); 3 : No propagation possible 0 : not yet propagated

Definition at line 101 of file FSimTrack.h.

Referenced by EcalHitMaker::cellLine(), FastSimProducer::createFSimTrack(), CalorimetryManager::EMShowerSimulation(), operator<<(), EcalHitMaker::preshowerCellLine(), and PFSimParticleProducer::produce().

101 { return layer2; }
int layer2
Definition: FSimTrack.h:228
int FSimTrack::onVFcal ( ) const
inline

The particle was propagated to the VFCAL front face 2 : on the EndCaps (No VFCAL Barrel); 3 : no propagation possible 0 : not yet propagated

Definition at line 116 of file FSimTrack.h.

Referenced by EcalHitMaker::cellLine(), FastSimProducer::createFSimTrack(), HcalHitMaker::getSubHcalDet(), EcalHitMaker::hcalCellLine(), CalorimetryManager::HDShowerSimulation(), CalorimetryManager::MuonMipSimulation(), operator<<(), FastHFShowerLibrary::recoHFShowerLibrary(), and CalorimetryManager::reconstructTrack().

116 { return vfcal; }
int vfcal
Definition: FSimTrack.h:231
int FSimTrack::outHcal ( ) const
inline

The particle was propagated to the HCAL back face 1 : on the barrel; 2 : on the EndCaps; 3 : no propagation possible 0 : not yet propagated

Definition at line 121 of file FSimTrack.h.

121 { return hcalexit; }
int hcalexit
Definition: FSimTrack.h:232
const HepPDT::ParticleData* FSimTrack::particleInfo ( ) const
inline

particle info...

Definition at line 46 of file FSimTrack.h.

Referenced by operator<<().

46  {
47  return info_;
48  }
const HepPDT::ParticleData * info_
Definition: FSimTrack.h:250
bool FSimTrack::propagated ( ) const
inline

The particle was tentatively propagated to calorimeters.

Definition at line 129 of file FSimTrack.h.

129 { return prop; }
bool prop
Definition: FSimTrack.h:236
void FSimTrack::setClosestDaughterId ( int  id)
inline

Set the index of the closest charged daughter.

Definition at line 198 of file FSimTrack.h.

References triggerObjects_cff::id.

Referenced by MaterialEffects::interact(), and TrajectoryManager::updateWithDaughters().

198 { closestDaughterId_ = id; }
int closestDaughterId_
Definition: FSimTrack.h:248
int id() const
the index in FBaseSimEvent and other vectors
Definition: FSimTrack.h:91
void FSimTrack::setEcal ( const RawParticle pp,
int  success 
)
void FSimTrack::setEndVertex ( int  endv)
inline

Set the end vertex.

Definition at line 162 of file FSimTrack.h.

References createTree::pp, and summarizeEdmComparisonLogfiles::success.

Referenced by FBaseSimEvent::addSimVertex().

162 { endv_ = endv; }
int endv_
Definition: FSimTrack.h:225
void FSimTrack::setGlobal ( )
inline

particle did not decay before more detectors (useful for newProducer)

Definition at line 156 of file FSimTrack.h.

Referenced by FastSimProducer::createFSimTrack().

156 { isGlobal_ = true; }
bool isGlobal_
Definition: FSimTrack.h:256
void FSimTrack::setHcal ( const RawParticle pp,
int  success 
)
void FSimTrack::setHcalExit ( const RawParticle pp,
int  success 
)

Set the hcal exit variables.

Set the hcal variables.

Definition at line 102 of file FSimTrack.cc.

References HCAL_Exit, hcalexit, createTree::pp, and summarizeEdmComparisonLogfiles::success.

Referenced by FBaseSimEvent::fill().

void FSimTrack::setHO ( const RawParticle pp,
int  success 
)

Set the ho variables.

Definition at line 108 of file FSimTrack.cc.

References HO_Entrance, hoentr, createTree::pp, and summarizeEdmComparisonLogfiles::success.

Referenced by FBaseSimEvent::fill().

void FSimTrack::setLayer1 ( const RawParticle pp,
int  success 
)
void FSimTrack::setLayer2 ( const RawParticle pp,
int  success 
)
void FSimTrack::setMomentum ( const math::XYZTLorentzVector newMomentum)
inline

Reset the momentum (to be used with care)

Definition at line 207 of file FSimTrack.h.

Referenced by TrajectoryManager::moveAllDaughters().

207 {momentum_ = newMomentum; }
XYZTLorentzVector momentum_
Definition: FSimTrack.h:252
void FSimTrack::setOriginVertex ( const SimVertex v)
inline

Set origin vertex.

Definition at line 159 of file FSimTrack.h.

References findQualityFiles::v.

159 { vertex_ = v; }
SimVertex vertex_
Definition: FSimTrack.h:218
void FSimTrack::setPropagate ( )

The particle has been propgated through the tracker.

Set the variable at the beginning of the propagation.

Definition at line 61 of file FSimTrack.cc.

References prop.

Referenced by TrajectoryManager::reconstruct().

61  {
62  prop=true;
63 }
bool prop
Definition: FSimTrack.h:236
void FSimTrack::setVFcal ( const RawParticle pp,
int  success 
)
const SimTrack& FSimTrack::simTrack ( ) const
inline

Simply returns the SimTrack.

Definition at line 210 of file FSimTrack.h.

210 { return *this; }
const FSimVertex FSimTrack::vertex ( ) const
inline
const RawParticle& FSimTrack::vfcalEntrance ( ) const
inline

Member Data Documentation

double FSimTrack::charge_
private

Definition at line 223 of file FSimTrack.h.

int FSimTrack::closestDaughterId_
private

Definition at line 248 of file FSimTrack.h.

std::vector<int> FSimTrack::daugh_
private

Definition at line 247 of file FSimTrack.h.

int FSimTrack::ecal
private

Definition at line 229 of file FSimTrack.h.

Referenced by setEcal().

RawParticle FSimTrack::ECAL_Entrance
private

Definition at line 240 of file FSimTrack.h.

Referenced by setEcal().

int FSimTrack::endv_
private

Definition at line 225 of file FSimTrack.h.

int FSimTrack::hcal
private

Definition at line 230 of file FSimTrack.h.

RawParticle FSimTrack::HCAL_Entrance
private

Definition at line 241 of file FSimTrack.h.

Referenced by setHcal().

RawParticle FSimTrack::HCAL_Exit
private

Definition at line 243 of file FSimTrack.h.

Referenced by setHcalExit().

int FSimTrack::hcalexit
private

Definition at line 232 of file FSimTrack.h.

Referenced by setHcalExit().

RawParticle FSimTrack::HO_Entrance
private

Definition at line 244 of file FSimTrack.h.

Referenced by setHO().

int FSimTrack::hoentr
private

Definition at line 233 of file FSimTrack.h.

Referenced by setHO().

int FSimTrack::id_
private

Definition at line 222 of file FSimTrack.h.

const HepPDT::ParticleData* FSimTrack::info_
private

Definition at line 250 of file FSimTrack.h.

Referenced by FSimTrack().

bool FSimTrack::isGlobal_
private

Definition at line 256 of file FSimTrack.h.

int FSimTrack::layer1
private

Definition at line 227 of file FSimTrack.h.

Referenced by setLayer1().

RawParticle FSimTrack::Layer1_Entrance
private

Definition at line 238 of file FSimTrack.h.

Referenced by setLayer1().

int FSimTrack::layer2
private

Definition at line 228 of file FSimTrack.h.

Referenced by setLayer2().

RawParticle FSimTrack::Layer2_Entrance
private

Definition at line 239 of file FSimTrack.h.

Referenced by setLayer2().

FBaseSimEvent* FSimTrack::mom_
private

Definition at line 220 of file FSimTrack.h.

Referenced by FSimTrack().

XYZTLorentzVector FSimTrack::momentum_
private

Definition at line 252 of file FSimTrack.h.

bool FSimTrack::prop
private

Definition at line 236 of file FSimTrack.h.

Referenced by setPropagate().

double FSimTrack::properDecayTime
private

Definition at line 254 of file FSimTrack.h.

SimVertex FSimTrack::vertex_
private

Definition at line 218 of file FSimTrack.h.

int FSimTrack::vfcal
private

Definition at line 231 of file FSimTrack.h.

Referenced by setVFcal().

RawParticle FSimTrack::VFCAL_Entrance
private

Definition at line 242 of file FSimTrack.h.

Referenced by setVFcal().