#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 Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Public Member Functions | |
CTPPSFastTrackingProducer (const edm::ParameterSet &) | |
~CTPPSFastTrackingProducer () | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Types | |
typedef std::vector< CTPPSFastRecHit > | CTPPSFastRecHitContainer |
Private Member Functions | |
virtual void | beginEvent (edm::Event &event, const edm::EventSetup &eventSetup) |
virtual void | beginStream (edm::StreamID) override |
virtual void | endEvent (edm::Event &event, const edm::EventSetup &eventSetup) |
virtual 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) |
virtual 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 () |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
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().
CTPPSFastTrackingProducer::~CTPPSFastTrackingProducer | ( | ) |
Definition at line 114 of file CTPPSFastTrackingProducer.cc.
References m_beamPart.
|
privatevirtual |
Definition at line 146 of file CTPPSFastTrackingProducer.cc.
References TrackerStationStarting().
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 435 of file CTPPSFastTrackingProducer.cc.
|
privatevirtual |
Definition at line 153 of file CTPPSFastTrackingProducer.cc.
References TrackerStationClear().
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDProducerBase.
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(), NULL, 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().
|
overrideprivatevirtual |
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, and fz_tracker2.
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, NULL, 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, 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().