#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 433 of file CTPPSFastTrackingProducer.cc.
References Matriplex::atan2(), funct::cos(), MillePedeFileConverter_cfg::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, createfilelist::int, dqmiolumiharvest::j, PPSTools::LorentzBoost(), MatchCellId(), AlCaHLTBitMon_ParallelJobs::p, phi, Pi, CTPPSTrkDetector::ppsNHits_, PPSTools::ProtonMassSQ, DiDispStaMuonMonitor_cfi::pt, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, 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, tauSpinnerTable_cfi::theta, track, TrkStation_B, TrkStation_F, urad, bphysicsOniaDQM_cfi::vertex, and protons_cff::xi.
Referenced by Reconstruction().
|
private |
Definition at line 422 of file CTPPSFastTrackingProducer.cc.
References mps_fire::i, and match().
Referenced by FastReco().
|
overrideprivate |
Definition at line 215 of file CTPPSFastTrackingProducer.cc.
References _recHitToken, mps_fire::i, iEvent, eostools::move(), ReadRecHits(), recCellId_B, recCellId_F, FastTrackerRecHitMaskProducer_cfi::recHits, Reconstruction(), recTof_B, recTof_F, theCTPPSFastTrack, TrackerStationClear(), and TrackerStationStarting().
|
inlineprivate |
Definition at line 86 of file CTPPSFastTrackingProducer.cc.
References fz_timing, fz_tracker1, fz_tracker2, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, testProducerWithPsetDescEmpty_cfi::y1, and testProducerWithPsetDescEmpty_cfi::y2.
Referenced by SearchTrack().
|
private |
Definition at line 254 of file CTPPSFastTrackingProducer.cc.
References det1B, det1F, det2B, det2F, detToF_B, detToF_F, recCellId_B, recCellId_F, recHitDet(), FastTrackerRecHitMaskProducer_cfi::recHits, recTof_B, recTof_F, TrkStation_B, TrkStation_F, x, y, and z.
Referenced by produce().
|
private |
Definition at line 402 of file CTPPSFastTrackingProducer.cc.
References HBHEDarkening_cff::energy, edm::isNotFinite(), mm_to_um, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, testProducerWithPsetDescEmpty_cfi::y1, and testProducerWithPsetDescEmpty_cfi::y2.
Referenced by SearchTrack().
|
private |
Definition at line 294 of file CTPPSFastTrackingProducer.cc.
References FastReco(), pps_stationB, pps_stationF, and theCTPPSFastTrack.
Referenced by produce().
|
private |
Definition at line 303 of file CTPPSFastTrackingProducer.cc.
References funct::cos(), HBHEDarkening_cff::energy, fBeamEnergy, fBeamMomentum, fImpParcut, mps_fire::i, edm::isNotFinite(), dqmiolumiharvest::j, LogDebug, m_verbosity, pps_stationB, pps_stationF, CTPPSTrkDetector::ppsNHits_, CTPPSTrkDetector::ppsX_, CTPPSTrkDetector::ppsY_, ProjectToToF(), PPSTools::ProtonMassSQ, DiDispStaMuonMonitor_cfi::pt, ReconstructArm(), mathSSE::sqrt(), relativeConstraints::station, submitPVValidationJobs::t, tauSpinnerTable_cfi::theta, TrkStation_B, TrkStation_F, um_to_cm, urad, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, protons_cff::xi, testProducerWithPsetDescEmpty_cfi::y1, and testProducerWithPsetDescEmpty_cfi::y2.
Referenced by FastReco().
|
private |
Definition at line 510 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 237 of file CTPPSFastTrackingProducer.cc.
References TrkStation_B, and TrkStation_F.
Referenced by produce().
|
private |
Definition at line 244 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().