CMS 3D CMS Logo

Public Member Functions | Private Attributes

FP420G4Hit Class Reference

#include <FP420G4Hit.h>

List of all members.

Public Member Functions

void addEnergyDeposit (double em, double hd)
void addEnergyDeposit (const FP420G4Hit &aHit)
void addEnergyLoss (float e)
void Draw ()
 FP420G4Hit ()
 FP420G4Hit (const FP420G4Hit &right)
double getEM () const
double getEnergyDeposit () const
float getEnergyLoss () const
G4ThreeVector getEntry () const
G4ThreeVector getEntryLocalP () const
G4ThreeVector getExitLocalP () const
double getHadr () const
double getIncidentEnergy () const
float getPabs () const
int getParentId () const
int getParticleType () const
float getPhiAtEntry () const
float getThetaAtEntry () const
double getTimeSlice () const
int getTimeSliceID () const
float getTof () const
unsigned int getTrackID () const
unsigned int getUnitID () const
float getVx () const
float getVy () const
float getVz () const
float getX () const
float getY () const
float getZ () const
const FP420G4Hitoperator= (const FP420G4Hit &right)
int operator== (const FP420G4Hit &)
void Print ()
void setEM (double e)
void setEnergyLoss (float e)
void setEntry (G4ThreeVector xyz)
void setEntryLocalP (G4ThreeVector xyz1)
void setExitLocalP (G4ThreeVector xyz1)
void setHadr (double e)
void setIncidentEnergy (double e)
void setPabs (float e)
void setParentId (int p)
void setParticleType (short i)
void setPhiAtEntry (float f)
void setThetaAtEntry (float t)
void setTimeSlice (double d)
void setTof (float e)
void setTrackID (int i)
void setUnitID (unsigned int i)
void setVx (float p)
void setVy (float p)
void setVz (float p)
void setX (float t)
void setY (float t)
void setZ (float t)
 ~FP420G4Hit ()

Private Attributes

double elem
G4ThreeVector entry
G4ThreeVector entrylp
G4ThreeVector exitlp
double hadr
float theEnergyLoss
double theIncidentEnergy
float thePabs
int theParentId
int theParticleType
float thePhiAtEntry
float theThetaAtEntry
double theTimeSlice
float theTof
G4int theTrackID
int theUnitID
float theVx
float theVy
float theVz
float theX
float theY
float theZ

Detailed Description

Definition at line 19 of file FP420G4Hit.h.


Constructor & Destructor Documentation

FP420G4Hit::FP420G4Hit ( )
FP420G4Hit::~FP420G4Hit ( )

Definition at line 38 of file FP420G4Hit.cc.

{}
FP420G4Hit::FP420G4Hit ( const FP420G4Hit right)

Member Function Documentation

void FP420G4Hit::addEnergyDeposit ( double  em,
double  hd 
)

Definition at line 143 of file FP420G4Hit.cc.

References elem, and hadr.

Referenced by FP420SD::UpdateHit().

                                                   {elem  += em ; hadr += hd;}
void FP420G4Hit::addEnergyDeposit ( const FP420G4Hit aHit)

Definition at line 104 of file FP420G4Hit.cc.

References elem, getEM(), getHadr(), and hadr.

                                                        {

  elem += aHit.getEM();
  hadr += aHit.getHadr();
}
void FP420G4Hit::addEnergyLoss ( float  e)

Definition at line 155 of file FP420G4Hit.cc.

References ExpressReco_HICollisions_FallBack::e, and theEnergyLoss.

Referenced by FP420SD::UpdateHit().

void FP420G4Hit::Draw ( ) [inline]

Definition at line 29 of file FP420G4Hit.h.

{}
double FP420G4Hit::getEM ( ) const

Definition at line 124 of file FP420G4Hit.cc.

References elem.

Referenced by addEnergyDeposit(), and operator<<().

{return elem; }
double FP420G4Hit::getEnergyDeposit ( ) const

Definition at line 146 of file FP420G4Hit.cc.

References elem, and hadr.

Referenced by operator<<().

{return elem+hadr;}
float FP420G4Hit::getEnergyLoss ( ) const

Definition at line 150 of file FP420G4Hit.cc.

References theEnergyLoss.

Referenced by FP420SD::EndOfEvent(), operator<<(), and FP420Test::update().

{return theEnergyLoss;}
G4ThreeVector FP420G4Hit::getEntry ( ) const

Definition at line 115 of file FP420G4Hit.cc.

References entry.

Referenced by FP420SD::EndOfEvent(), operator<<(), and FP420Test::update().

