Public Member Functions | |
CTPPSDirectProtonSimulation (const edm::ParameterSet &) | |
~CTPPSDirectProtonSimulation () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | processProton (const HepMC::GenVertex *in_vtx, const HepMC::GenParticle *in_trk, const CTPPSGeometry &geometry, const LHCInfo &lhcInfo, const CTPPSBeamParameters &beamParameters, const PPSPixelTopology &ppt, const LHCInterpolatedOpticalFunctionsSetCollection &opticalFunctions, CLHEP::HepRandomEngine *rndEngine, std::vector< CTPPSLocalTrackLite > &out_tracks, edm::DetSetVector< TotemRPRecHit > &out_strip_hits, edm::DetSetVector< CTPPSPixelRecHit > &out_pixel_hits, edm::DetSetVector< CTPPSDiamondRecHit > &out_diamond_hits, std::map< int, edm::DetSetVector< TotemRPRecHit >> &out_strip_hits_per_particle, std::map< int, edm::DetSetVector< CTPPSPixelRecHit >> &out_pixel_hits_per_particle, std::map< int, edm::DetSetVector< CTPPSDiamondRecHit >> &out_diamond_hits_per_particle) const |
void | produce (edm::Event &, const edm::EventSetup &) override |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Definition at line 65 of file CTPPSDirectProtonSimulation.cc.
|
explicit |
Definition at line 151 of file CTPPSDirectProtonSimulation.cc.
References edm::ParameterSet::getParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverride |
Definition at line 71 of file CTPPSDirectProtonSimulation.cc.
|
static |
Definition at line 211 of file CTPPSDirectProtonSimulation.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
xi is positive for diffractive protons, thus proton momentum p = (1-xi) * p_nom horizontal component of proton momentum: p_x = th_x * (1-xi) * p_nom
Definition at line 340 of file CTPPSDirectProtonSimulation.cc.
References MaterialEffects_cfi::A, protons_cff::arm, CTPPSDetId::arm(), TtFullHadDaughter::B, checkIsHit_, LHCInfo::crossingAngle(), DDD_CTPPS_PIXELS_SENSOR_TYPE_2x2, efficiencyMapsPerPlane_, efficiencyMapsPerRP_, empiricalAperture45_, empiricalAperture56_, edm::DetSet< T >::emplace_back(), edm::DetSetVector< T >::find_or_insert(), CTPPSBeamParameters::getBeamMom45(), CTPPSBeamParameters::getBeamMom56(), CTPPSBeamParameters::getHalfXangleX45(), CTPPSBeamParameters::getHalfXangleX56(), hfClusterShapes_cfi::hits, insensitiveMarginStrips_, createfilelist::int, invalid, RPTopology::IsHit(), PPSPixelTopology::isPixelHit(), visualization-live-secondInstance_cfg::m, OpticalFunctionsConfig_cfi::opticalFunctions, AlCaHLTBitMon_ParallelJobs::p, pitchPixelsHor_, pitchPixelsVer_, pitchStrips_, CTPPSPixelDetId::plane(), produceHitsRelativeToBeam_, produceRecHits_, produceScoringPlaneHits_, edm::DetSet< T >::push_back(), alignCSCRings::r, roundToPitch_, profile_2016_postTS2_cff::rpId, CTPPSDetId::sdTimingDiamond, CTPPSDetId::sdTrackingPixel, CTPPSDetId::sdTrackingStrip, mathSSE::sqrt(), digitizers_cfi::strip, stripZeroPosition_, DetId::subdetId(), FrontierCondition_GT_autoExpress_cfi::t0, LHCInterpolatedOpticalFunctionsSet::Kinematics::th_x, LHCInterpolatedOpticalFunctionsSet::Kinematics::th_y, timeResolutionDiamonds45_, timeResolutionDiamonds56_, useEmpiricalApertures_, useTimingEfficiencyPerPlane_, useTimingEfficiencyPerRP_, useTrackingEfficiencyPerPlane_, useTrackingEfficiencyPerRP_, findQualityFiles::v, verbosity_, LHCInterpolatedOpticalFunctionsSet::Kinematics::x, OpticalFunctionsConfig_cfi::xangle, protons_cff::xi, and LHCInterpolatedOpticalFunctionsSet::Kinematics::y.
Referenced by produce().
|
overrideprivate |
Definition at line 244 of file CTPPSDirectProtonSimulation.cc.
References edm::ESWatcher< T >::check(), directSimuDataRcdWatcher_, efficiencyMapsPerPlane_, efficiencyMapsPerRP_, empiricalAperture45_, empiricalAperture56_, edm::EventSetup::getData(), edm::RandomNumberGenerator::getEngine(), edm::HepMCProduct::GetEvent(), hepMCToken_, iEvent, eostools::move(), OpticalFunctionsConfig_cfi::opticalFunctions, pixelTopologyToken_, processProton(), produceRecHits_, produceScoringPlaneHits_, timeResolutionDiamonds45_, timeResolutionDiamonds56_, tokenBeamParameters_, tokenDirectSimuData_, tokenGeometry_, tokenLHCInfo_, tokenOpticalFunctions_, useTimingEfficiencyPerPlane_, useTimingEfficiencyPerRP_, useTrackingEfficiencyPerPlane_, useTrackingEfficiencyPerRP_, and extraflags_cff::vtx.
|
private |
Definition at line 134 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton().
|
private |
Definition at line 107 of file CTPPSDirectProtonSimulation.cc.
Referenced by produce().
|
private |
Definition at line 129 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 128 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 118 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 119 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 110 of file CTPPSDirectProtonSimulation.cc.
Referenced by produce().
|
private |
size of insensitive margin at sensor's edge facing the beam, in mm
Definition at line 137 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton().
|
private |
Definition at line 139 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton().
|
private |
Definition at line 140 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton().
|
private |
strip pitch in mm
Definition at line 136 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton().
|
private |
Definition at line 102 of file CTPPSDirectProtonSimulation.cc.
Referenced by produce().
|
private |
Definition at line 132 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton().
|
private |
Definition at line 114 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 113 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 133 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton().
|
private |
internal variable: v position of strip 0, in mm
Definition at line 149 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton().
|
private |
Definition at line 144 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 144 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 101 of file CTPPSDirectProtonSimulation.cc.
Referenced by produce().
|
private |
Definition at line 105 of file CTPPSDirectProtonSimulation.cc.
Referenced by produce().
|
private |
Definition at line 104 of file CTPPSDirectProtonSimulation.cc.
Referenced by produce().
|
private |
Definition at line 100 of file CTPPSDirectProtonSimulation.cc.
Referenced by produce().
|
private |
Definition at line 103 of file CTPPSDirectProtonSimulation.cc.
Referenced by produce().
|
private |
Definition at line 117 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton().
|
private |
Definition at line 125 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 123 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 124 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 122 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 142 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton().