Public Member Functions | |
CTPPSDirectProtonSimulation (const edm::ParameterSet &) | |
~CTPPSDirectProtonSimulation () 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 CTPPSDirectProtonSimulation.cc.
|
explicit |
Definition at line 152 of file CTPPSDirectProtonSimulation.cc.
References checkIsHit_, DeDxTools::esConsumes(), Exception, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hepMCToken_, insensitiveMarginStrips_, RPTopology::last_strip_to_border_dist_, RPTopology::no_of_strips_, RPTopology::pitch_, pitchPixelsHor_, pitchPixelsVer_, pitchStrips_, pixelTopologyToken_, produceHitsRelativeToBeam_, produceRecHits_, produceScoringPlaneHits_, roundToPitch_, AlCaHLTBitMon_QueryRunRegistry::string, stripZeroPosition_, tokenBeamParameters_, tokenDirectSimuData_, tokenGeometry_, tokenOpticalFunctions_, useEmpiricalApertures_, useTimingEfficiencyPerPlane_, useTimingEfficiencyPerRP_, useTrackingEfficiencyPerPlane_, useTrackingEfficiencyPerRP_, verbosity_, and RPTopology::y_width_.
|
inlineoverride |
Definition at line 69 of file CTPPSDirectProtonSimulation.cc.
|
static |
Definition at line 212 of file CTPPSDirectProtonSimulation.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), 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 341 of file CTPPSDirectProtonSimulation.cc.
References A, CTPPSDetId::arm(), 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(), DetGeomDesc::getDiamondDimensions(), CTPPSBeamParameters::getHalfXangleX45(), CTPPSBeamParameters::getHalfXangleX56(), CTPPSGeometry::globalToLocal(), insensitiveMarginStrips_, invalid, RPTopology::IsHit(), PPSPixelTopology::isPixelHit(), CTPPSGeometry::localToGlobal(), visualization-live-secondInstance_cfg::m, 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, CTPPSGeometry::sensor(), CTPPSGeometry::sensorsInRP(), DetGeomDesc::sensorType(), mathSSE::sqrt(), CTPPSDetId::station(), digitizers_cfi::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, DiamondDimensions::xHalfWidth, and LHCInterpolatedOpticalFunctionsSet::Kinematics::y.
Referenced by produce().
|
overrideprivate |
Definition at line 245 of file CTPPSDirectProtonSimulation.cc.
References edm::ESWatcher< T >::check(), directSimuDataRcdWatcher_, efficiencyMapsPerPlane_, efficiencyMapsPerRP_, empiricalAperture45_, empiricalAperture56_, relativeConstraints::geometry, edm::Event::getByToken(), edm::EventSetup::getData(), edm::RandomNumberGenerator::getEngine(), hepMCToken_, eostools::move(), pixelTopologyToken_, processProton(), produceRecHits_, produceScoringPlaneHits_, edm::Event::put(), edm::Event::streamID(), timeResolutionDiamonds45_, timeResolutionDiamonds56_, tokenBeamParameters_, tokenDirectSimuData_, tokenGeometry_, tokenLHCInfo_, tokenOpticalFunctions_, useTimingEfficiencyPerPlane_, useTimingEfficiencyPerRP_, useTrackingEfficiencyPerPlane_, and useTrackingEfficiencyPerRP_.
|
private |
Definition at line 132 of file CTPPSDirectProtonSimulation.cc.
Referenced by CTPPSDirectProtonSimulation(), and processProton().
|
private |
Definition at line 105 of file CTPPSDirectProtonSimulation.cc.
Referenced by produce().
|
private |
Definition at line 127 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 126 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 116 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 117 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 108 of file CTPPSDirectProtonSimulation.cc.
Referenced by CTPPSDirectProtonSimulation(), and produce().
|
private |
size of insensitive margin at sensor's edge facing the beam, in mm
Definition at line 135 of file CTPPSDirectProtonSimulation.cc.
Referenced by CTPPSDirectProtonSimulation(), and processProton().
|
private |
Definition at line 137 of file CTPPSDirectProtonSimulation.cc.
Referenced by CTPPSDirectProtonSimulation(), and processProton().
|
private |
Definition at line 138 of file CTPPSDirectProtonSimulation.cc.
Referenced by CTPPSDirectProtonSimulation(), and processProton().
|
private |
strip pitch in mm
Definition at line 134 of file CTPPSDirectProtonSimulation.cc.
Referenced by CTPPSDirectProtonSimulation(), and processProton().
|
private |
Definition at line 100 of file CTPPSDirectProtonSimulation.cc.
Referenced by CTPPSDirectProtonSimulation(), and produce().
|
private |
Definition at line 130 of file CTPPSDirectProtonSimulation.cc.
Referenced by CTPPSDirectProtonSimulation(), and processProton().
|
private |
Definition at line 112 of file CTPPSDirectProtonSimulation.cc.
Referenced by CTPPSDirectProtonSimulation(), processProton(), and produce().
|
private |
Definition at line 111 of file CTPPSDirectProtonSimulation.cc.
Referenced by CTPPSDirectProtonSimulation(), processProton(), and produce().
|
private |
Definition at line 131 of file CTPPSDirectProtonSimulation.cc.
Referenced by CTPPSDirectProtonSimulation(), and processProton().
|
private |
internal variable: v position of strip 0, in mm
Definition at line 147 of file CTPPSDirectProtonSimulation.cc.
Referenced by CTPPSDirectProtonSimulation(), and processProton().
|
private |
Definition at line 142 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 142 of file CTPPSDirectProtonSimulation.cc.
Referenced by processProton(), and produce().
|
private |
Definition at line 99 of file CTPPSDirectProtonSimulation.cc.
Referenced by CTPPSDirectProtonSimulation(), and produce().
|
private |
Definition at line 103 of file CTPPSDirectProtonSimulation.cc.
Referenced by CTPPSDirectProtonSimulation(), and produce().
|
private |
Definition at line 102 of file CTPPSDirectProtonSimulation.cc.
Referenced by CTPPSDirectProtonSimulation(), and produce().
|
private |
Definition at line 98 of file CTPPSDirectProtonSimulation.cc.
Referenced by produce().
|
private |
Definition at line 101 of file CTPPSDirectProtonSimulation.cc.
Referenced by CTPPSDirectProtonSimulation(), and produce().
|
private |
Definition at line 115 of file CTPPSDirectProtonSimulation.cc.
Referenced by CTPPSDirectProtonSimulation(), and processProton().
|
private |
Definition at line 123 of file CTPPSDirectProtonSimulation.cc.
Referenced by CTPPSDirectProtonSimulation(), processProton(), and produce().
|
private |
Definition at line 121 of file CTPPSDirectProtonSimulation.cc.
Referenced by CTPPSDirectProtonSimulation(), processProton(), and produce().
|
private |
Definition at line 122 of file CTPPSDirectProtonSimulation.cc.
Referenced by CTPPSDirectProtonSimulation(), processProton(), and produce().
|
private |
Definition at line 120 of file CTPPSDirectProtonSimulation.cc.
Referenced by CTPPSDirectProtonSimulation(), processProton(), and produce().
|
private |
Definition at line 140 of file CTPPSDirectProtonSimulation.cc.
Referenced by CTPPSDirectProtonSimulation(), and processProton().