#include <TotemTransport.h>
Public Member Functions | |
void | process (const HepMC::GenEvent *ev, const edm::EventSetup &es, CLHEP::HepRandomEngine *engine) override |
TotemTransport (const edm::ParameterSet &ps, bool verbosity) | |
TotemTransport () | |
~TotemTransport () override | |
Public Member Functions inherited from ProtonTransport | |
void | addPartToHepMC (HepMC::GenEvent *) |
void | ApplyBeamCorrection (HepMC::GenParticle *p) |
void | ApplyBeamCorrection (TLorentzVector &p) |
void | clear () |
std::vector< LHCTransportLink > & | getCorrespondenceMap () |
ProtonTransport () | |
virtual | ~ProtonTransport () |
Private Member Functions | |
LHCOpticsApproximator * | ReadParameterization (const std::string &, const std::string &) |
bool | transportProton (const HepMC::GenParticle *) |
Private Attributes | |
LHCOpticsApproximator * | m_aprox_ip_150_l = 0 |
LHCOpticsApproximator * | m_aprox_ip_150_r = 0 |
double | m_beampipe_aperture_radius |
double | m_fEtacut |
double | m_fMomentumMin |
std::string | m_model_ip_150_l_name |
double | m_model_ip_150_l_zmax |
double | m_model_ip_150_l_zmin |
std::string | m_model_ip_150_r_name |
double | m_model_ip_150_r_zmax |
double | m_model_ip_150_r_zmin |
std::string | m_model_root_file_l |
std::string | m_model_root_file_r |
edm::FileInPath | m_opticsFileBeam1_ |
edm::FileInPath | m_opticsFileBeam2_ |
edm::ParameterSet | m_parameters |
edm::ESHandle< ParticleDataTable > | m_pdt |
edm::EDGetTokenT< edm::HepMCProduct > | m_protonsToken_ |
bool | m_verbosity |
double | m_Zin_ |
double | m_Zout_ |
Additional Inherited Members | |
Protected Types inherited from ProtonTransport | |
enum | TransportMode { TransportMode::HECTOR, TransportMode::TOTEM } |
Protected Attributes inherited from ProtonTransport | |
bool | bApplyZShift |
CLHEP::HepRandomEngine * | engine |
double | fBeamEnergy |
double | fBeamMomentum |
double | fBeamXatIP |
double | fBeamYatIP |
double | fCrossingAngle_45 |
double | fCrossingAngle_56 |
double | fPPSRegionStart_45 |
double | fPPSRegionStart_56 |
double | fVtxMeanX |
double | fVtxMeanY |
double | fVtxMeanZ |
std::map< unsigned int, TLorentzVector > | m_beamPart |
std::vector< LHCTransportLink > | m_CorrespondenceMap |
double | m_sig_E |
double | m_sigmaSTX |
double | m_sigmaSTY |
double | m_sigmaSX |
double | m_sigmaSY |
bool | m_verbosity |
std::map< unsigned int, double > | m_xAtTrPoint |
std::map< unsigned int, double > | m_yAtTrPoint |
TransportMode | MODE |
int | NEvent |
Definition at line 24 of file TotemTransport.h.
TotemTransport::TotemTransport | ( | const edm::ParameterSet & | ps, |
bool | verbosity | ||
) |
Definition at line 15 of file TotemTransport.cc.
References ProtonTransport::bApplyZShift, cmsRelvalreport::exit, ProtonTransport::fBeamEnergy, ProtonTransport::fBeamMomentum, ProtonTransport::fBeamXatIP, ProtonTransport::fBeamYatIP, ProtonTransport::fCrossingAngle_45, ProtonTransport::fCrossingAngle_56, ProtonTransport::fPPSRegionStart_45, ProtonTransport::fPPSRegionStart_56, ProtonTransport::fVtxMeanX, ProtonTransport::fVtxMeanY, ProtonTransport::fVtxMeanZ, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_aprox_ip_150_l, m_aprox_ip_150_r, m_model_ip_150_l_name, m_model_ip_150_l_zmax, m_model_ip_150_r_name, m_model_ip_150_r_zmax, m_model_root_file_l, m_model_root_file_r, m_parameters, ProtonTransport::m_sig_E, ProtonTransport::m_sigmaSTX, ProtonTransport::m_sigmaSTY, ProtonTransport::MODE, ProtonMassSQ, ReadParameterization(), mathSSE::sqrt(), and ProtonTransport::TOTEM.
TotemTransport::TotemTransport | ( | ) |
Definition at line 10 of file TotemTransport.cc.
References ProtonTransport::MODE, and ProtonTransport::TOTEM.
|
override |
Definition at line 11 of file TotemTransport.cc.
References ProtonTransport::clear().
|
overridevirtual |
Adds the stable protons from the event ev to a beamline
Implements ProtonTransport.
Definition at line 63 of file TotemTransport.cc.
References ProtonTransport::addPartToHepMC(), ProtonTransport::engine, GenParticle::GenParticle, mps_splice::line, ProtonTransport::m_beamPart, and transportProton().
|
private |
Definition at line 151 of file TotemTransport.cc.
References f, and MillePedeFileConverter_cfg::fileName.
Referenced by TotemTransport().
|
private |
Definition at line 81 of file TotemTransport.cc.
References ProtonTransport::ApplyBeamCorrection(), MillePedeFileConverter_cfg::e, ProtonTransport::fBeamXatIP, ProtonTransport::fBeamYatIP, ProtonTransport::fCrossingAngle_45, ProtonTransport::fCrossingAngle_56, ProtonTransport::fVtxMeanX, ProtonTransport::fVtxMeanY, ProtonTransport::fVtxMeanZ, mps_splice::line, LogDebug, m_aprox_ip_150_l, m_aprox_ip_150_r, ProtonTransport::m_beamPart, m_beampipe_aperture_radius, m_model_ip_150_l_zmax, m_model_ip_150_l_zmin, m_model_ip_150_r_zmax, m_model_ip_150_r_zmin, m_verbosity, ProtonTransport::m_xAtTrPoint, ProtonTransport::m_yAtTrPoint, m_Zin_, m_Zout_, ProtonMassSQ, mathSSE::sqrt(), funct::tan(), LHCOpticsApproximator::Transport_m_GeV(), and urad.
Referenced by process().
|
private |
Definition at line 42 of file TotemTransport.h.
Referenced by TotemTransport(), and transportProton().
|
private |
Definition at line 41 of file TotemTransport.h.
Referenced by TotemTransport(), and transportProton().
|
private |
Definition at line 59 of file TotemTransport.h.
Referenced by transportProton().
|
private |
Definition at line 62 of file TotemTransport.h.
|
private |
Definition at line 63 of file TotemTransport.h.
|
private |
Definition at line 46 of file TotemTransport.h.
Referenced by TotemTransport().
|
private |
Definition at line 50 of file TotemTransport.h.
Referenced by TotemTransport(), and transportProton().
|
private |
Definition at line 49 of file TotemTransport.h.
Referenced by transportProton().
|
private |
Definition at line 45 of file TotemTransport.h.
Referenced by TotemTransport().
|
private |
Definition at line 48 of file TotemTransport.h.
Referenced by TotemTransport(), and transportProton().
|
private |
Definition at line 47 of file TotemTransport.h.
Referenced by transportProton().
|
private |
Definition at line 44 of file TotemTransport.h.
Referenced by TotemTransport().
|
private |
Definition at line 43 of file TotemTransport.h.
Referenced by TotemTransport().
|
private |
Definition at line 55 of file TotemTransport.h.
|
private |
Definition at line 55 of file TotemTransport.h.
|
private |
Definition at line 39 of file TotemTransport.h.
Referenced by TotemTransport().
|
private |
Definition at line 57 of file TotemTransport.h.
|
private |
Definition at line 52 of file TotemTransport.h.
|
private |
Definition at line 40 of file TotemTransport.h.
Referenced by transportProton().
|
private |
Definition at line 60 of file TotemTransport.h.
Referenced by transportProton().
|
private |
Definition at line 61 of file TotemTransport.h.
Referenced by transportProton().