#include <CSCCrossGap.h>
Public Member Functions | |
void | addCluster (LocalPoint here) |
void | addElectrons (int nelec=1) |
void | addElectronToBack () |
void | addEloss (float eloss) |
void | addStep (double step) |
double | beta2 () const |
CSCCrossGap (double mass, float mom, LocalVector gap) | |
std::vector< int > | electrons () const |
std::vector< float > | eLossPerStep () const |
double | gamma () const |
LocalVector | gapVector () const |
std::vector< LocalPoint > | ionClusters () const |
float | length () const |
double | logGamma (double mass, float momentum) |
double | logGamma () |
int | noOfClusters () const |
int | noOfElectrons () const |
int | noOfElosses () const |
int | noOfSteps () const |
std::vector< double > | stepLengths () const |
LocalVector | unitVector () const |
~CSCCrossGap () | |
Private Attributes | |
std::vector< LocalPoint > | clusters |
std::vector< int > | electronsInClusters |
std::vector< float > | elosses |
double | loggam |
std::vector< double > | steps |
double | theBeta2 |
double | theGamma |
LocalVector | theGap |
Class used to represent one CSC gas gap crossing by a charged track.
This is used by CSCCSCGasCollisions in the digitization of the CSCs. Actually this may NOT model the whole gas gap, but just the path length corresponding to a PSimHit in the gap (i.e. from the PSimHit 'entry point' to its 'exit point'). PSimHit's can have a pretty evanescent existence and I can't pretend to have a full understanding of their full range of characteristics. Yet another thing 'to be studied'.
Definition at line 22 of file CSCCrossGap.h.
CSCCrossGap::CSCCrossGap | ( | double | mass, |
float | mom, | ||
LocalVector | gap | ||
) |
iam = particle type in PDG code. mom = momentum of particle gap = space std::vector representing the hit entry and exit
Definition at line 6 of file CSCCrossGap.cc.
References length(), logGamma(), and LogTrace.
|
inline |
Definition at line 31 of file CSCCrossGap.h.
|
inline |
Definition at line 42 of file CSCCrossGap.h.
References clusters.
Referenced by CSCGasCollisions::ionize().
|
inline |
Definition at line 43 of file CSCCrossGap.h.
References electronsInClusters.
Referenced by CSCGasCollisions::ionize().
|
inline |
Definition at line 44 of file CSCCrossGap.h.
References electronsInClusters.
Referenced by CSCGasCollisions::ionize().
|
inline |
Definition at line 47 of file CSCCrossGap.h.
References elosses.
Referenced by CSCGasCollisions::generateEnergyLoss().
|
inline |
Definition at line 46 of file CSCCrossGap.h.
References steps.
Referenced by CSCGasCollisions::generateStep().
|
inline |
Definition at line 51 of file CSCCrossGap.h.
References theBeta2.
Referenced by CSCGasCollisions::generateEnergyLoss().
|
inline |
Definition at line 35 of file CSCCrossGap.h.
References electronsInClusters.
Referenced by CSCGasCollisions::simulate(), and CSCGasCollisions::writeSummary().
|
inline |
Definition at line 39 of file CSCCrossGap.h.
References elosses.
Referenced by CSCGasCollisions::writeSummary().
|
inline |
Definition at line 52 of file CSCCrossGap.h.
References theGamma.
Referenced by CSCGasCollisions::generateEnergyLoss().
|
inline |
|
inline |
Definition at line 33 of file CSCCrossGap.h.
References clusters.
Referenced by CSCGasCollisions::simulate(), and CSCGasCollisions::writeSummary().
|
inline |
Definition at line 55 of file CSCCrossGap.h.
References PV3DBase< T, PVType, FrameType >::mag(), and theGap.
Referenced by CSCCrossGap(), and CSCGasCollisions::simulate().
double CSCCrossGap::logGamma | ( | double | mass, |
float | momentum | ||
) |
Definition at line 23 of file CSCCrossGap.cc.
References dqm-mbProfile::log, loggam, LogTrace, bookConverter::max, mathSSE::sqrt(), theBeta2, and theGamma.
Referenced by CSCGasCollisions::simulate().
|
inline |
|
inline |
Definition at line 34 of file CSCCrossGap.h.
References clusters.
Referenced by CSCGasCollisions::ionize().
|
inline |
Definition at line 36 of file CSCCrossGap.h.
References electronsInClusters.
Referenced by CSCGasCollisions::ionize().
|
inline |
|
inline |
|
inline |
Definition at line 37 of file CSCCrossGap.h.
References steps.
Referenced by CSCGasCollisions::writeSummary().
|
inline |
Definition at line 54 of file CSCCrossGap.h.
References theGap, and Vector3DBase< T, FrameTag >::unit().
Referenced by CSCGasCollisions::ionize(), and CSCGasCollisions::simulate().
|
private |
Definition at line 64 of file CSCCrossGap.h.
Referenced by addCluster(), ionClusters(), and noOfClusters().
|
private |
Definition at line 65 of file CSCCrossGap.h.
Referenced by addElectrons(), addElectronToBack(), electrons(), and noOfElectrons().
|
private |
Definition at line 67 of file CSCCrossGap.h.
Referenced by addEloss(), eLossPerStep(), and noOfElosses().
|
private |
Definition at line 61 of file CSCCrossGap.h.
Referenced by logGamma().
|
private |
Definition at line 66 of file CSCCrossGap.h.
Referenced by addStep(), noOfSteps(), and stepLengths().
|
private |
Definition at line 59 of file CSCCrossGap.h.
Referenced by beta2(), and logGamma().
|
private |
Definition at line 60 of file CSCCrossGap.h.
Referenced by gamma(), and logGamma().
|
private |
Definition at line 62 of file CSCCrossGap.h.
Referenced by gapVector(), length(), and unitVector().