#include <FastSimulation/CTPPSFastTrackingProducer/plugins/CTPPSFastTrackingProducer.cc>
Public Member Functions | |
CTPPSFastTrackingProducer (const edm::ParameterSet &) | |
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 |
Private Types | |
typedef std::vector < CTPPSFastRecHit > | CTPPSFastRecHitContainer |
Private Member Functions | |
void | FastReco (int Direction, H_RecRPObject *station) |
void | MatchCellId (int cellId, std::vector< int > vrecCellId, std::vector< double > vrecTof, bool &match, double &recTof) |
void | produce (edm::Event &, const edm::EventSetup &) override |
void | ProjectToToF (const double x1, const double y1, const double x2, const double y2, double &xt, double &yt) |
void | ReadRecHits (edm::Handle< CTPPSFastRecHitContainer > &) |
void | ReconstructArm (H_RecRPObject *pps_station, double x1, double y1, double x2, double y2, double &tx, double &ty, double &eloss) |
void | Reconstruction () |
bool | SearchTrack (int, int, int Direction, double &xi, double &t, double &partP, double &pt, double &thx, double &thy, double &x0, double &y0, double &xt, double &yt, double &X1d, double &Y1d, double &X2d, double &Y2d) |
bool | SetBeamLine () |
void | TrackerStationClear () |
void | TrackerStationStarting () |
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 |
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 50 of file CTPPSFastTrackingProducer.cc.
|
private |
Definition at line 59 of file CTPPSFastTrackingProducer.cc.
|
explicit |
Definition at line 136 of file CTPPSFastTrackingProducer.cc.
References _recHitToken, beam1filename, beam2filename, det1B, det1F, det2B, det2F, detToF_B, detToF_F, fBeamEnergy, fBeamMomentum, fBeamXRMS_ToF, fBeamXRMS_Trk1, fBeamXRMS_Trk2, fCrossAngleCorr, fCrossingAngleBeam1, fCrossingAngleBeam2, fImpParcut, fTimeSigma, fToFCellHeight, fToFCellWidth, fToFInsertion, fToFNCellX, fToFNCellY, fToFPitchX, fToFPitchY, fToFXOffset, fTrackerHeight, fTrackerInsertion, fTrackerWidth, fTrk1XOffset, fTrk2XOffset, fz_timing, fz_tracker1, fz_tracker2, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), mps_fire::i, lengthctpps, LogDebug, m_verbosity, PPSTools::ProtonMassSQ, SetBeamLine(), and mathSSE::sqrt().
|
private |
Definition at line 435 of file CTPPSFastTrackingProducer.cc.
References funct::cos(), alignCSCRings::e, fBeamEnergy, fBeamMomentum, fBeamXRMS_ToF, fCrossAngleCorr, fCrossingAngleBeam1, fCrossingAngleBeam2, CTPPSToFDetector::findCellId(), fTimeSigma, fToFCellHeight, fToFCellWidth, fToFInsertion, fToFNCellX, fToFNCellY, fToFPitchX, fToFPitchY, fToFXOffset, PPSTools::Get_t_and_xi(), mps_fire::i, dqmiolumiharvest::j, PPSTools::LorentzBoost(), MatchCellId(), AlCaHLTBitMon_ParallelJobs::p, phi, Pi, CTPPSTrkDetector::ppsNHits_, PPSTools::ProtonMassSQ, DiDispStaMuonMonitor_cfi::pt, recCellId_B, recCellId_F, recTof_B, recTof_F, SearchTrack(), CTPPSFastTrack::setcellid(), CTPPSFastTrack::setp(), CTPPSFastTrack::sett(), CTPPSFastTrack::settof(), CTPPSFastTrack::setvertex(), CTPPSFastTrack::setx1(), CTPPSFastTrack::setx2(), CTPPSFastTrack::setxi(), CTPPSFastTrack::sety1(), CTPPSFastTrack::sety2(), funct::sin(), mathSSE::sqrt(), submitPVValidationJobs::t, theCTPPSFastTrack, theta(), track, TrkStation_B, TrkStation_F, and urad.
Referenced by Reconstruction().
|
private |
Definition at line 424 of file CTPPSFastTrackingProducer.cc.
References mps_fire::i.
Referenced by FastReco().
|
overrideprivate |
Definition at line 215 of file CTPPSFastTrackingProducer.cc.
References _recHitToken, edm::Event::getByToken(), mps_fire::i, eostools::move(), dqmiodumpmetadata::n, edm::Event::put(), ReadRecHits(), recCellId_B, recCellId_F, HLT_FULL_cff::recHits, Reconstruction(), recTof_B, recTof_F, theCTPPSFastTrack, TrackerStationClear(), and TrackerStationStarting().
|
inlineprivate |
Definition at line 86 of file CTPPSFastTrackingProducer.cc.
References fz_timing, fz_tracker1, and fz_tracker2.
Referenced by SearchTrack().
|
private |
Definition at line 256 of file CTPPSFastTrackingProducer.cc.
References det1B, det1F, det2B, det2F, detToF_B, detToF_F, CTPPSFastRecHit::detUnitId(), CTPPSFastRecHit::entryPoint(), recCellId_B, recCellId_F, recHitDet(), recTof_B, recTof_F, CTPPSFastRecHit::tof(), TrkStation_B, TrkStation_F, x, PV3DBase< T, PVType, FrameType >::x(), y, PV3DBase< T, PVType, FrameType >::y(), z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by produce().
|
private |
Definition at line 404 of file CTPPSFastTrackingProducer.cc.
References relval_parameters_module::energy, edm::isNotFinite(), and mm_to_um.
Referenced by SearchTrack().
|
private |
Definition at line 296 of file CTPPSFastTrackingProducer.cc.
References FastReco(), pps_stationB, pps_stationF, and theCTPPSFastTrack.
Referenced by produce().
|
private |
Definition at line 305 of file CTPPSFastTrackingProducer.cc.
References funct::cos(), relval_parameters_module::energy, fBeamEnergy, fBeamMomentum, fImpParcut, edm::isNotFinite(), LogDebug, m_verbosity, pps_stationB, pps_stationF, CTPPSTrkDetector::ppsNHits_, CTPPSTrkDetector::ppsX_, CTPPSTrkDetector::ppsY_, ProjectToToF(), PPSTools::ProtonMassSQ, ReconstructArm(), mathSSE::sqrt(), relativeConstraints::station, theta(), TrkStation_B, TrkStation_F, um_to_cm, and urad.
Referenced by FastReco().
|
private |
Definition at line 512 of file CTPPSFastTrackingProducer.cc.
References b1, b2, beam1filename, beam2filename, fz_tracker1, fz_tracker2, lengthctpps, m_beamlineCTPPS1, m_beamlineCTPPS2, pps_stationB, and pps_stationF.
Referenced by CTPPSFastTrackingProducer().
|
private |
Definition at line 239 of file CTPPSFastTrackingProducer.cc.
References TrkStation_B, and TrkStation_F.
Referenced by produce().
|
private |
Definition at line 246 of file CTPPSFastTrackingProducer.cc.
References det1B, det1F, det2B, det2F, detToF_B, and detToF_F.
Referenced by produce().
|
private |
Definition at line 60 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), and produce().
|
private |
Definition at line 98 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), and SetBeamLine().
|
private |
Definition at line 99 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), and SetBeamLine().
|
private |
Definition at line 113 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), ReadRecHits(), and TrackerStationStarting().
|
private |
Definition at line 112 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), ReadRecHits(), and TrackerStationStarting().
|
private |
Definition at line 115 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), ReadRecHits(), and TrackerStationStarting().
|
private |
Definition at line 114 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), ReadRecHits(), and TrackerStationStarting().
|
private |
Definition at line 117 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), ReadRecHits(), and TrackerStationStarting().
|
private |
Definition at line 116 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), ReadRecHits(), and TrackerStationStarting().
|
private |
Definition at line 104 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), FastReco(), and SearchTrack().
|
private |
Definition at line 105 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), FastReco(), and SearchTrack().
|
private |
Definition at line 131 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 127 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer().
|
private |
Definition at line 127 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer().
|
private |
Definition at line 106 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 107 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 108 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 131 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), and SearchTrack().
|
private |
Definition at line 131 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 129 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 128 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 131 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 130 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 130 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 129 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 129 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 131 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 127 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer().
|
private |
Definition at line 127 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer().
|
private |
Definition at line 127 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer().
|
private |
Definition at line 127 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer().
|
private |
Definition at line 127 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer().
|
private |
Definition at line 126 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), and ProjectToToF().
|
private |
Definition at line 126 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), ProjectToToF(), and SetBeamLine().
|
private |
Definition at line 126 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), ProjectToToF(), and SetBeamLine().
|
private |
Definition at line 102 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), and SetBeamLine().
|
private |
Definition at line 93 of file CTPPSFastTrackingProducer.cc.
Referenced by SetBeamLine().
|
private |
Definition at line 94 of file CTPPSFastTrackingProducer.cc.
Referenced by SetBeamLine().
|
private |
Definition at line 103 of file CTPPSFastTrackingProducer.cc.
Referenced by CTPPSFastTrackingProducer(), and SearchTrack().
|
private |
Definition at line 96 of file CTPPSFastTrackingProducer.cc.
Referenced by Reconstruction(), SearchTrack(), and SetBeamLine().
|
private |
Definition at line 95 of file CTPPSFastTrackingProducer.cc.
Referenced by Reconstruction(), SearchTrack(), and SetBeamLine().
|
private |
Definition at line 123 of file CTPPSFastTrackingProducer.cc.
Referenced by FastReco(), produce(), and ReadRecHits().
|
private |
Definition at line 123 of file CTPPSFastTrackingProducer.cc.
Referenced by FastReco(), produce(), and ReadRecHits().
|
private |
Definition at line 124 of file CTPPSFastTrackingProducer.cc.
Referenced by FastReco(), produce(), and ReadRecHits().
|
private |
Definition at line 124 of file CTPPSFastTrackingProducer.cc.
Referenced by FastReco(), produce(), and ReadRecHits().
|
private |
Definition at line 119 of file CTPPSFastTrackingProducer.cc.
Referenced by FastReco(), produce(), and Reconstruction().
|
private |
Definition at line 121 of file CTPPSFastTrackingProducer.cc.
Referenced by FastReco().
|
private |
Definition at line 111 of file CTPPSFastTrackingProducer.cc.
Referenced by FastReco(), ReadRecHits(), SearchTrack(), and TrackerStationClear().
|
private |
Definition at line 110 of file CTPPSFastTrackingProducer.cc.
Referenced by FastReco(), ReadRecHits(), SearchTrack(), and TrackerStationClear().