#include <BaseProtonTransport.h>
Public Member Functions | |
void | addPartToHepMC (const HepMC::GenEvent *, HepMC::GenEvent *) |
void | ApplyBeamCorrection (HepMC::GenParticle *p) |
void | ApplyBeamCorrection (TLorentzVector &p) |
BaseProtonTransport (const edm::ParameterSet &iConfig) | |
double | beamEnergy () |
double | beamMomentum () |
void | clear () |
std::vector< LHCTransportLink > & | getCorrespondenceMap () |
virtual void | process (const HepMC::GenEvent *ev, const edm::EventSetup &es, CLHEP::HepRandomEngine *engine)=0 |
void | setBeamEnergy (double e) |
virtual | ~BaseProtonTransport () |
Protected Types | |
enum | TransportMode { TransportMode::HECTOR, TransportMode::TOTEM, TransportMode::OPTICALFUNCTIONS } |
Protected Attributes | |
bool | bApplyZShift |
std::string | beam1Filename_ |
std::string | beam2Filename_ |
double | beamEnergy_ |
double | beamMomentum_ |
CLHEP::HepRandomEngine * | engine_ |
double | etaCut_ |
double | fBeamXatIP |
double | fBeamYatIP |
double | fCrossingAngleX_45 |
double | fCrossingAngleX_56 |
double | fCrossingAngleY_45 |
double | fCrossingAngleY_56 |
double | fPPSRegionStart_45 |
double | fPPSRegionStart_56 |
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 |
std::map< unsigned int, double > | m_xAtTrPoint |
std::map< unsigned int, double > | m_yAtTrPoint |
TransportMode | MODE |
double | momentumCut_ |
int | NEvent |
bool | verbosity_ |
Definition at line 17 of file BaseProtonTransport.h.
|
strongprotected |
Enumerator | |
---|---|
HECTOR | |
TOTEM | |
OPTICALFUNCTIONS |
Definition at line 41 of file BaseProtonTransport.h.
BaseProtonTransport::BaseProtonTransport | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 8 of file BaseProtonTransport.cc.
References beamEnergy_, beamMomentum_, ProtonMassSQ, and mathSSE::sqrt().
|
inlinevirtual |
void BaseProtonTransport::addPartToHepMC | ( | const HepMC::GenEvent * | in_evt, |
HepMC::GenEvent * | evt | ||
) |
Definition at line 55 of file BaseProtonTransport.cc.
References first, fPPSRegionStart_45, fPPSRegionStart_56, GenParticle::GenParticle, mps_splice::line, LogDebug, m_beamPart, m_CorrespondenceMap, m_to_mm, m_xAtTrPoint, m_yAtTrPoint, NEvent, edm::second(), protons_cff::time, and verbosity_.
Referenced by ProtonTransport::addPartToHepMC().
void BaseProtonTransport::ApplyBeamCorrection | ( | HepMC::GenParticle * | p | ) |
Definition at line 17 of file BaseProtonTransport.cc.
References AlCaHLTBitMon_ParallelJobs::p.
Referenced by TotemTransport::transportProton().
void BaseProtonTransport::ApplyBeamCorrection | ( | TLorentzVector & | p | ) |
Definition at line 26 of file BaseProtonTransport.cc.
References funct::cos(), MillePedeFileConverter_cfg::e, HCALHighEnergyHPDFilter_cfi::energy, engine_, fCrossingAngleX_45, fCrossingAngleX_56, m_sig_E, m_sigmaSTX, m_sigmaSTY, MODE, AlCaHLTBitMon_ParallelJobs::p, Pi, funct::pow(), ProtonMassSQ, funct::sin(), mathSSE::sqrt(), theta(), TOTEM, and urad.
|
inline |
|
inline |
Definition at line 38 of file BaseProtonTransport.h.
References beamMomentum_.
Referenced by OpticalFunctionsTransport::transportProton().
void BaseProtonTransport::clear | ( | void | ) |
Definition at line 109 of file BaseProtonTransport.cc.
References m_beamPart, m_CorrespondenceMap, m_xAtTrPoint, and m_yAtTrPoint.
Referenced by OpticalFunctionsTransport::process(), TotemTransport::process(), HectorTransport::process(), and ~BaseProtonTransport().
|
inline |
Definition at line 22 of file BaseProtonTransport.h.
References m_CorrespondenceMap.
Referenced by ProtonTransport::getCorrespondenceMap().
|
pure virtual |
Implemented in HectorTransport, TotemTransport, and OpticalFunctionsTransport.
Referenced by ProtonTransport::process().
|
inline |
Definition at line 32 of file BaseProtonTransport.h.
References beamEnergy_, beamMomentum_, MillePedeFileConverter_cfg::e, ProtonMassSQ, and mathSSE::sqrt().
|
protected |
Definition at line 52 of file BaseProtonTransport.h.
|
protected |
Definition at line 54 of file BaseProtonTransport.h.
Referenced by HectorTransport::HectorTransport(), HectorTransport::setBeamLine(), and TotemTransport::TotemTransport().
|
protected |
Definition at line 55 of file BaseProtonTransport.h.
Referenced by HectorTransport::HectorTransport(), HectorTransport::setBeamLine(), and TotemTransport::TotemTransport().
|
protected |
Definition at line 65 of file BaseProtonTransport.h.
Referenced by BaseProtonTransport(), beamEnergy(), HectorTransport::HectorTransport(), setBeamEnergy(), TotemTransport::TotemTransport(), and HectorTransport::transportProton().
|
protected |
Definition at line 64 of file BaseProtonTransport.h.
Referenced by BaseProtonTransport(), beamMomentum(), setBeamEnergy(), and HectorTransport::transportProton().
|
protected |
Definition at line 45 of file BaseProtonTransport.h.
Referenced by ApplyBeamCorrection(), OpticalFunctionsTransport::process(), TotemTransport::process(), and HectorTransport::process().
|
protected |
Definition at line 66 of file BaseProtonTransport.h.
Referenced by OpticalFunctionsTransport::process(), TotemTransport::process(), and HectorTransport::process().
|
protected |
Definition at line 74 of file BaseProtonTransport.h.
Referenced by HectorTransport::HectorTransport(), and TotemTransport::TotemTransport().
|
protected |
Definition at line 75 of file BaseProtonTransport.h.
Referenced by HectorTransport::HectorTransport(), and TotemTransport::TotemTransport().
|
protected |
Definition at line 59 of file BaseProtonTransport.h.
Referenced by ApplyBeamCorrection(), HectorTransport::HectorTransport(), TotemTransport::TotemTransport(), TotemTransport::transportProton(), and HectorTransport::transportProton().
|
protected |
Definition at line 60 of file BaseProtonTransport.h.
Referenced by ApplyBeamCorrection(), HectorTransport::HectorTransport(), TotemTransport::TotemTransport(), TotemTransport::transportProton(), and HectorTransport::transportProton().
|
protected |
Definition at line 61 of file BaseProtonTransport.h.
Referenced by HectorTransport::HectorTransport(), and HectorTransport::transportProton().
|
protected |
Definition at line 62 of file BaseProtonTransport.h.
Referenced by HectorTransport::HectorTransport(), and HectorTransport::transportProton().
|
protected |
Definition at line 57 of file BaseProtonTransport.h.
Referenced by addPartToHepMC(), HectorTransport::setBeamLine(), OpticalFunctionsTransport::transportProton(), TotemTransport::transportProton(), and HectorTransport::transportProton().
|
protected |
Definition at line 58 of file BaseProtonTransport.h.
Referenced by addPartToHepMC(), HectorTransport::setBeamLine(), TotemTransport::TotemTransport(), OpticalFunctionsTransport::transportProton(), TotemTransport::transportProton(), and HectorTransport::transportProton().
|
protected |
Definition at line 47 of file BaseProtonTransport.h.
Referenced by addPartToHepMC(), clear(), OpticalFunctionsTransport::process(), TotemTransport::process(), HectorTransport::process(), OpticalFunctionsTransport::transportProton(), TotemTransport::transportProton(), and HectorTransport::transportProton().
|
protected |
Definition at line 46 of file BaseProtonTransport.h.
Referenced by addPartToHepMC(), clear(), and getCorrespondenceMap().
|
protected |
Definition at line 73 of file BaseProtonTransport.h.
Referenced by ApplyBeamCorrection(), HectorTransport::HectorTransport(), and TotemTransport::TotemTransport().
|
protected |
Definition at line 69 of file BaseProtonTransport.h.
Referenced by ApplyBeamCorrection(), HectorTransport::HectorTransport(), and TotemTransport::TotemTransport().
|
protected |
Definition at line 70 of file BaseProtonTransport.h.
Referenced by ApplyBeamCorrection(), HectorTransport::HectorTransport(), and TotemTransport::TotemTransport().
|
protected |
Definition at line 71 of file BaseProtonTransport.h.
Referenced by HectorTransport::HectorTransport(), and TotemTransport::TotemTransport().
|
protected |
Definition at line 72 of file BaseProtonTransport.h.
Referenced by HectorTransport::HectorTransport(), and TotemTransport::TotemTransport().
|
protected |
Definition at line 48 of file BaseProtonTransport.h.
Referenced by addPartToHepMC(), clear(), OpticalFunctionsTransport::transportProton(), TotemTransport::transportProton(), and HectorTransport::transportProton().
|
protected |
Definition at line 49 of file BaseProtonTransport.h.
Referenced by addPartToHepMC(), clear(), OpticalFunctionsTransport::transportProton(), TotemTransport::transportProton(), and HectorTransport::transportProton().
|
protected |
Definition at line 42 of file BaseProtonTransport.h.
Referenced by ApplyBeamCorrection(), HectorTransport::HectorTransport(), OpticalFunctionsTransport::OpticalFunctionsTransport(), and TotemTransport::TotemTransport().
|
protected |
Definition at line 67 of file BaseProtonTransport.h.
Referenced by OpticalFunctionsTransport::process(), TotemTransport::process(), and HectorTransport::process().
|
protected |
Definition at line 44 of file BaseProtonTransport.h.
Referenced by addPartToHepMC().
|
protected |
Definition at line 51 of file BaseProtonTransport.h.
Referenced by addPartToHepMC(), HectorTransport::setBeamLine(), OpticalFunctionsTransport::transportProton(), TotemTransport::transportProton(), and HectorTransport::transportProton().