{return entry;}
G4ThreeVector FP420G4Hit::getEntryLocalP ( ) const

Definition at line 118 of file FP420G4Hit.cc.

References entrylp.

Referenced by FP420SD::EndOfEvent(), operator<<(), and FP420Test::update().

{return entrylp;}
G4ThreeVector FP420G4Hit::getExitLocalP ( ) const

Definition at line 121 of file FP420G4Hit.cc.

References exitlp.

Referenced by FP420SD::EndOfEvent(), operator<<(), and FP420Test::update().

{return exitlp;}
double FP420G4Hit::getHadr ( ) const

Definition at line 127 of file FP420G4Hit.cc.

References hadr.

Referenced by addEnergyDeposit(), and operator<<().

{return hadr; }
double FP420G4Hit::getIncidentEnergy ( ) const

Definition at line 130 of file FP420G4Hit.cc.

References theIncidentEnergy.

Referenced by operator<<().

{return theIncidentEnergy; }
float FP420G4Hit::getPabs ( ) const

Definition at line 148 of file FP420G4Hit.cc.

References thePabs.

Referenced by FP420SD::EndOfEvent(), and operator<<().

{return thePabs;}
int FP420G4Hit::getParentId ( ) const

Definition at line 174 of file FP420G4Hit.cc.

References theParentId.

Referenced by operator<<().

{return theParentId;}
int FP420G4Hit::getParticleType ( ) const

Definition at line 151 of file FP420G4Hit.cc.

References theParticleType.

Referenced by FP420SD::EndOfEvent(), and operator<<().

{return theParticleType;}
float FP420G4Hit::getPhiAtEntry ( ) const

Definition at line 160 of file FP420G4Hit.cc.

References thePhiAtEntry.

Referenced by FP420SD::EndOfEvent(), and operator<<().

{ return thePhiAtEntry;}
float FP420G4Hit::getThetaAtEntry ( ) const

Definition at line 159 of file FP420G4Hit.cc.

References theThetaAtEntry.

Referenced by FP420SD::EndOfEvent(), and operator<<().

{return theThetaAtEntry;}   
double FP420G4Hit::getTimeSlice ( ) const

Definition at line 139 of file FP420G4Hit.cc.

References theTimeSlice.

Referenced by operator<<().

{return theTimeSlice; }
int FP420G4Hit::getTimeSliceID ( ) const

Definition at line 141 of file FP420G4Hit.cc.

References theTimeSlice.

Referenced by FP420SD::HitExists(), and operator<<().

{return (int)theTimeSlice;}
float FP420G4Hit::getTof ( ) const

Definition at line 149 of file FP420G4Hit.cc.

References theTof.

Referenced by FP420SD::EndOfEvent(), and operator<<().

{return theTof;}
unsigned int FP420G4Hit::getTrackID ( ) const

Definition at line 133 of file FP420G4Hit.cc.

References theTrackID.

Referenced by FP420SD::EndOfEvent(), FP420SD::HitExists(), operator<<(), and FP420Test::update().

{return theTrackID; }
unsigned int FP420G4Hit::getUnitID ( ) const

Definition at line 136 of file FP420G4Hit.cc.

References theUnitID.

Referenced by FP420SD::EndOfEvent(), FP420SD::HitExists(), operator<<(), and FP420Test::update().

{return theUnitID; }
float FP420G4Hit::getVx ( ) const

Definition at line 177 of file FP420G4Hit.cc.

References theVx.

Referenced by operator<<().

{ return theVx;}
float FP420G4Hit::getVy ( ) const

Definition at line 180 of file FP420G4Hit.cc.

References theVy.

Referenced by operator<<().

{ return theVy;}
float FP420G4Hit::getVz ( ) const

Definition at line 183 of file FP420G4Hit.cc.

References theVz.

Referenced by operator<<().

{ return theVz;}
float FP420G4Hit::getX ( ) const

Definition at line 165 of file FP420G4Hit.cc.

References theX.

Referenced by operator<<().

{ return theX;}
float FP420G4Hit::getY ( ) const

Definition at line 168 of file FP420G4Hit.cc.

References theY.

Referenced by operator<<().

{ return theY;}
float FP420G4Hit::getZ ( ) const

Definition at line 171 of file FP420G4Hit.cc.

References theZ.

Referenced by operator<<().

{ return theZ;}
const FP420G4Hit & FP420G4Hit::operator= ( const FP420G4Hit right)
int FP420G4Hit::operator== ( const FP420G4Hit ) [inline]

Definition at line 27 of file FP420G4Hit.h.

{return 0;}
void FP420G4Hit::Print ( void  )

