Public Member Functions | |
AlignmentMonitorMuonVsCurvature (const edm::ParameterSet &cfg, edm::ConsumesCollector iC) | |
void | book () override |
Book or retrieve histograms; MUST be reimplemented. More... | |
void | event (const edm::Event &iEvent, const edm::EventSetup &iSetup, const ConstTrajTrackPairCollection &iTrajTracks) override |
Called for each event (by "run()"): may be reimplemented. More... | |
void | processMuonResidualsFromTrack (MuonResidualsFromTrack &mrft, const Trajectory *traj=nullptr) |
~AlignmentMonitorMuonVsCurvature () override | |
Public Member Functions inherited from AlignmentMonitorBase | |
virtual void | afterAlignment () |
AlignmentMonitorBase (const edm::ParameterSet &cfg, const edm::ConsumesCollector &iC, std::string name) | |
Constructor. More... | |
AlignmentMonitorBase (const AlignmentMonitorBase &)=delete | |
void | beginOfJob (AlignableTracker *pTracker, AlignableMuon *pMuon, AlignmentParameterStore *pStore) |
Called at beginning of job: don't reimplement. More... | |
void | duringLoop (const edm::Event &iEvent, const edm::EventSetup &iSetup, const ConstTrajTrackPairCollection &iTrajTracks) |
Called for each event: don't reimplement. More... | |
void | endOfJob () |
Called at end of processing: don't implement. More... | |
void | endOfLoop () |
Called at end of loop: don't reimplement. More... | |
const AlignmentMonitorBase & | operator= (const AlignmentMonitorBase &)=delete |
void | startingNewLoop () |
Called at beginning of loop: don't reimplement. More... | |
virtual | ~AlignmentMonitorBase () |
Destructor. More... | |
Private Types | |
enum | { kDeltaX = 0, kDeltaDxDz, kNumComponents } |
Additional Inherited Members | |
Public Types inherited from AlignmentMonitorBase | |
typedef std::pair< const Trajectory *, const reco::Track * > | ConstTrajTrackPair |
typedef std::vector< ConstTrajTrackPair > | ConstTrajTrackPairCollection |
Protected Member Functions inherited from AlignmentMonitorBase | |
TH1F * | book1D (std::string dir, std::string name, std::string title, int nchX, double lowX, double highX) |
TH2F * | book2D (std::string dir, std::string name, std::string title, int nchX, double lowX, double highX, int nchY, double lowY, double highY) |
TProfile * | bookProfile (std::string dir, std::string name, std::string title, int nchX, double lowX, double highX, int nchY=1, double lowY=0., double highY=0., const char *option="s") |
TFileDirectory * | directory (std::string dir) |
int | iteration () |
AlignableMuon * | pMuon () |
AlignableNavigator * | pNavigator () |
AlignmentParameterStore * | pStore () |
AlignableTracker * | pTracker () |
Protected Attributes inherited from AlignmentMonitorBase | |
const edm::InputTag | m_beamSpotTag |
Definition at line 34 of file AlignmentMonitorMuonVsCurvature.cc.
|
private |
Enumerator | |
---|---|
kDeltaX | |
kDeltaDxDz | |
kNumComponents |
Definition at line 74 of file AlignmentMonitorMuonVsCurvature.cc.
AlignmentMonitorMuonVsCurvature::AlignmentMonitorMuonVsCurvature | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector | iC | ||
) |
Definition at line 88 of file AlignmentMonitorMuonVsCurvature.cc.
|
inlineoverride |
Definition at line 37 of file AlignmentMonitorMuonVsCurvature.cc.
|
overridevirtual |
Book or retrieve histograms; MUST be reimplemented.
Implements AlignmentMonitorBase.
Definition at line 114 of file AlignmentMonitorMuonVsCurvature.cc.
References AlignmentMonitorBase::book1D(), AlignmentMonitorBase::book2D(), AlignmentMonitorBase::bookProfile(), relativeConstraints::chamber, kDeltaDxDz, kDeltaX, kNumComponents, m_doCSC, m_doDT, m_minTrackPt, relativeConstraints::ring, nano_mu_digi_cff::sector, relativeConstraints::station, AlCaHLTBitMon_QueryRunRegistry::string, th1f_trackerRedChi2, th1f_trackerRedChi2Diff, th2f_st_ring_chamber, th2f_wheel_st_sector, tprofile_st_ring_chamber, tprofile_wheel_st_sector, and makeMuonMisalignmentScenario::wheel.
|
overridevirtual |
Called for each event (by "run()"): may be reimplemented.
Reimplemented from AlignmentMonitorBase.
Definition at line 201 of file AlignmentMonitorMuonVsCurvature.cc.
References pwdgSkimBPark_cfi::beamSpot, bsToken_, edm::EventSetup::getData(), edm::EventSetup::getHandle(), iEvent, edm::InputTag::label(), m_esTokenBuilder, m_esTokenDetId, m_esTokenGBTGeom, m_esTokenMF, m_esTokenProp, m_maxDxy, m_minTrackP, m_minTrackPt, m_muonCollectionTag, HLT_2024v10_cff::magneticField, HLT_2024v10_cff::muon, DiMuonV_cfg::muons, muonToken_, AlignmentMonitorBase::pNavigator(), processMuonResidualsFromTrack(), DiDispStaMuonMonitor_cfi::pt, and HLT_2024v10_cff::track.
Referenced by Types.EventID::cppID().
void AlignmentMonitorMuonVsCurvature::processMuonResidualsFromTrack | ( | MuonResidualsFromTrack & | mrft, |
const Trajectory * | traj = nullptr |
||
) |
Definition at line 241 of file AlignmentMonitorMuonVsCurvature.cc.
References relativeConstraints::chamber, MuonResidualsFromTrack::chamberIds(), MuonResidualsFromTrack::chamberResidual(), reco::TrackBase::charge(), MuonResidualsFromTrack::contains_TIDTEC(), MuonSubdetId::CSC, MuonSubdetId::DT, MuonResidualsFromTrack::getTrack(), MuonChamberResidual::kCSC, kDeltaDxDz, kDeltaX, MuonChamberResidual::kDT13, m_allowTIDTEC, m_doCSC, m_doDT, m_maxTrackerRedChi2, m_minCSCHits, m_minDT13Hits, m_minNCrossedChambers, m_minTrackerHits, DetId::Muon, MuonResidualsFromTrack::normalizedChi2(), reco::TrackBase::normalizedChi2(), reco::TrackBase::pt(), reco::TrackBase::pz(), relativeConstraints::ring, nano_mu_digi_cff::sector, relativeConstraints::station, th1f_trackerRedChi2, th1f_trackerRedChi2Diff, th2f_st_ring_chamber, th2f_wheel_st_sector, tprofile_st_ring_chamber, tprofile_wheel_st_sector, MuonResidualsFromTrack::trackerNumHits(), MuonResidualsFromTrack::trackerRedChi2(), and makeMuonMisalignmentScenario::wheel.
Referenced by event().
|
private |
Definition at line 71 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by event().
|
private |
Definition at line 60 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 69 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 68 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 52 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by event().
|
private |
Definition at line 49 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by event().
|
private |
Definition at line 48 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by event().
|
private |
Definition at line 51 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by event().
|
private |
Definition at line 50 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by event().
|
private |
Definition at line 66 of file AlignmentMonitorMuonVsCurvature.cc.
|
private |
Definition at line 62 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by event().
|
private |
Definition at line 59 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 65 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 63 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 64 of file AlignmentMonitorMuonVsCurvature.cc.
|
private |
Definition at line 61 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 58 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 57 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by event().
|
private |
Definition at line 56 of file AlignmentMonitorMuonVsCurvature.cc.
|
private |
Definition at line 55 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by event().
|
private |
Definition at line 67 of file AlignmentMonitorMuonVsCurvature.cc.
|
private |
Definition at line 72 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by event().
|
private |
Definition at line 84 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 85 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 81 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 77 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 82 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 78 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by book(), and processMuonResidualsFromTrack().