#include <PValidationFormats.h>
Classes | |
struct | BrlHit |
struct | CalHit |
struct | FwdHit |
struct | Trk |
struct | Vtx |
Public Types | |
typedef std::vector< BrlHit > | BrlVector |
typedef std::vector< CalHit > | CalVector |
typedef std::vector< FwdHit > | FwdVector |
typedef std::vector< Trk > | TrkVector |
typedef std::vector< Vtx > | VtxVector |
Public Member Functions | |
CalVector | getECalHits () const |
TrkVector | getG4Trk () const |
VtxVector | getG4Vtx () const |
CalVector | getHCalHits () const |
FwdVector | getMuonCscHits () const |
BrlVector | getMuonDtHits () const |
BrlVector | getMuonRpcBrlHits () const |
FwdVector | getMuonRpcFwdHits () const |
int | getnECalHits () const |
int | getnG4Trk () const |
int | getnG4Vtx () const |
int | getnHCalHits () const |
int | getnMuonCscHits () const |
int | getnMuonDtHits () const |
int | getnMuonRpcBrlHits () const |
int | getnMuonRpcFwdHits () const |
int | getnPreShHits () const |
int | getnPxlBrlHits () const |
int | getnPxlFwdHits () const |
int | getnRawGenPart () const |
int | getnSiBrlHits () const |
int | getnSiFwdHits () const |
CalVector | getPreShHits () const |
BrlVector | getPxlBrlHits () const |
FwdVector | getPxlFwdHits () const |
BrlVector | getSiBrlHits () const |
FwdVector | getSiFwdHits () const |
PGlobalSimHit () | |
void | putECalHits (std::vector< float > e, std::vector< float > tof, std::vector< float > phi, std::vector< float > eta) |
void | putG4Trk (std::vector< float > pt, std::vector< float > e) |
void | putG4Vtx (std::vector< float > x, std::vector< float > y, std::vector< float > z) |
void | putHCalHits (std::vector< float > e, std::vector< float > tof, std::vector< float > phi, std::vector< float > eta) |
void | putMuonCscHits (std::vector< float > tof, std::vector< float > z, std::vector< float > phi, std::vector< float > eta) |
void | putMuonDtHits (std::vector< float > tof, std::vector< float > r, std::vector< float > phi, std::vector< float > eta) |
void | putMuonRpcBrlHits (std::vector< float > tof, std::vector< float > r, std::vector< float > phi, std::vector< float > eta) |
void | putMuonRpcFwdHits (std::vector< float > tof, std::vector< float > z, std::vector< float > phi, std::vector< float > eta) |
void | putPreShHits (std::vector< float > e, std::vector< float > tof, std::vector< float > phi, std::vector< float > eta) |
void | putPxlBrlHits (std::vector< float > tof, std::vector< float > r, std::vector< float > phi, std::vector< float > eta) |
void | putPxlFwdHits (std::vector< float > tof, std::vector< float > z, std::vector< float > phi, std::vector< float > eta) |
void | putRawGenPart (int n) |
void | putSiBrlHits (std::vector< float > tof, std::vector< float > r, std::vector< float > phi, std::vector< float > eta) |
void | putSiFwdHits (std::vector< float > tof, std::vector< float > z, std::vector< float > phi, std::vector< float > eta) |
virtual | ~PGlobalSimHit () |
Private Attributes | |
CalVector | ECalHits |
TrkVector | G4Trk |
VtxVector | G4Vtx |
CalVector | HCalHits |
FwdVector | MuonCscHits |
BrlVector | MuonDtHits |
BrlVector | MuonRpcBrlHits |
FwdVector | MuonRpcFwdHits |
int | nECalHits |
int | nG4Trk |
int | nG4Vtx |
int | nHCalHits |
int | nMuonCscHits |
int | nMuonDtHits |
int | nMuonRpcBrlHits |
int | nMuonRpcFwdHits |
int | nPreShHits |
int | nPxlBrlHits |
int | nPxlFwdHits |
int | nRawGenPart |
int | nSiBrlHits |
int | nSiFwdHits |
CalVector | PreShHits |
BrlVector | PxlBrlHits |
FwdVector | PxlFwdHits |
BrlVector | SiBrlHits |
FwdVector | SiFwdHits |
DataFormat class to hold the information for the Global Hit Validation
Definition at line 22 of file PValidationFormats.h.
typedef std::vector<BrlHit> PGlobalSimHit::BrlVector |
Definition at line 80 of file PValidationFormats.h.
typedef std::vector<CalHit> PGlobalSimHit::CalVector |
Definition at line 78 of file PValidationFormats.h.
typedef std::vector<FwdHit> PGlobalSimHit::FwdVector |
Definition at line 79 of file PValidationFormats.h.
typedef std::vector<Trk> PGlobalSimHit::TrkVector |
Definition at line 77 of file PValidationFormats.h.
typedef std::vector<Vtx> PGlobalSimHit::VtxVector |
Definition at line 76 of file PValidationFormats.h.
PGlobalSimHit::PGlobalSimHit | ( | ) | [inline] |
Definition at line 27 of file PValidationFormats.h.
: nRawGenPart(0), nG4Vtx(0), nG4Trk(0), nECalHits(0), nPreShHits(0), nHCalHits(0), nPxlFwdHits(0), nPxlBrlHits(0), nSiFwdHits(0), nSiBrlHits(0), nMuonDtHits(0), nMuonCscHits(0), nMuonRpcFwdHits(0), nMuonRpcBrlHits(0) {}
virtual PGlobalSimHit::~PGlobalSimHit | ( | ) | [inline, virtual] |
Definition at line 32 of file PValidationFormats.h.
{}
CalVector PGlobalSimHit::getECalHits | ( | ) | const [inline] |
TrkVector PGlobalSimHit::getG4Trk | ( | ) | const [inline] |
VtxVector PGlobalSimHit::getG4Vtx | ( | ) | const [inline] |
CalVector PGlobalSimHit::getHCalHits | ( | ) | const [inline] |
FwdVector PGlobalSimHit::getMuonCscHits | ( | ) | const [inline] |
BrlVector PGlobalSimHit::getMuonDtHits | ( | ) | const [inline] |
BrlVector PGlobalSimHit::getMuonRpcBrlHits | ( | ) | const [inline] |
Definition at line 136 of file PValidationFormats.h.
References MuonRpcBrlHits.
{return MuonRpcBrlHits;}
FwdVector PGlobalSimHit::getMuonRpcFwdHits | ( | ) | const [inline] |
Definition at line 134 of file PValidationFormats.h.
References MuonRpcFwdHits.
{return MuonRpcFwdHits;}
int PGlobalSimHit::getnECalHits | ( | ) | const [inline] |
int PGlobalSimHit::getnG4Trk | ( | ) | const [inline] |
int PGlobalSimHit::getnG4Vtx | ( | ) | const [inline] |
int PGlobalSimHit::getnHCalHits | ( | ) | const [inline] |
int PGlobalSimHit::getnMuonCscHits | ( | ) | const [inline] |
Definition at line 131 of file PValidationFormats.h.
References nMuonCscHits.
{return nMuonCscHits;}
int PGlobalSimHit::getnMuonDtHits | ( | ) | const [inline] |
int PGlobalSimHit::getnMuonRpcBrlHits | ( | ) | const [inline] |
Definition at line 135 of file PValidationFormats.h.
References nMuonRpcBrlHits.
{return nMuonRpcBrlHits;}
int PGlobalSimHit::getnMuonRpcFwdHits | ( | ) | const [inline] |
Definition at line 133 of file PValidationFormats.h.
References nMuonRpcFwdHits.
{return nMuonRpcFwdHits;}
int PGlobalSimHit::getnPreShHits | ( | ) | const [inline] |
int PGlobalSimHit::getnPxlBrlHits | ( | ) | const [inline] |
int PGlobalSimHit::getnPxlFwdHits | ( | ) | const [inline] |
int PGlobalSimHit::getnRawGenPart | ( | ) | const [inline] |
int PGlobalSimHit::getnSiBrlHits | ( | ) | const [inline] |
int PGlobalSimHit::getnSiFwdHits | ( | ) | const [inline] |
CalVector PGlobalSimHit::getPreShHits | ( | ) | const [inline] |
BrlVector PGlobalSimHit::getPxlBrlHits | ( | ) | const [inline] |
FwdVector PGlobalSimHit::getPxlFwdHits | ( | ) | const [inline] |
BrlVector PGlobalSimHit::getSiBrlHits | ( | ) | const [inline] |
FwdVector PGlobalSimHit::getSiFwdHits | ( | ) | const [inline] |
void PGlobalSimHit::putECalHits | ( | std::vector< float > | e, |
std::vector< float > | tof, | ||
std::vector< float > | phi, | ||
std::vector< float > | eta | ||
) |
Definition at line 49 of file PValidationFormats.cc.
References ECalHits, i, and nECalHits.
Referenced by GlobalHitsProducer::storeECal().
void PGlobalSimHit::putG4Trk | ( | std::vector< float > | pt, |
std::vector< float > | e | ||
) |
void PGlobalSimHit::putG4Vtx | ( | std::vector< float > | x, |
std::vector< float > | y, | ||
std::vector< float > | z | ||
) |
void PGlobalSimHit::putHCalHits | ( | std::vector< float > | e, |
std::vector< float > | tof, | ||
std::vector< float > | phi, | ||
std::vector< float > | eta | ||
) |
Definition at line 81 of file PValidationFormats.cc.
References HCalHits, i, and nHCalHits.
Referenced by GlobalHitsProducer::storeHCal().
void PGlobalSimHit::putMuonCscHits | ( | std::vector< float > | tof, |
std::vector< float > | z, | ||
std::vector< float > | phi, | ||
std::vector< float > | eta | ||
) |
Definition at line 164 of file PValidationFormats.cc.
References i, MuonCscHits, and nMuonCscHits.
Referenced by GlobalHitsProducer::storeMuon().
{ nMuonCscHits = tof.size(); MuonCscHits.resize(nMuonCscHits); for (int i = 0; i < nMuonCscHits; ++i) { MuonCscHits[i].tof = tof[i]; MuonCscHits[i].z = z[i]; MuonCscHits[i].phi = phi[i]; MuonCscHits[i].eta = eta[i]; } return; }
void PGlobalSimHit::putMuonDtHits | ( | std::vector< float > | tof, |
std::vector< float > | r, | ||
std::vector< float > | phi, | ||
std::vector< float > | eta | ||
) |
Definition at line 181 of file PValidationFormats.cc.
References i, MuonDtHits, and nMuonDtHits.
Referenced by GlobalHitsProducer::storeMuon().
{ nMuonDtHits = tof.size(); MuonDtHits.resize(nMuonDtHits); for (int i = 0; i < nMuonDtHits; ++i) { MuonDtHits[i].tof = tof[i]; MuonDtHits[i].r = r[i]; MuonDtHits[i].phi = phi[i]; MuonDtHits[i].eta = eta[i]; } return; }
void PGlobalSimHit::putMuonRpcBrlHits | ( | std::vector< float > | tof, |
std::vector< float > | r, | ||
std::vector< float > | phi, | ||
std::vector< float > | eta | ||
) |
Definition at line 215 of file PValidationFormats.cc.
References i, MuonRpcBrlHits, and nMuonRpcBrlHits.
Referenced by GlobalHitsProducer::storeMuon().
{ nMuonRpcBrlHits = tof.size(); MuonRpcBrlHits.resize(nMuonRpcBrlHits); for (int i = 0; i < nMuonRpcBrlHits; ++i) { MuonRpcBrlHits[i].tof = tof[i]; MuonRpcBrlHits[i].r = r[i]; MuonRpcBrlHits[i].phi = phi[i]; MuonRpcBrlHits[i].eta = eta[i]; } return; }
void PGlobalSimHit::putMuonRpcFwdHits | ( | std::vector< float > | tof, |
std::vector< float > | z, | ||
std::vector< float > | phi, | ||
std::vector< float > | eta | ||
) |
Definition at line 198 of file PValidationFormats.cc.
References i, MuonRpcFwdHits, and nMuonRpcFwdHits.
Referenced by GlobalHitsProducer::storeMuon().
{ nMuonRpcFwdHits = tof.size(); MuonRpcFwdHits.resize(nMuonRpcFwdHits); for (int i = 0; i < nMuonRpcFwdHits; ++i) { MuonRpcFwdHits[i].tof = tof[i]; MuonRpcFwdHits[i].z = z[i]; MuonRpcFwdHits[i].phi = phi[i]; MuonRpcFwdHits[i].eta = eta[i]; } return; }
void PGlobalSimHit::putPreShHits | ( | std::vector< float > | e, |
std::vector< float > | tof, | ||
std::vector< float > | phi, | ||
std::vector< float > | eta | ||
) |
Definition at line 65 of file PValidationFormats.cc.
References i, nPreShHits, and PreShHits.
Referenced by GlobalHitsProducer::storeECal().
void PGlobalSimHit::putPxlBrlHits | ( | std::vector< float > | tof, |
std::vector< float > | r, | ||
std::vector< float > | phi, | ||
std::vector< float > | eta | ||
) |
Definition at line 114 of file PValidationFormats.cc.
References i, nPxlBrlHits, and PxlBrlHits.
Referenced by GlobalHitsProducer::storeTrk().
{ nPxlBrlHits = tof.size(); PxlBrlHits.resize(nPxlBrlHits); for (int i = 0; i < nPxlBrlHits; ++i) { PxlBrlHits[i].tof = tof[i]; PxlBrlHits[i].r = r[i]; PxlBrlHits[i].phi = phi[i]; PxlBrlHits[i].eta = eta[i]; } return; }
void PGlobalSimHit::putPxlFwdHits | ( | std::vector< float > | tof, |
std::vector< float > | z, | ||
std::vector< float > | phi, | ||
std::vector< float > | eta | ||
) |
Definition at line 97 of file PValidationFormats.cc.
References i, nPxlFwdHits, and PxlFwdHits.
Referenced by GlobalHitsProducer::storeTrk().
{ nPxlFwdHits = tof.size(); PxlFwdHits.resize(nPxlFwdHits); for (int i = 0; i < nPxlFwdHits; ++i) { PxlFwdHits[i].tof = tof[i]; PxlFwdHits[i].z = z[i]; PxlFwdHits[i].phi = phi[i]; PxlFwdHits[i].eta = eta[i]; } return; }
void PGlobalSimHit::putRawGenPart | ( | int | n | ) |
Definition at line 17 of file PValidationFormats.cc.
References n, and nRawGenPart.
Referenced by GlobalHitsProducer::storeG4MC().
{ nRawGenPart = n; return; }
void PGlobalSimHit::putSiBrlHits | ( | std::vector< float > | tof, |
std::vector< float > | r, | ||
std::vector< float > | phi, | ||
std::vector< float > | eta | ||
) |
Definition at line 148 of file PValidationFormats.cc.
References i, nSiBrlHits, and SiBrlHits.
Referenced by GlobalHitsProducer::storeTrk().
void PGlobalSimHit::putSiFwdHits | ( | std::vector< float > | tof, |
std::vector< float > | z, | ||
std::vector< float > | phi, | ||
std::vector< float > | eta | ||
) |
Definition at line 131 of file PValidationFormats.cc.
References i, nSiFwdHits, and SiFwdHits.
Referenced by GlobalHitsProducer::storeTrk().
CalVector PGlobalSimHit::ECalHits [private] |
Definition at line 149 of file PValidationFormats.h.
Referenced by getECalHits(), and putECalHits().
TrkVector PGlobalSimHit::G4Trk [private] |
Definition at line 145 of file PValidationFormats.h.
Referenced by getG4Trk(), and putG4Trk().
VtxVector PGlobalSimHit::G4Vtx [private] |
Definition at line 143 of file PValidationFormats.h.
Referenced by getG4Vtx(), and putG4Vtx().
CalVector PGlobalSimHit::HCalHits [private] |
Definition at line 155 of file PValidationFormats.h.
Referenced by getHCalHits(), and putHCalHits().
FwdVector PGlobalSimHit::MuonCscHits [private] |
Definition at line 171 of file PValidationFormats.h.
Referenced by getMuonCscHits(), and putMuonCscHits().
BrlVector PGlobalSimHit::MuonDtHits [private] |
Definition at line 169 of file PValidationFormats.h.
Referenced by getMuonDtHits(), and putMuonDtHits().
BrlVector PGlobalSimHit::MuonRpcBrlHits [private] |
Definition at line 175 of file PValidationFormats.h.
Referenced by getMuonRpcBrlHits(), and putMuonRpcBrlHits().
FwdVector PGlobalSimHit::MuonRpcFwdHits [private] |
Definition at line 173 of file PValidationFormats.h.
Referenced by getMuonRpcFwdHits(), and putMuonRpcFwdHits().
int PGlobalSimHit::nECalHits [private] |
Definition at line 148 of file PValidationFormats.h.
Referenced by getnECalHits(), and putECalHits().
int PGlobalSimHit::nG4Trk [private] |
Definition at line 144 of file PValidationFormats.h.
Referenced by getnG4Trk(), and putG4Trk().
int PGlobalSimHit::nG4Vtx [private] |
Definition at line 142 of file PValidationFormats.h.
Referenced by getnG4Vtx(), and putG4Vtx().
int PGlobalSimHit::nHCalHits [private] |
Definition at line 154 of file PValidationFormats.h.
Referenced by getnHCalHits(), and putHCalHits().
int PGlobalSimHit::nMuonCscHits [private] |
Definition at line 170 of file PValidationFormats.h.
Referenced by getnMuonCscHits(), and putMuonCscHits().
int PGlobalSimHit::nMuonDtHits [private] |
Definition at line 168 of file PValidationFormats.h.
Referenced by getnMuonDtHits(), and putMuonDtHits().
int PGlobalSimHit::nMuonRpcBrlHits [private] |
Definition at line 174 of file PValidationFormats.h.
Referenced by getnMuonRpcBrlHits(), and putMuonRpcBrlHits().
int PGlobalSimHit::nMuonRpcFwdHits [private] |
Definition at line 172 of file PValidationFormats.h.
Referenced by getnMuonRpcFwdHits(), and putMuonRpcFwdHits().
int PGlobalSimHit::nPreShHits [private] |
Definition at line 150 of file PValidationFormats.h.
Referenced by getnPreShHits(), and putPreShHits().
int PGlobalSimHit::nPxlBrlHits [private] |
Definition at line 160 of file PValidationFormats.h.
Referenced by getnPxlBrlHits(), and putPxlBrlHits().
int PGlobalSimHit::nPxlFwdHits [private] |
Definition at line 158 of file PValidationFormats.h.
Referenced by getnPxlFwdHits(), and putPxlFwdHits().
int PGlobalSimHit::nRawGenPart [private] |
Definition at line 141 of file PValidationFormats.h.
Referenced by getnRawGenPart(), and putRawGenPart().
int PGlobalSimHit::nSiBrlHits [private] |
Definition at line 164 of file PValidationFormats.h.
Referenced by getnSiBrlHits(), and putSiBrlHits().
int PGlobalSimHit::nSiFwdHits [private] |
Definition at line 162 of file PValidationFormats.h.
Referenced by getnSiFwdHits(), and putSiFwdHits().
CalVector PGlobalSimHit::PreShHits [private] |
Definition at line 151 of file PValidationFormats.h.
Referenced by getPreShHits(), and putPreShHits().
BrlVector PGlobalSimHit::PxlBrlHits [private] |
Definition at line 161 of file PValidationFormats.h.
Referenced by getPxlBrlHits(), and putPxlBrlHits().
FwdVector PGlobalSimHit::PxlFwdHits [private] |
Definition at line 159 of file PValidationFormats.h.
Referenced by getPxlFwdHits(), and putPxlFwdHits().
BrlVector PGlobalSimHit::SiBrlHits [private] |
Definition at line 165 of file PValidationFormats.h.
Referenced by getSiBrlHits(), and putSiBrlHits().
FwdVector PGlobalSimHit::SiFwdHits [private] |
Definition at line 163 of file PValidationFormats.h.
Referenced by getSiFwdHits(), and putSiFwdHits().