Definition at line 111 of file FP420G4Hit.cc.

References gather_cfg::cout.

                       {
  std::cout << (*this);
}
void FP420G4Hit::setEM ( double  e)

Definition at line 125 of file FP420G4Hit.cc.

References ExpressReco_HICollisions_FallBack::e, and elem.

{ elem     = e; }
void FP420G4Hit::setEnergyLoss ( float  e)

Definition at line 156 of file FP420G4Hit.cc.

References ExpressReco_HICollisions_FallBack::e, and theEnergyLoss.

Referenced by FP420SD::CreateNewHit().

void FP420G4Hit::setEntry ( G4ThreeVector  xyz)

Definition at line 116 of file FP420G4Hit.cc.

Referenced by FP420SD::CreateNewHit().

{ entry    = xyz; }
void FP420G4Hit::setEntryLocalP ( G4ThreeVector  xyz1)

Definition at line 119 of file FP420G4Hit.cc.

References entrylp.

Referenced by FP420SD::CreateNewHit().

{ entrylp    = xyz1; }
void FP420G4Hit::setExitLocalP ( G4ThreeVector  xyz1)

Definition at line 122 of file FP420G4Hit.cc.

References exitlp.

Referenced by FP420SD::CreateNewHit().

{ exitlp    = xyz1; }
void FP420G4Hit::setHadr ( double  e)

Definition at line 128 of file FP420G4Hit.cc.

References ExpressReco_HICollisions_FallBack::e, and hadr.

{ hadr     = e; }
void FP420G4Hit::setIncidentEnergy ( double  e)

Definition at line 131 of file FP420G4Hit.cc.

References ExpressReco_HICollisions_FallBack::e, and theIncidentEnergy.

Referenced by FP420SD::CreateNewHit().

void FP420G4Hit::setPabs ( float  e)

Definition at line 153 of file FP420G4Hit.cc.

References ExpressReco_HICollisions_FallBack::e, and thePabs.

Referenced by FP420SD::CreateNewHit().

{thePabs = e;}
void FP420G4Hit::setParentId ( int  p)

Definition at line 175 of file FP420G4Hit.cc.

References L1TEmulatorMonitor_cff::p, and theParentId.

Referenced by FP420SD::CreateNewHit().

void FP420G4Hit::setParticleType ( short  i)

Definition at line 157 of file FP420G4Hit.cc.

References i, and theParticleType.

Referenced by FP420SD::CreateNewHit().

void FP420G4Hit::setPhiAtEntry ( float  f)

Definition at line 163 of file FP420G4Hit.cc.

References f, and thePhiAtEntry.

Referenced by FP420SD::CreateNewHit().

void FP420G4Hit::setThetaAtEntry ( float  t)

Definition at line 162 of file FP420G4Hit.cc.

References matplotRender::t, and theThetaAtEntry.

Referenced by FP420SD::CreateNewHit().

void FP420G4Hit::setTimeSlice ( double  d)

Definition at line 140 of file FP420G4Hit.cc.

References theTimeSlice.

Referenced by FP420SD::CreateNewHit().

{ theTimeSlice = d; }
void FP420G4Hit::setTof ( float  e)

Definition at line 154 of file FP420G4Hit.cc.

References ExpressReco_HICollisions_FallBack::e, and theTof.

Referenced by FP420SD::CreateNewHit().

{theTof = e;}
void FP420G4Hit::setTrackID ( int  i)

Definition at line 134 of file FP420G4Hit.cc.

References i, and theTrackID.

Referenced by FP420SD::CreateNewHit().

{ theTrackID = i; }
void FP420G4Hit::setUnitID ( unsigned int  i)

Definition at line 137 of file FP420G4Hit.cc.

References i, and theUnitID.

Referenced by FP420SD::CreateNewHit().

{ theUnitID = i; }
void FP420G4Hit::setVx ( float  p)

Definition at line 178 of file FP420G4Hit.cc.

References matplotRender::t, and theVx.

Referenced by FP420SD::CreateNewHit().

{theVx = t;}
void FP420G4Hit::setVy ( float  p)

Definition at line 181 of file FP420G4Hit.cc.

References matplotRender::t, and theVy.

Referenced by FP420SD::CreateNewHit().

{theVy = t;}
void FP420G4Hit::setVz ( float  p)

Definition at line 184 of file FP420G4Hit.cc.

References matplotRender::t, and theVz.

Referenced by FP420SD::CreateNewHit().

{theVz = t;}
void FP420G4Hit::setX ( float  t)

Definition at line 166 of file FP420G4Hit.cc.

References matplotRender::t, and theX.

