Public Member Functions | |
AlignmentMonitorSegmentDifferences (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) |
~AlignmentMonitorSegmentDifferences () 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... | |
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 AlignmentMonitorSegmentDifferences.cc.
AlignmentMonitorSegmentDifferences::AlignmentMonitorSegmentDifferences | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector | iC | ||
) |
Definition at line 121 of file AlignmentMonitorSegmentDifferences.cc.
|
inlineoverride |
Definition at line 37 of file AlignmentMonitorSegmentDifferences.cc.
|
overridevirtual |
Book or retrieve histograms; MUST be reimplemented.
Implements AlignmentMonitorBase.
Definition at line 145 of file AlignmentMonitorSegmentDifferences.cc.
References AlignmentMonitorBase::book1D(), AlignmentMonitorBase::bookProfile(), relativeConstraints::chamber, MillePedeFileConverter_cfg::e, makeMuonMisalignmentScenario::endcap, m_cscinner_resid, m_cscinner_slope, m_cscouter_resid, m_cscouter_slope, m_doCSC, m_doDT, m_dt13_resid, m_dt13_slope, m_dt2_resid, m_dt2_slope, m_minTrackPt, m_negcscinner_resid, m_negcscinner_slope, m_negcscouter_resid, m_negcscouter_slope, m_negdt13_resid, m_negdt13_slope, m_negdt2_resid, m_negdt2_slope, m_poscscinner_resid, m_poscscinner_slope, m_poscscouter_resid, m_poscscouter_slope, m_posdt13_resid, m_posdt13_slope, m_posdt2_resid, m_posdt2_slope, m_x_neg_dt1_csc1_resid, m_x_neg_dt1_csc2_resid, m_x_neg_dt2_csc1_resid, m_x_pos_dt1_csc1_resid, m_x_pos_dt1_csc2_resid, m_x_pos_dt2_csc1_resid, Skims_PA_cff::name, alignCSCRings::s, nano_mu_digi_cff::sector, AlCaHLTBitMon_QueryRunRegistry::string, and makeMuonMisalignmentScenario::wheel.
|
overridevirtual |
Called for each event (by "run()"): may be reimplemented.
Reimplemented from AlignmentMonitorBase.
Definition at line 376 of file AlignmentMonitorSegmentDifferences.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_2024v11_cff::magneticField, HLT_2024v11_cff::muon, DiMuonV_cfg::muons, muonToken_, AlignmentMonitorBase::pNavigator(), processMuonResidualsFromTrack(), DiDispStaMuonMonitor_cfi::pt, and HLT_2024v11_cff::track.
Referenced by Types.EventID::cppID().
void AlignmentMonitorSegmentDifferences::processMuonResidualsFromTrack | ( | MuonResidualsFromTrack & | mrft | ) |
Definition at line 416 of file AlignmentMonitorSegmentDifferences.cc.
References funct::abs(), MuonChamberResidual::chamberAlignable(), MuonResidualsFromTrack::chamberIds(), MuonResidualsFromTrack::chamberResidual(), reco::TrackBase::charge(), MuonChamberResidual::chi2(), MuonResidualsFromTrack::contains_TIDTEC(), MuonSubdetId::CSC, MuonSubdetId::DT, MuonResidualsFromTrack::getTrack(), MuonChamberResidual::global_residual(), MuonChamberResidual::global_resslope(), SurfaceOrientation::inner, MuonChamberResidual::kCSC, MuonChamberResidual::kDT13, MuonChamberResidual::kDT2, m_allowTIDTEC, m_cscinner_resid, m_cscinner_slope, m_cscouter_resid, m_cscouter_slope, m_doCSC, m_doDT, m_dt13_resid, m_dt13_slope, m_dt2_resid, m_dt2_slope, m_maxTrackerRedChi2, m_minCSCHits, m_minDT13Hits, m_minDT2Hits, m_minNCrossedChambers, m_minTrackerHits, m_negcscinner_resid, m_negcscinner_slope, m_negcscouter_resid, m_negcscouter_slope, m_negdt13_resid, m_negdt13_slope, m_negdt2_resid, m_negdt2_slope, m_poscscinner_resid, m_poscscinner_slope, m_poscscouter_resid, m_poscscouter_slope, m_posdt13_resid, m_posdt13_slope, m_posdt2_resid, m_posdt2_slope, m_x_neg_dt1_csc1_resid, m_x_neg_dt1_csc2_resid, m_x_neg_dt2_csc1_resid, m_x_pos_dt1_csc1_resid, m_x_pos_dt1_csc2_resid, m_x_pos_dt2_csc1_resid, DetId::Muon, MuonChamberResidual::ndof(), MuonResidualsFromTrack::normalizedChi2(), MuonChamberResidual::numHits(), SurfaceOrientation::outer, reco::TrackBase::pt(), reco::TrackBase::pz(), Alignable::surface(), AlignableSurface::toGlobal(), MuonResidualsFromTrack::trackerNumHits(), MuonChamberResidual::trackx(), and MuonChamberResidual::tracky().
Referenced by event().
|
private |
Definition at line 69 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by event().
|
private |
Definition at line 61 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 89 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 90 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 87 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 88 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 67 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 66 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 73 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 74 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 75 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 76 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 52 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by event().
|
private |
Definition at line 49 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by event().
|
private |
Definition at line 48 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by event().
|
private |
Definition at line 51 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by event().
|
private |
Definition at line 50 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by event().
|
private |
Definition at line 58 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by event().
|
private |
Definition at line 60 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 65 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 63 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 64 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 62 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 59 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 57 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by event().
|
private |
Definition at line 56 of file AlignmentMonitorSegmentDifferences.cc.
|
private |
Definition at line 55 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by event().
|
private |
Definition at line 97 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 98 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 95 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 96 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 81 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 82 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 83 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 84 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 93 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 94 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 91 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 92 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 77 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 78 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 79 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 80 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 104 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 105 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 106 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 101 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 102 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 103 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 70 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by event().