#include <OpticalFunctionsTransport.h>
Public Member Functions | |
OpticalFunctionsTransport (const edm::ParameterSet &ps) | |
void | process (const HepMC::GenEvent *ev, const edm::EventSetup &es, CLHEP::HepRandomEngine *engine) override |
~OpticalFunctionsTransport () override | |
Public Member Functions inherited from BaseProtonTransport | |
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 () |
void | setBeamEnergy (double e) |
virtual | ~BaseProtonTransport () |
Private Member Functions | |
bool | transportProton (const HepMC::GenParticle *) |
Private Attributes | |
edm::ESHandle< CTPPSBeamParameters > | beamParameters_ |
double | empiricalAperture45_a_int_ |
double | empiricalAperture45_a_slp_ |
double | empiricalAperture45_xi0_int_ |
double | empiricalAperture45_xi0_slp_ |
double | empiricalAperture56_a_int_ |
double | empiricalAperture56_a_slp_ |
double | empiricalAperture56_xi0_int_ |
double | empiricalAperture56_xi0_slp_ |
edm::ESHandle< LHCInfo > | lhcInfo_ |
std::string | lhcInfoLabel_ |
unsigned int | optFunctionId45_ |
unsigned int | optFunctionId56_ |
edm::ESHandle< LHCInterpolatedOpticalFunctionsSetCollection > | opticalFunctions_ |
std::string | opticsLabel_ |
bool | produceHitsRelativeToBeam_ |
bool | useEmpiricalApertures_ |
Additional Inherited Members | |
Protected Types inherited from BaseProtonTransport | |
enum | TransportMode { TransportMode::HECTOR, TransportMode::TOTEM, TransportMode::OPTICALFUNCTIONS } |
Protected Attributes inherited from BaseProtonTransport | |
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 22 of file OpticalFunctionsTransport.h.
OpticalFunctionsTransport::OpticalFunctionsTransport | ( | const edm::ParameterSet & | ps | ) |
Definition at line 4 of file OpticalFunctionsTransport.cc.
References BaseProtonTransport::MODE, and BaseProtonTransport::OPTICALFUNCTIONS.
|
inlineoverride |
Definition at line 25 of file OpticalFunctionsTransport.h.
|
overridevirtual |
Implements BaseProtonTransport.
Definition at line 20 of file OpticalFunctionsTransport.cc.
References beamParameters_, BaseProtonTransport::clear(), BaseProtonTransport::engine_, BaseProtonTransport::etaCut_, GenParticle::GenParticle, edm::EventSetup::get(), get, lhcInfo_, lhcInfoLabel_, mps_splice::line, BaseProtonTransport::m_beamPart, BaseProtonTransport::momentumCut_, optFunctionId45_, optFunctionId56_, opticalFunctions_, opticsLabel_, and transportProton().
|
private |
Definition at line 71 of file OpticalFunctionsTransport.cc.
References BaseProtonTransport::beamMomentum(), beamParameters_, LHCInfo::crossingAngle(), MillePedeFileConverter_cfg::e, empiricalAperture45_a_int_, empiricalAperture45_a_slp_, empiricalAperture45_xi0_int_, empiricalAperture45_xi0_slp_, empiricalAperture56_a_int_, empiricalAperture56_a_slp_, empiricalAperture56_xi0_int_, empiricalAperture56_xi0_slp_, CTPPSBeamParameters::getBeamMom45(), CTPPSBeamParameters::getBeamMom56(), CTPPSBeamParameters::getHalfXangleX45(), CTPPSBeamParameters::getHalfXangleX56(), lhcInfo_, mps_splice::line, LogDebug, BaseProtonTransport::m_beamPart, BaseProtonTransport::m_xAtTrPoint, BaseProtonTransport::m_yAtTrPoint, optFunctionId45_, optFunctionId56_, opticalFunctions_, AlCaHLTBitMon_ParallelJobs::p, produceHitsRelativeToBeam_, ProtonMassSQ, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, year_2016_postTS2_cff::rpId, mathSSE::sqrt(), LHCInterpolatedOpticalFunctionsSet::Kinematics::th_x, LHCInterpolatedOpticalFunctionsSet::Kinematics::th_y, urad, useEmpiricalApertures_, BaseProtonTransport::verbosity_, LHCInterpolatedOpticalFunctionsSet::Kinematics::x, OpticalFunctionsConfig_cfi::xangle, hybridSuperClusters_cfi::xi, and LHCInterpolatedOpticalFunctionsSet::Kinematics::y.
Referenced by process().
|
private |
Definition at line 36 of file OpticalFunctionsTransport.h.
Referenced by process(), and transportProton().
|
private |
Definition at line 42 of file OpticalFunctionsTransport.h.
Referenced by transportProton().
|
private |
Definition at line 42 of file OpticalFunctionsTransport.h.
Referenced by transportProton().
|
private |
Definition at line 42 of file OpticalFunctionsTransport.h.
Referenced by transportProton().
|
private |
Definition at line 42 of file OpticalFunctionsTransport.h.
Referenced by transportProton().
|
private |
Definition at line 44 of file OpticalFunctionsTransport.h.
Referenced by transportProton().
|
private |
Definition at line 44 of file OpticalFunctionsTransport.h.
Referenced by transportProton().
|
private |
Definition at line 44 of file OpticalFunctionsTransport.h.
Referenced by transportProton().
|
private |
Definition at line 44 of file OpticalFunctionsTransport.h.
Referenced by transportProton().
|
private |
Definition at line 35 of file OpticalFunctionsTransport.h.
Referenced by process(), and transportProton().
|
private |
Definition at line 32 of file OpticalFunctionsTransport.h.
Referenced by process().
|
private |
Definition at line 38 of file OpticalFunctionsTransport.h.
Referenced by process(), and transportProton().
|
private |
Definition at line 39 of file OpticalFunctionsTransport.h.
Referenced by process(), and transportProton().
|
private |
Definition at line 37 of file OpticalFunctionsTransport.h.
Referenced by process(), and transportProton().
|
private |
Definition at line 33 of file OpticalFunctionsTransport.h.
Referenced by process().
|
private |
Definition at line 47 of file OpticalFunctionsTransport.h.
Referenced by transportProton().
|
private |
Definition at line 41 of file OpticalFunctionsTransport.h.
Referenced by transportProton().