Referenced by FP420SD::CreateNewHit().

{theX = t;}
void FP420G4Hit::setY ( float  t)

Definition at line 169 of file FP420G4Hit.cc.

References matplotRender::t, and theY.

Referenced by FP420SD::CreateNewHit().

{theY = t;}
void FP420G4Hit::setZ ( float  t)

Definition at line 172 of file FP420G4Hit.cc.

References matplotRender::t, and theZ.

Referenced by FP420SD::CreateNewHit().

{theZ = t;}

Member Data Documentation

double FP420G4Hit::elem [private]

Definition at line 109 of file FP420G4Hit.h.

Referenced by addEnergyDeposit(), FP420G4Hit(), getEM(), getEnergyDeposit(), operator=(), and setEM().

G4ThreeVector FP420G4Hit::entry [private]

Definition at line 106 of file FP420G4Hit.h.

Referenced by FP420G4Hit(), getEntry(), and operator=().

G4ThreeVector FP420G4Hit::entrylp [private]

Definition at line 107 of file FP420G4Hit.h.

Referenced by FP420G4Hit(), getEntryLocalP(), operator=(), and setEntryLocalP().

G4ThreeVector FP420G4Hit::exitlp [private]

Definition at line 108 of file FP420G4Hit.h.

Referenced by FP420G4Hit(), getExitLocalP(), operator=(), and setExitLocalP().

double FP420G4Hit::hadr [private]
float FP420G4Hit::theEnergyLoss [private]

Definition at line 123 of file FP420G4Hit.h.

Referenced by addEnergyLoss(), FP420G4Hit(), getEnergyLoss(), operator=(), and setEnergyLoss().

Definition at line 111 of file FP420G4Hit.h.

Referenced by FP420G4Hit(), getIncidentEnergy(), operator=(), and setIncidentEnergy().

float FP420G4Hit::thePabs [private]

Definition at line 121 of file FP420G4Hit.h.

Referenced by FP420G4Hit(), getPabs(), operator=(), and setPabs().

int FP420G4Hit::theParentId [private]

Definition at line 130 of file FP420G4Hit.h.

Referenced by FP420G4Hit(), getParentId(), operator=(), and setParentId().

Definition at line 124 of file FP420G4Hit.h.

Referenced by FP420G4Hit(), getParticleType(), operator=(), and setParticleType().

float FP420G4Hit::thePhiAtEntry [private]

Definition at line 128 of file FP420G4Hit.h.

Referenced by FP420G4Hit(), getPhiAtEntry(), operator=(), and setPhiAtEntry().

float FP420G4Hit::theThetaAtEntry [private]

Definition at line 127 of file FP420G4Hit.h.

Referenced by FP420G4Hit(), getThetaAtEntry(), operator=(), and setThetaAtEntry().

double FP420G4Hit::theTimeSlice [private]

Definition at line 114 of file FP420G4Hit.h.

Referenced by FP420G4Hit(), getTimeSlice(), getTimeSliceID(), operator=(), and setTimeSlice().

float FP420G4Hit::theTof [private]

Definition at line 122 of file FP420G4Hit.h.

Referenced by FP420G4Hit(), getTof(), operator=(), and setTof().

G4int FP420G4Hit::theTrackID [private]

Definition at line 112 of file FP420G4Hit.h.

Referenced by FP420G4Hit(), getTrackID(), operator=(), and setTrackID().

int FP420G4Hit::theUnitID [private]

Definition at line 116 of file FP420G4Hit.h.

Referenced by FP420G4Hit(), getUnitID(), operator=(), and setUnitID().

float FP420G4Hit::theVx [private]

Definition at line 131 of file FP420G4Hit.h.

Referenced by FP420G4Hit(), getVx(), operator=(), and setVx().

float FP420G4Hit::theVy [private]

Definition at line 132 of file FP420G4Hit.h.

Referenced by FP420G4Hit(), getVy(), operator=(), and setVy().

float FP420G4Hit::theVz [private]

Definition at line 133 of file FP420G4Hit.h.

Referenced by FP420G4Hit(), getVz(), operator=(), and setVz().

float FP420G4Hit::theX [private]

Definition at line 118 of file FP420G4Hit.h.

Referenced by FP420G4Hit(), getX(), operator=(), and setX().

float FP420G4Hit::theY [private]

Definition at line 119 of file FP420G4Hit.h.

Referenced by FP420G4Hit(), getY(), operator=(), and setY().

float FP420G4Hit::theZ [private]

Definition at line 120 of file FP420G4Hit.h.

Referenced by FP420G4Hit(), getZ(), operator=(), and setZ().