#include <OpticalFunctionsTransport.h>
Public Member Functions | |
OpticalFunctionsTransport (const edm::ParameterSet &ps, edm::ConsumesCollector iC) | |
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 | |
const CTPPSBeamParameters * | beamParameters_ |
edm::ESGetToken < CTPPSBeamParameters, CTPPSBeamParametersRcd > | beamParametersToken_ |
const BeamSpotObjects * | beamspot_ |
edm::ESGetToken < BeamSpotObjects, BeamSpotObjectsRcd > | beamspotToken_ |
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_ |
const LHCInfo * | lhcInfo_ |
edm::ESGetToken< LHCInfo, LHCInfoRcd > | lhcInfoToken_ |
unsigned int | optFunctionId45_ |
unsigned int | optFunctionId56_ |
const LHCInterpolatedOpticalFunctionsSetCollection * | opticalFunctions_ |
edm::ESGetToken < LHCInterpolatedOpticalFunctionsSetCollection, CTPPSInterpolatedOpticsRcd > | opticsToken_ |
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 | 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 23 of file OpticalFunctionsTransport.h.
OpticalFunctionsTransport::OpticalFunctionsTransport | ( | const edm::ParameterSet & | ps, |
edm::ConsumesCollector | iC | ||
) |
Definition at line 4 of file OpticalFunctionsTransport.cc.
References BaseProtonTransport::MODE, and BaseProtonTransport::OPTICALFUNCTIONS.
|
inlineoverride |
Definition at line 26 of file OpticalFunctionsTransport.h.
|
overridevirtual |
Implements BaseProtonTransport.
Definition at line 21 of file OpticalFunctionsTransport.cc.
References beamParameters_, beamParametersToken_, beamspot_, beamspotToken_, BaseProtonTransport::clear(), BaseProtonTransport::engine_, BaseProtonTransport::etaCut_, GenParticle::GenParticle, edm::EventSetup::getData(), lhcInfo_, lhcInfoToken_, geometryCSVtoXML::line, BaseProtonTransport::m_beamPart, BaseProtonTransport::momentumCut_, optFunctionId45_, optFunctionId56_, opticalFunctions_, opticsToken_, and transportProton().
|
private |
Definition at line 73 of file OpticalFunctionsTransport.cc.
References funct::abs(), CTPPSDetId::arm(), BaseProtonTransport::beamMomentum(), beamParameters_, beamspot_, cm_to_mm, LHCInfo::crossingAngle(), alignCSCRings::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_, BaseProtonTransport::fPPSRegionStart_45, BaseProtonTransport::fPPSRegionStart_56, CTPPSBeamParameters::getBeamMom45(), CTPPSBeamParameters::getBeamMom56(), CTPPSBeamParameters::getHalfXangleX45(), CTPPSBeamParameters::getHalfXangleX56(), CTPPSBeamParameters::getVtxOffsetX45(), CTPPSBeamParameters::getVtxOffsetY45(), CTPPSBeamParameters::getVtxOffsetZ45(), BeamSpotObjects::GetX(), BeamSpotObjects::GetY(), BeamSpotObjects::GetZ(), lhcInfo_, geometryCSVtoXML::line, LogDebug, BaseProtonTransport::m_beamPart, BaseProtonTransport::m_xAtTrPoint, BaseProtonTransport::m_yAtTrPoint, optFunctionId45_, optFunctionId56_, opticalFunctions_, AlCaHLTBitMon_ParallelJobs::p, produceHitsRelativeToBeam_, ProtonMassSQ, CTPPSDetId::rp(), mathSSE::sqrt(), CTPPSDetId::station(), funct::tan(), LHCInterpolatedOpticalFunctionsSet::Kinematics::th_x, LHCInterpolatedOpticalFunctionsSet::Kinematics::th_y, urad, BaseProtonTransport::useBeamPositionFromLHCInfo_, useEmpiricalApertures_, BaseProtonTransport::verbosity_, LHCInterpolatedOpticalFunctionsSet::Kinematics::x, and LHCInterpolatedOpticalFunctionsSet::Kinematics::y.
Referenced by process().
|
private |
Definition at line 39 of file OpticalFunctionsTransport.h.
Referenced by process(), and transportProton().
|
private |
Definition at line 34 of file OpticalFunctionsTransport.h.
Referenced by process().
|
private |
Definition at line 41 of file OpticalFunctionsTransport.h.
Referenced by process(), and transportProton().
|
private |
Definition at line 36 of file OpticalFunctionsTransport.h.
Referenced by process().
|
private |
Definition at line 47 of file OpticalFunctionsTransport.h.
Referenced by transportProton().
|
private |
Definition at line 47 of file OpticalFunctionsTransport.h.
Referenced by transportProton().
|
private |
Definition at line 47 of file OpticalFunctionsTransport.h.
Referenced by transportProton().
|
private |
Definition at line 47 of file OpticalFunctionsTransport.h.
Referenced by transportProton().
|
private |
Definition at line 49 of file OpticalFunctionsTransport.h.
Referenced by transportProton().
|
private |
Definition at line 49 of file OpticalFunctionsTransport.h.
Referenced by transportProton().
|
private |
Definition at line 49 of file OpticalFunctionsTransport.h.
Referenced by transportProton().
|
private |
Definition at line 49 of file OpticalFunctionsTransport.h.
Referenced by transportProton().
|
private |
Definition at line 38 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 43 of file OpticalFunctionsTransport.h.
Referenced by process(), and transportProton().
|
private |
Definition at line 44 of file OpticalFunctionsTransport.h.
Referenced by process(), and transportProton().
|
private |
Definition at line 40 of file OpticalFunctionsTransport.h.
Referenced by process(), and transportProton().
|
private |
Definition at line 35 of file OpticalFunctionsTransport.h.
Referenced by process().
|
private |
Definition at line 52 of file OpticalFunctionsTransport.h.
Referenced by transportProton().
|
private |
Definition at line 46 of file OpticalFunctionsTransport.h.
Referenced by transportProton().