#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 | 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 | produceHitsRelativeToBeam_ |
bool | useBeamPositionFromLHCInfo_ |
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_, and setBeamEnergy().
|
inlinevirtual |
void BaseProtonTransport::addPartToHepMC | ( | const HepMC::GenEvent * | in_evt, |
HepMC::GenEvent * | evt | ||
) |
Definition at line 58 of file BaseProtonTransport.cc.
References first, fPPSRegionStart_45, fPPSRegionStart_56, GenParticle::GenParticle, geometryCSVtoXML::line, LogDebug, m_beamPart, m_CorrespondenceMap, m_to_mm, m_xAtTrPoint, m_yAtTrPoint, NEvent, edm::second(), and verbosity_.
void BaseProtonTransport::ApplyBeamCorrection | ( | HepMC::GenParticle * | p | ) |
Definition at line 20 of file BaseProtonTransport.cc.
Referenced by TotemTransport::transportProton().
void BaseProtonTransport::ApplyBeamCorrection | ( | TLorentzVector & | p | ) |
Definition at line 29 of file BaseProtonTransport.cc.
References funct::cos(), alignCSCRings::e, relval_parameters_module::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 112 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.
|
pure virtual |
Implemented in HectorTransport, OpticalFunctionsTransport, and TotemTransport.
|
inline |
Definition at line 32 of file BaseProtonTransport.h.
References beamEnergy_, beamMomentum_, alignCSCRings::e, ProtonMassSQ, and mathSSE::sqrt().
Referenced by BaseProtonTransport().
|
protected |
Definition at line 52 of file BaseProtonTransport.h.
|
protected |
Definition at line 56 of file BaseProtonTransport.h.
Referenced by HectorTransport::HectorTransport(), HectorTransport::setBeamLine(), and TotemTransport::TotemTransport().
|
protected |
Definition at line 57 of file BaseProtonTransport.h.
Referenced by HectorTransport::HectorTransport(), HectorTransport::setBeamLine(), and TotemTransport::TotemTransport().
|
protected |
Definition at line 67 of file BaseProtonTransport.h.
Referenced by BaseProtonTransport(), beamEnergy(), setBeamEnergy(), TotemTransport::TotemTransport(), and HectorTransport::transportProton().
|
protected |
Definition at line 66 of file BaseProtonTransport.h.
Referenced by beamMomentum(), setBeamEnergy(), and HectorTransport::transportProton().
|
protected |
Definition at line 45 of file BaseProtonTransport.h.
Referenced by ApplyBeamCorrection(), TotemTransport::process(), OpticalFunctionsTransport::process(), and HectorTransport::process().
|
protected |
Definition at line 68 of file BaseProtonTransport.h.
Referenced by OpticalFunctionsTransport::process(), TotemTransport::process(), and HectorTransport::process().
|
protected |
Definition at line 61 of file BaseProtonTransport.h.
Referenced by ApplyBeamCorrection(), HectorTransport::HectorTransport(), TotemTransport::TotemTransport(), TotemTransport::transportProton(), and HectorTransport::transportProton().
|
protected |
Definition at line 62 of file BaseProtonTransport.h.
Referenced by ApplyBeamCorrection(), HectorTransport::HectorTransport(), TotemTransport::TotemTransport(), TotemTransport::transportProton(), and HectorTransport::transportProton().
|
protected |
Definition at line 63 of file BaseProtonTransport.h.
Referenced by HectorTransport::HectorTransport(), and HectorTransport::transportProton().
|
protected |
Definition at line 64 of file BaseProtonTransport.h.
Referenced by HectorTransport::HectorTransport(), and HectorTransport::transportProton().
|
protected |
Definition at line 59 of file BaseProtonTransport.h.
Referenced by addPartToHepMC(), HectorTransport::setBeamLine(), OpticalFunctionsTransport::transportProton(), TotemTransport::transportProton(), and HectorTransport::transportProton().
|
protected |
Definition at line 60 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(), TotemTransport::transportProton(), OpticalFunctionsTransport::transportProton(), and HectorTransport::transportProton().
|
protected |
Definition at line 46 of file BaseProtonTransport.h.
Referenced by addPartToHepMC(), clear(), and getCorrespondenceMap().
|
protected |
Definition at line 75 of file BaseProtonTransport.h.
Referenced by ApplyBeamCorrection(), HectorTransport::HectorTransport(), and TotemTransport::TotemTransport().
|
protected |
Definition at line 71 of file BaseProtonTransport.h.
Referenced by ApplyBeamCorrection(), HectorTransport::HectorTransport(), and TotemTransport::TotemTransport().
|
protected |
Definition at line 72 of file BaseProtonTransport.h.
Referenced by ApplyBeamCorrection(), HectorTransport::HectorTransport(), and TotemTransport::TotemTransport().
|
protected |
Definition at line 73 of file BaseProtonTransport.h.
Referenced by HectorTransport::HectorTransport(), and TotemTransport::TotemTransport().
|
protected |
Definition at line 74 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 69 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 54 of file BaseProtonTransport.h.
Referenced by HectorTransport::transportProton().
|
protected |
Definition at line 53 of file BaseProtonTransport.h.
Referenced by OpticalFunctionsTransport::transportProton(), and HectorTransport::transportProton().
|
protected |
Definition at line 51 of file BaseProtonTransport.h.
Referenced by addPartToHepMC(), HectorTransport::setBeamLine(), OpticalFunctionsTransport::transportProton(), TotemTransport::transportProton(), and HectorTransport::transportProton().