Public Member Functions | |
PPSDirectProtonSimulation (const edm::ParameterSet &) | |
~PPSDirectProtonSimulation () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
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<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Definition at line 66 of file PPSDirectProtonSimulation.cc.
|
explicit |
Definition at line 152 of file PPSDirectProtonSimulation.cc.
References edm::ParameterSet::getParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverride |
Definition at line 69 of file PPSDirectProtonSimulation.cc.
|
static |
Definition at line 212 of file PPSDirectProtonSimulation.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, ProducerED_cfi::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 341 of file PPSDirectProtonSimulation.cc.
References A, protons_cff::arm, CTPPSDetId::arm(), B, checkIsHit_, LHCInfo::crossingAngle(), DDD_CTPPS_PIXELS_SENSOR_TYPE_2x2, hcalRecHitTable_cff::detId, 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(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, visualization-live-secondInstance_cfg::m, profile_base_cff::opticalFunctions, AlCaHLTBitMon_ParallelJobs::p, pitchPixelsHor_, pitchPixelsVer_, pitchStrips_, CTPPSPixelDetId::plane(), produceHitsRelativeToBeam_, produceRecHits_, produceScoringPlaneHits_, edm::DetSet< T >::push_back(), alignCSCRings::r, DetId::rawId(), roundToPitch_, CTPPSDetId::rp(), CTPPSDetId::sdTimingDiamond, CTPPSDetId::sdTrackingPixel, CTPPSDetId::sdTrackingStrip, mathSSE::sqrt(), CTPPSDetId::station(), nano_mu_digi_cff::strip, stripZeroPosition_, DetId::subdetId(), FrontierCondition_GT_autoExpress_cfi::t0, LHCInterpolatedOpticalFunctionsSet::Kinematics::th_x, LHCInterpolatedOpticalFunctionsSet::Kinematics::th_y, timeResolutionDiamonds45_, timeResolutionDiamonds56_, compareTotals::tot, useEmpiricalApertures_, useTimingEfficiencyPerPlane_, useTimingEfficiencyPerRP_, useTrackingEfficiencyPerPlane_, useTrackingEfficiencyPerRP_, findQualityFiles::v, verbosity_, LHCInterpolatedOpticalFunctionsSet::Kinematics::x, profile_base_cff::xangle, protons_cff::xi, and LHCInterpolatedOpticalFunctionsSet::Kinematics::y.
Referenced by produce().
|
overrideprivate |
Definition at line 245 of file PPSDirectProtonSimulation.cc.
References edm::ESWatcher< T >::check(), directSimuDataRcdWatcher_, efficiencyMapsPerPlane_, efficiencyMapsPerRP_, empiricalAperture45_, empiricalAperture56_, edm::EventSetup::getData(), edm::RandomNumberGenerator::getEngine(), edm::HepMCProduct::GetEvent(), hepMCToken_, iEvent, eostools::move(), profile_base_cff::opticalFunctions, pixelTopologyToken_, processProton(), produceRecHits_, produceScoringPlaneHits_, timeResolutionDiamonds45_, timeResolutionDiamonds56_, tokenBeamParameters_, tokenDirectSimuData_, tokenGeometry_, tokenLHCInfo_, tokenOpticalFunctions_, useTimingEfficiencyPerPlane_, useTimingEfficiencyPerRP_, useTrackingEfficiencyPerPlane_, useTrackingEfficiencyPerRP_, and L1BJetProducer_cff::vtx.
|
private |
Definition at line 132 of file PPSDirectProtonSimulation.cc.
Referenced by processProton().
|
private |
Definition at line 105 of file PPSDirectProtonSimulation.cc.
Referenced by produce().
|
private |
Definition at line 127 of file PPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 126 of file PPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 116 of file PPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 117 of file PPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 108 of file PPSDirectProtonSimulation.cc.
Referenced by produce().
|
private |
size of insensitive margin at sensor's edge facing the beam, in mm
Definition at line 135 of file PPSDirectProtonSimulation.cc.
Referenced by processProton().
|
private |
Definition at line 137 of file PPSDirectProtonSimulation.cc.
Referenced by processProton().
|
private |
Definition at line 138 of file PPSDirectProtonSimulation.cc.
Referenced by processProton().
|
private |
strip pitch in mm
Definition at line 134 of file PPSDirectProtonSimulation.cc.
Referenced by processProton().
|
private |
Definition at line 100 of file PPSDirectProtonSimulation.cc.
Referenced by produce().
|
private |
Definition at line 130 of file PPSDirectProtonSimulation.cc.
Referenced by processProton().
|
private |
Definition at line 112 of file PPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 111 of file PPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 131 of file PPSDirectProtonSimulation.cc.
Referenced by processProton().
|
private |
internal variable: v position of strip 0, in mm
Definition at line 147 of file PPSDirectProtonSimulation.cc.
Referenced by processProton().
|
private |
Definition at line 142 of file PPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 142 of file PPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 99 of file PPSDirectProtonSimulation.cc.
Referenced by produce().
|
private |
Definition at line 103 of file PPSDirectProtonSimulation.cc.
Referenced by produce().
|
private |
Definition at line 102 of file PPSDirectProtonSimulation.cc.
Referenced by produce().
|
private |
Definition at line 98 of file PPSDirectProtonSimulation.cc.
Referenced by produce().
|
private |
Definition at line 101 of file PPSDirectProtonSimulation.cc.
Referenced by produce().
|
private |
Definition at line 115 of file PPSDirectProtonSimulation.cc.
Referenced by processProton().
|
private |
Definition at line 123 of file PPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 121 of file PPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 122 of file PPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 120 of file PPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 140 of file PPSDirectProtonSimulation.cc.
Referenced by processProton().