#include <FastSimulation/CTPPSFastTrackingProducer/plugins/CTPPSFastTrackingProducer.cc>
Public Member Functions | |
CTPPSFastTrackingProducer (const edm::ParameterSet &) | |
~CTPPSFastTrackingProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Private Types | |
typedef std::vector< CTPPSFastRecHit > | CTPPSFastRecHitContainer |
Private Member Functions | |
virtual void | beginEvent (edm::Event &event, const edm::EventSetup &eventSetup) |
void | beginStream (edm::StreamID) override |
virtual void | endEvent (edm::Event &event, const edm::EventSetup &eventSetup) |
void | endStream () override |
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<> | |
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 |
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 55 of file CTPPSFastTrackingProducer.h.
|
private |
Definition at line 70 of file CTPPSFastTrackingProducer.h.
|
explicit |
Definition at line 35 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().
|
override |
Definition at line 105 of file CTPPSFastTrackingProducer.cc.
References m_beamPart.
|
privatevirtual |
Definition at line 135 of file CTPPSFastTrackingProducer.cc.
References TrackerStationStarting().
|
overrideprivate |
Definition at line 373 of file CTPPSFastTrackingProducer.cc.
|
privatevirtual |
Definition at line 141 of file CTPPSFastTrackingProducer.cc.
References TrackerStationClear().
|
overrideprivate |
Definition at line 379 of file CTPPSFastTrackingProducer.cc.
|
private |
Definition at line 296 of file CTPPSFastTrackingProducer.cc.
References 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, PPSTools::LorentzBoost(), MatchCellId(), AlCaHLTBitMon_ParallelJobs::p, phi, Pi, CTPPSTrkDetector::ppsNHits_, PPSTools::ProtonMassSQ, EnergyCorrector::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(), lumiQTWidget::t, theCTPPSFastTrack, theta(), track, TrkStation_B, TrkStation_F, urad, and hybridSuperClusters_cfi::xi.
Referenced by Reconstruction().
|
private |
Definition at line 286 of file CTPPSFastTrackingProducer.cc.
References mps_fire::i.
Referenced by FastReco().
|
overrideprivate |
Definition at line 113 of file CTPPSFastTrackingProducer.cc.
References _recHitToken, edm::Event::getByToken(), mps_fire::i, eostools::move(), gen::n, edm::Event::put(), ReadRecHits(), recCellId_B, recCellId_F, Reconstruction(), recTof_B, recTof_F, theCTPPSFastTrack, TrackerStationClear(), and TrackerStationStarting().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
inlineprivate |
Definition at line 81 of file CTPPSFastTrackingProducer.h.
References fz_timing, fz_tracker1, fz_tracker2, SetBeamLine(), and globals_cff::x2.
Referenced by SearchTrack().
|
private |
Definition at line 166 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 268 of file CTPPSFastTrackingProducer.cc.
References edm::detail::isnan(), and mm_to_um.
Referenced by SearchTrack().
|
private |
Definition at line 197 of file CTPPSFastTrackingProducer.cc.
References FastReco(), pps_stationB, pps_stationF, and theCTPPSFastTrack.
Referenced by produce().
|
private |
Definition at line 207 of file CTPPSFastTrackingProducer.cc.
References funct::cos(), fBeamEnergy, fBeamMomentum, fImpParcut, edm::detail::isnan(), LogDebug, m_verbosity, funct::pow(), 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, urad, globals_cff::x1, globals_cff::x2, and hybridSuperClusters_cfi::xi.
Referenced by FastReco().
|
private |
Definition at line 382 of file CTPPSFastTrackingProducer.cc.
References beam1filename, beam2filename, DEFINE_FWK_MODULE, fz_tracker1, fz_tracker2, lengthctpps, m_beamlineCTPPS1, m_beamlineCTPPS2, pps_stationB, and pps_stationF.
Referenced by CTPPSFastTrackingProducer(), and ProjectToToF().
|
private |
Definition at line 147 of file CTPPSFastTrackingProducer.cc.
References TrkStation_B, and TrkStation_F.
Referenced by endEvent(), and produce().
|
private |
Definition at line 153 of file CTPPSFastTrackingProducer.cc.
References det1B, det1F, det2B, det2F, detToF_B, and detToF_F.
Referenced by beginEvent(), and produce().
|
private |
Definition at line 71 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and produce().
|
private |
Definition at line 94 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and SetBeamLine().
|
private |
Definition at line 95 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and SetBeamLine().
|
private |
Definition at line 109 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), ReadRecHits(), and TrackerStationStarting().
|
private |
Definition at line 108 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), ReadRecHits(), and TrackerStationStarting().
|
private |
Definition at line 111 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), ReadRecHits(), and TrackerStationStarting().
|
private |
Definition at line 110 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), ReadRecHits(), and TrackerStationStarting().
|
private |
Definition at line 113 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), ReadRecHits(), and TrackerStationStarting().
|
private |
Definition at line 112 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), ReadRecHits(), and TrackerStationStarting().
|
private |
Definition at line 100 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), FastReco(), and SearchTrack().
|
private |
Definition at line 101 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), FastReco(), and SearchTrack().
|
private |
Definition at line 127 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 123 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer().
|
private |
Definition at line 123 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer().
|
private |
Definition at line 102 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 103 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 104 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 127 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and SearchTrack().
|
private |
Definition at line 127 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 125 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 124 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 127 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 126 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 126 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 125 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 125 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 127 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 123 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer().
|
private |
Definition at line 123 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer().
|
private |
Definition at line 123 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer().
|
private |
Definition at line 123 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer().
|
private |
Definition at line 123 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer().
|
private |
Definition at line 122 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and ProjectToToF().
|
private |
Definition at line 122 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), ProjectToToF(), and SetBeamLine().
|
private |
Definition at line 122 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), ProjectToToF(), and SetBeamLine().
|
private |
Definition at line 98 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and SetBeamLine().
|
private |
Definition at line 89 of file CTPPSFastTrackingProducer.h.
Referenced by SetBeamLine().
|
private |
Definition at line 90 of file CTPPSFastTrackingProducer.h.
Referenced by SetBeamLine().
|
private |
Definition at line 88 of file CTPPSFastTrackingProducer.h.
Referenced by ~CTPPSFastTrackingProducer().
|
private |
Definition at line 99 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and SearchTrack().
|
private |
Definition at line 92 of file CTPPSFastTrackingProducer.h.
Referenced by Reconstruction(), SearchTrack(), and SetBeamLine().
|
private |
Definition at line 91 of file CTPPSFastTrackingProducer.h.
Referenced by Reconstruction(), SearchTrack(), and SetBeamLine().
|
private |
Definition at line 119 of file CTPPSFastTrackingProducer.h.
Referenced by FastReco(), produce(), and ReadRecHits().
|
private |
Definition at line 119 of file CTPPSFastTrackingProducer.h.
Referenced by FastReco(), produce(), and ReadRecHits().
|
private |
Definition at line 120 of file CTPPSFastTrackingProducer.h.
Referenced by FastReco(), produce(), and ReadRecHits().
|
private |
Definition at line 120 of file CTPPSFastTrackingProducer.h.
Referenced by FastReco(), produce(), and ReadRecHits().
|
private |
Definition at line 115 of file CTPPSFastTrackingProducer.h.
Referenced by FastReco(), produce(), and Reconstruction().
|
private |
Definition at line 117 of file CTPPSFastTrackingProducer.h.
Referenced by FastReco().
|
private |
Definition at line 107 of file CTPPSFastTrackingProducer.h.
Referenced by FastReco(), ReadRecHits(), SearchTrack(), and TrackerStationClear().
|
private |
Definition at line 106 of file CTPPSFastTrackingProducer.h.
Referenced by FastReco(), ReadRecHits(), SearchTrack(), and TrackerStationClear().