#include <FastSimulation/CTPPSFastTrackingProducer/plugins/CTPPSFastTrackingProducer.cc>
Public Types | |
typedef CLHEP::HepLorentzVector | LorentzVector |
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 |
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 | Get_t_and_xi (const LorentzVector *p, double &t, double &xi) |
void | LorentzBoost (LorentzVector &p_out, const string &frame) |
void | MatchCellId (int cellId, vector< int > vrecCellId, 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) |
void | TrackerStationClear () |
void | TrackerStationStarting () |
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 63 of file CTPPSFastTrackingProducer.h.
|
private |
Definition at line 79 of file CTPPSFastTrackingProducer.h.
typedef CLHEP::HepLorentzVector CTPPSFastTrackingProducer::LorentzVector |
Definition at line 67 of file CTPPSFastTrackingProducer.h.
|
explicit |
Definition at line 30 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, fCrossingAngle, 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_beamlineCTPPS1, m_beamlineCTPPS2, m_verbosity, pps_stationB, pps_stationF, ProtonMassSQ, and mathSSE::sqrt().
|
override |
Definition at line 114 of file CTPPSFastTrackingProducer.cc.
References m_beamPart.
|
privatevirtual |
Definition at line 146 of file CTPPSFastTrackingProducer.cc.
References TrackerStationStarting().
|
overrideprivate |
Definition at line 435 of file CTPPSFastTrackingProducer.cc.
|
privatevirtual |
Definition at line 153 of file CTPPSFastTrackingProducer.cc.
References TrackerStationClear().
|
overrideprivate |
Definition at line 441 of file CTPPSFastTrackingProducer.cc.
References DEFINE_FWK_MODULE.
|
private |
Definition at line 348 of file CTPPSFastTrackingProducer.cc.
References funct::cos(), MillePedeFileConverter_cfg::e, fBeamXRMS_ToF, fCrossAngleCorr, CTPPSToFDetector::findCellId(), fTimeSigma, fToFCellHeight, fToFCellWidth, fToFInsertion, fToFNCellX, fToFNCellY, fToFPitchX, fToFPitchY, fToFXOffset, Get_t_and_xi(), mps_fire::i, createfilelist::int, LorentzBoost(), MatchCellId(), AlCaHLTBitMon_ParallelJobs::p, phi, pi, CTPPSTrkDetector::ppsNHits_, 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 421 of file CTPPSFastTrackingProducer.cc.
References funct::cos(), fBeamEnergy, fBeamMomentum, pi, ProtonMassSQ, mathSSE::sqrt(), and theta().
Referenced by FastReco().
|
private |
Definition at line 299 of file CTPPSFastTrackingProducer.cc.
References funct::cos(), fCrossingAngle, p4, funct::sin(), and funct::tan().
Referenced by FastReco().
|
private |
Definition at line 338 of file CTPPSFastTrackingProducer.cc.
References mps_fire::i.
Referenced by FastReco().
|
overrideprivate |
Definition at line 122 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 91 of file CTPPSFastTrackingProducer.h.
References fz_timing, fz_tracker1, fz_tracker2, and globals_cff::x2.
Referenced by SearchTrack().
|
private |
Definition at line 181 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 280 of file CTPPSFastTrackingProducer.cc.
References edm::detail::isnan(), and mm_to_um.
Referenced by SearchTrack().
|
private |
Definition at line 212 of file CTPPSFastTrackingProducer.cc.
References FastReco(), pps_stationB, pps_stationF, and theCTPPSFastTrack.
Referenced by produce().
|
private |
Definition at line 222 of file CTPPSFastTrackingProducer.cc.
References funct::cos(), gather_cfg::cout, fBeamEnergy, fBeamMomentum, fImpParcut, edm::detail::isnan(), m_verbosity, funct::pow(), pps_stationB, pps_stationF, CTPPSTrkDetector::ppsNHits_, CTPPSTrkDetector::ppsX_, CTPPSTrkDetector::ppsY_, ProjectToToF(), 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 160 of file CTPPSFastTrackingProducer.cc.
References TrkStation_B, and TrkStation_F.
Referenced by endEvent(), and produce().
|
private |
Definition at line 168 of file CTPPSFastTrackingProducer.cc.
References det1B, det1F, det2B, det2F, detToF_B, and detToF_F.
Referenced by beginEvent(), and produce().
|
private |
Definition at line 80 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and produce().
|
private |
Definition at line 104 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer().
|
private |
Definition at line 105 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer().
|
private |
Definition at line 118 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), ReadRecHits(), and TrackerStationStarting().
|
private |
Definition at line 117 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), ReadRecHits(), and TrackerStationStarting().
|
private |
Definition at line 120 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), ReadRecHits(), and TrackerStationStarting().
|
private |
Definition at line 119 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), ReadRecHits(), and TrackerStationStarting().
|
private |
Definition at line 122 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), ReadRecHits(), and TrackerStationStarting().
|
private |
Definition at line 121 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), ReadRecHits(), and TrackerStationStarting().
|
private |
Definition at line 110 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), Get_t_and_xi(), and SearchTrack().
|
private |
Definition at line 111 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), Get_t_and_xi(), and SearchTrack().
|
private |
Definition at line 136 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 132 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer().
|
private |
Definition at line 132 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer().
|
private |
Definition at line 112 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 113 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and LorentzBoost().
|
private |
Definition at line 136 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and SearchTrack().
|
private |
Definition at line 136 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 134 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 133 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 136 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 135 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 135 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 134 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 134 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 136 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and FastReco().
|
private |
Definition at line 132 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer().
|
private |
Definition at line 132 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer().
|
private |
Definition at line 132 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer().
|
private |
Definition at line 132 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer().
|
private |
Definition at line 132 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer().
|
private |
Definition at line 131 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and ProjectToToF().
|
private |
Definition at line 131 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and ProjectToToF().
|
private |
Definition at line 131 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and ProjectToToF().
|
private |
Definition at line 108 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer().
|
private |
Definition at line 98 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer().
|
private |
Definition at line 99 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer().
|
private |
Definition at line 94 of file CTPPSFastTrackingProducer.h.
Referenced by ~CTPPSFastTrackingProducer().
|
private |
Definition at line 109 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), and SearchTrack().
|
private |
Definition at line 102 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), Reconstruction(), and SearchTrack().
|
private |
Definition at line 101 of file CTPPSFastTrackingProducer.h.
Referenced by CTPPSFastTrackingProducer(), Reconstruction(), and SearchTrack().
|
private |
Definition at line 128 of file CTPPSFastTrackingProducer.h.
Referenced by FastReco(), produce(), and ReadRecHits().
|
private |
Definition at line 128 of file CTPPSFastTrackingProducer.h.
Referenced by FastReco(), produce(), and ReadRecHits().
|
private |
Definition at line 129 of file CTPPSFastTrackingProducer.h.
Referenced by FastReco(), produce(), and ReadRecHits().
|
private |
Definition at line 129 of file CTPPSFastTrackingProducer.h.
Referenced by FastReco(), produce(), and ReadRecHits().
|
private |
Definition at line 124 of file CTPPSFastTrackingProducer.h.
Referenced by FastReco(), produce(), and Reconstruction().
|
private |
Definition at line 126 of file CTPPSFastTrackingProducer.h.
Referenced by FastReco().
|
private |
Definition at line 116 of file CTPPSFastTrackingProducer.h.
Referenced by FastReco(), ReadRecHits(), SearchTrack(), and TrackerStationClear().
|
private |
Definition at line 115 of file CTPPSFastTrackingProducer.h.
Referenced by FastReco(), ReadRecHits(), SearchTrack(), and TrackerStationClear().