#include <Hector.h>
Public Member Functions | |
void | add (const HepMC::GenEvent *ev, const edm::EventSetup &es) |
HepMC::GenEvent * | addPartToHepMC (HepMC::GenEvent *event) |
void | clear () |
void | clearApertureFlags () |
void | filterD1 (TRandom3 *) |
void | filterFP420 (TRandom3 *) |
void | filterZDC (TRandom3 *) |
std::vector< LHCTransportLink > & | getCorrespondenceMap () |
int | getDirect (unsigned int part_n) const |
Hector (const edm::ParameterSet &ps, const edm::ESGetToken< HepPDT::ParticleDataTable, PDTRecord > &, bool verbosity, bool FP420Transport, bool ZDCTransport) | |
void | print () const |
virtual | ~Hector () |
Private Attributes | |
string | beam1filename |
string | beam2filename |
double | etacut |
double | lengthd1 |
double | lengthfp420 |
double | lengthzdc |
H_BeamLine * | m_beamlineD11 |
H_BeamLine * | m_beamlineD12 |
H_BeamLine * | m_beamlineFP4201 |
H_BeamLine * | m_beamlineFP4202 |
H_BeamLine * | m_beamlineZDC1 |
H_BeamLine * | m_beamlineZDC2 |
std::map< unsigned int, H_BeamParticle * > | m_beamPart |
std::map< unsigned int, int > | m_direct |
std::map< unsigned int, double > | m_eAtTrPoint |
std::map< unsigned int, double > | m_eta |
bool | m_FP420Transport |
std::map< unsigned int, bool > | m_isCharged |
std::map< unsigned int, bool > | m_isStoppedd1 |
std::map< unsigned int, bool > | m_isStoppedfp420 |
std::map< unsigned int, bool > | m_isStoppedzdc |
std::map< unsigned int, int > | m_pdg |
std::map< unsigned int, double > | m_pz |
H_RecRPObject * | m_rp420_b |
H_RecRPObject * | m_rp420_f |
float | m_rpp420_b |
float | m_rpp420_f |
float | m_rppd1 |
float | m_rppzdc |
double | m_sig_e |
double | m_sigmaSTX |
double | m_sigmaSTY |
bool | m_smearAng |
bool | m_smearE |
std::map< unsigned int, double > | m_TxAtTrPoint |
std::map< unsigned int, double > | m_TyAtTrPoint |
bool | m_verbosity |
std::map< unsigned int, double > | m_xAtTrPoint |
std::map< unsigned int, double > | m_yAtTrPoint |
bool | m_ZDCTransport |
edm::ESHandle< ParticleDataTable > | pdt |
std::vector< LHCTransportLink > | theCorrespondenceMap |
const edm::ESGetToken< HepPDT::ParticleDataTable, PDTRecord > | tok_pdt_ |
Hector::Hector | ( | const edm::ParameterSet & | ps, |
const edm::ESGetToken< HepPDT::ParticleDataTable, PDTRecord > & | token, | ||
bool | verbosity, | ||
bool | FP420Transport, | ||
bool | ZDCTransport | ||
) |
Definition at line 17 of file Hector.cc.
References b1, b2, beam1filename, beam2filename, etacut, dqmMemoryStats::float, edm::ParameterSet::getParameter(), lengthd1, lengthfp420, lengthzdc, LogDebug, m_beamlineD11, m_beamlineD12, m_beamlineFP4201, m_beamlineFP4202, m_beamlineZDC1, m_beamlineZDC2, m_FP420Transport, m_rpp420_b, m_rpp420_f, m_rppd1, m_rppzdc, m_sig_e, m_sigmaSTX, m_sigmaSTY, m_smearAng, m_smearE, m_verbosity, m_ZDCTransport, and theCorrespondenceMap.
|
virtual |
Definition at line 136 of file Hector.cc.
References m_beamlineD11, m_beamlineD12, m_beamlineFP4201, m_beamlineFP4202, m_beamlineZDC1, m_beamlineZDC2, and m_beamPart.
void Hector::add | ( | const HepMC::GenEvent * | ev, |
const edm::EventSetup & | es | ||
) |
Adds the stable protons from the event ev to a beamline
Definition at line 167 of file Hector.cc.
References funct::abs(), ALCARECOTkAlJpsiMuMu_cff::charge, etacut, g, GenParticle::GenParticle, edm::EventSetup::getHandle(), mps_splice::line, m_beamPart, m_direct, m_eta, m_isCharged, m_pdg, m_pz, m_verbosity, EgHLTOffHistBins_cfi::mass, pdt, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, and tok_pdt_.
Referenced by counter.Counter::register().
HepMC::GenEvent * Hector::addPartToHepMC | ( | HepMC::GenEvent * | event | ) |
Return vector of the particle lines (HepMC::GenParticle::barcode()) in a beamline
Definition at line 506 of file Hector.cc.
References funct::cos(), HCALHighEnergyHPDFilter_cfi::energy, GenParticle::GenParticle, lengthd1, mps_splice::line, LogDebug, m_beamPart, m_direct, m_eAtTrPoint, m_FP420Transport, m_isStoppedd1, m_isStoppedfp420, m_isStoppedzdc, m_rpp420_b, m_rpp420_f, m_TxAtTrPoint, m_TyAtTrPoint, m_verbosity, m_xAtTrPoint, m_yAtTrPoint, m_ZDCTransport, Pi, edm::second(), funct::sin(), mathSSE::sqrt(), theCorrespondenceMap, theta(), and protons_cff::time.
void Hector::clear | ( | void | ) |
Clears BeamParticle, prepares Hector for a next Aperture check or/and a next event
Definition at line 155 of file Hector.cc.
References m_beamPart, m_direct, m_eta, m_isCharged, m_pdg, and m_pz.
void Hector::clearApertureFlags | ( | ) |
Clears ApertureFlags, prepares Hector for a next event
Definition at line 149 of file Hector.cc.
References m_isStoppedd1, m_isStoppedfp420, and m_isStoppedzdc.
void Hector::filterD1 | ( | TRandom3 * | rootEngine | ) |
propagate the particles through a beamline to ZDC
Definition at line 405 of file Hector.cc.
References lengthd1, mps_splice::line, LogDebug, m_beamlineD11, m_beamlineD12, m_beamPart, m_direct, m_eAtTrPoint, m_isCharged, m_isStoppedd1, m_isStoppedzdc, m_sig_e, m_sigmaSTX, m_sigmaSTY, m_smearAng, m_smearE, m_TxAtTrPoint, m_TyAtTrPoint, m_verbosity, m_xAtTrPoint, m_yAtTrPoint, and edm::second().
void Hector::filterFP420 | ( | TRandom3 * | rootEngine | ) |
propagate the particles through a beamline to FP420
Definition at line 230 of file Hector.cc.
References lengthfp420, mps_splice::line, LogDebug, m_beamlineFP4201, m_beamlineFP4202, m_beamPart, m_direct, m_eAtTrPoint, m_isCharged, m_isStoppedfp420, m_rpp420_b, m_rpp420_f, m_sig_e, m_sigmaSTX, m_sigmaSTY, m_smearAng, m_smearE, m_TxAtTrPoint, m_TyAtTrPoint, m_verbosity, m_xAtTrPoint, m_yAtTrPoint, and edm::second().
void Hector::filterZDC | ( | TRandom3 * | rootEngine | ) |
propagate the particles through a beamline to ZDC
Definition at line 322 of file Hector.cc.
References lengthzdc, mps_splice::line, LogDebug, m_beamlineZDC1, m_beamlineZDC2, m_beamPart, m_direct, m_FP420Transport, m_isCharged, m_isStoppedfp420, m_isStoppedzdc, m_sig_e, m_sigmaSTX, m_sigmaSTY, m_smearAng, m_smearE, m_verbosity, and edm::second().
|
inline |
Definition at line 68 of file Hector.h.
References theCorrespondenceMap.
int Hector::getDirect | ( | unsigned int | part_n | ) | const |
void Hector::print | ( | void | ) | const |
Prints properties of all particles in a beamline
Definition at line 500 of file Hector.cc.
References m_beamPart.
|
private |
|
private |
|
private |
|
private |
Definition at line 79 of file Hector.h.
Referenced by addPartToHepMC(), filterD1(), and Hector().
|
private |
Definition at line 77 of file Hector.h.
Referenced by filterFP420(), and Hector().
|
private |
Definition at line 78 of file Hector.h.
Referenced by filterZDC(), and Hector().
|
private |
Definition at line 100 of file Hector.h.
Referenced by filterD1(), Hector(), and ~Hector().
|
private |
Definition at line 101 of file Hector.h.
Referenced by filterD1(), Hector(), and ~Hector().
|
private |
Definition at line 96 of file Hector.h.
Referenced by filterFP420(), Hector(), and ~Hector().
|
private |
Definition at line 97 of file Hector.h.
Referenced by filterFP420(), Hector(), and ~Hector().
|
private |
Definition at line 98 of file Hector.h.
Referenced by filterZDC(), Hector(), and ~Hector().
|
private |
Definition at line 99 of file Hector.h.
Referenced by filterZDC(), Hector(), and ~Hector().
|
private |
Definition at line 107 of file Hector.h.
Referenced by add(), addPartToHepMC(), clear(), filterD1(), filterFP420(), filterZDC(), print(), and ~Hector().
|
private |
Definition at line 108 of file Hector.h.
Referenced by add(), addPartToHepMC(), clear(), filterD1(), filterFP420(), filterZDC(), and getDirect().
|
private |
Definition at line 116 of file Hector.h.
Referenced by addPartToHepMC(), filterD1(), and filterFP420().
|
private |
|
private |
Definition at line 127 of file Hector.h.
Referenced by addPartToHepMC(), filterZDC(), and Hector().
|
private |
Definition at line 121 of file Hector.h.
Referenced by add(), clear(), filterD1(), filterFP420(), and filterZDC().
|
private |
Definition at line 111 of file Hector.h.
Referenced by addPartToHepMC(), clearApertureFlags(), and filterD1().
|
private |
Definition at line 109 of file Hector.h.
Referenced by addPartToHepMC(), clearApertureFlags(), filterFP420(), and filterZDC().
|
private |
Definition at line 110 of file Hector.h.
Referenced by addPartToHepMC(), clearApertureFlags(), filterD1(), and filterZDC().
|
private |
|
private |
|
private |
Definition at line 89 of file Hector.h.
Referenced by addPartToHepMC(), filterFP420(), and Hector().
|
private |
Definition at line 88 of file Hector.h.
Referenced by addPartToHepMC(), filterFP420(), and Hector().
|
private |
Definition at line 83 of file Hector.h.
Referenced by filterD1(), filterFP420(), filterZDC(), and Hector().
|
private |
Definition at line 85 of file Hector.h.
Referenced by filterD1(), filterFP420(), filterZDC(), and Hector().
|
private |
Definition at line 86 of file Hector.h.
Referenced by filterD1(), filterFP420(), filterZDC(), and Hector().
|
private |
Definition at line 82 of file Hector.h.
Referenced by filterD1(), filterFP420(), filterZDC(), and Hector().
|
private |
Definition at line 84 of file Hector.h.
Referenced by filterD1(), filterFP420(), filterZDC(), and Hector().
|
private |
Definition at line 114 of file Hector.h.
Referenced by addPartToHepMC(), filterD1(), and filterFP420().
|
private |
Definition at line 115 of file Hector.h.
Referenced by addPartToHepMC(), filterD1(), and filterFP420().
|
private |
Definition at line 126 of file Hector.h.
Referenced by add(), addPartToHepMC(), filterD1(), filterFP420(), filterZDC(), and Hector().
|
private |
Definition at line 112 of file Hector.h.
Referenced by addPartToHepMC(), filterD1(), and filterFP420().
|
private |
Definition at line 113 of file Hector.h.
Referenced by addPartToHepMC(), filterD1(), and filterFP420().
|
private |
Definition at line 128 of file Hector.h.
Referenced by addPartToHepMC(), and Hector().
|
private |
|
private |
Definition at line 130 of file Hector.h.
Referenced by addPartToHepMC(), getCorrespondenceMap(), and Hector().
|
private |