Classes | |
class | MuonSystemMapPlot1D |
struct | MyCSCDetId |
struct | MyResidual |
struct | MyTrack |
Public Member Functions | |
void | afterAlignment () override |
AlignmentMonitorMuonSystemMap1D (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 edm::Event &iEvent) |
~AlignmentMonitorMuonSystemMap1D () override | |
Public Member Functions inherited from AlignmentMonitorBase | |
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 Member Functions | |
std::string | num02d (int num) |
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 AlignmentMonitorMuonSystemMap1D.cc.
AlignmentMonitorMuonSystemMap1D::AlignmentMonitorMuonSystemMap1D | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector | iC | ||
) |
Definition at line 152 of file AlignmentMonitorMuonSystemMap1D.cc.
References AlignmentMonitorMuonSystemMap1D::MyCSCDetId::e, compareTotals::fs, m_createNtuple, m_cscnt, m_id, m_re, m_run, m_tr, AlignmentMonitorMuonSystemMap1D::MyTrack::q, and AlignmentMonitorMuonSystemMap1D::MyResidual::res.
|
inlineoverride |
Definition at line 37 of file AlignmentMonitorMuonSystemMap1D.cc.
|
overridevirtual |
Called after updating AlignableTracker and AlignableMuon (by "endOfLoop()"): may be reimplemented
Reimplemented from AlignmentMonitorBase.
Definition at line 491 of file AlignmentMonitorMuonSystemMap1D.cc.
References gather_cfg::cout, m_counter_13numhits, m_counter_2numhits, m_counter_csc, m_counter_cscnumhits, m_counter_dt, m_counter_event, m_counter_track, m_counter_trackdxy, m_counter_trackmoment, and m_counter_trackokay.
|
overridevirtual |
Book or retrieve histograms; MUST be reimplemented.
Implements AlignmentMonitorBase.
Definition at line 194 of file AlignmentMonitorMuonSystemMap1D.cc.
References relativeConstraints::chamber, makeMuonMisalignmentScenario::endcap, m_counter_13numhits, m_counter_2numhits, m_counter_csc, m_counter_cscnumhits, m_counter_dt, m_counter_event, m_counter_track, m_counter_trackdxy, m_counter_trackmoment, m_counter_trackokay, m_CSCvsphi_me, m_CSCvsr_me, m_doCSC, m_doDT, m_DTvsphi_station, m_DTvsz_station, M_PI, m_plots, num02d(), relativeConstraints::ring, relativeConstraints::station, AlCaHLTBitMon_QueryRunRegistry::string, cond::impl::to_string(), and makeMuonMisalignmentScenario::wheel.
|
overridevirtual |
Called for each event (by "run()"): may be reimplemented.
Reimplemented from AlignmentMonitorBase.
Definition at line 264 of file AlignmentMonitorMuonSystemMap1D.cc.
References pwdgSkimBPark_cfi::beamSpot, edm::EventSetup::getData(), edm::EventSetup::getHandle(), iEvent, edm::InputTag::label(), AlignmentMonitorBase::m_beamSpotTag, m_counter_event, m_counter_track, m_counter_trackdxy, m_counter_trackmoment, m_esTokenBuilder, m_esTokenDetId, m_esTokenGBTGeom, m_esTokenMF, m_esTokenProp, m_maxDxy, m_maxTrackP, m_maxTrackPt, m_minTrackP, m_muonCollectionTag, HLT_2022v12_cff::magneticField, HLT_2022v12_cff::muon, PDWG_BPHSkim_cff::muons, AlignmentMonitorBase::pNavigator(), processMuonResidualsFromTrack(), DiDispStaMuonMonitor_cfi::pt, and HLT_2022v12_cff::track.
Referenced by Types.EventID::cppID().
|
private |
Definition at line 187 of file AlignmentMonitorMuonSystemMap1D.cc.
References cms::cuda::assert(), EgammaValidation_cff::num, AlCaHLTBitMon_QueryRunRegistry::string, and createJobs::tmp.
Referenced by book().
void AlignmentMonitorMuonSystemMap1D::processMuonResidualsFromTrack | ( | MuonResidualsFromTrack & | mrft, |
const edm::Event & | iEvent | ||
) |
Definition at line 322 of file AlignmentMonitorMuonSystemMap1D.cc.
References cms::cuda::assert(), relativeConstraints::chamber, MuonResidualsFromTrack::chamberIds(), MuonResidualsFromTrack::chamberResidual(), ALCARECOTkAlJpsiMuMu_cff::charge, reco::TrackBase::charge(), hltPixelTracks_cff::chi2, MuonChamberResidual::chi2(), MuonResidualsFromTrack::contains_TIDTEC(), MuonSubdetId::CSC, MuonSubdetId::DT, makeMuonMisalignmentScenario::endcap, AlignmentMonitorMuonSystemMap1D::MuonSystemMapPlot1D::fill_dxdz(), AlignmentMonitorMuonSystemMap1D::MuonSystemMapPlot1D::fill_dydz(), AlignmentMonitorMuonSystemMap1D::MuonSystemMapPlot1D::fill_x(), AlignmentMonitorMuonSystemMap1D::MuonSystemMapPlot1D::fill_x_1d(), AlignmentMonitorMuonSystemMap1D::MuonSystemMapPlot1D::fill_y(), MuonResidualsFromTrack::getTrack(), MuonChamberResidual::global_residual(), MuonChamberResidual::global_resslope(), MuonChamberResidual::global_stubpos(), MuonChamberResidual::global_trackpos(), triggerObjects_cff::id, iEvent, AlignmentMonitorMuonSystemMap1D::MyCSCDetId::init(), MuonChamberResidual::kCSC, MuonChamberResidual::kDT13, MuonChamberResidual::kDT2, m_allowTIDTEC, m_counter_13numhits, m_counter_2numhits, m_counter_csc, m_counter_cscnumhits, m_counter_dt, m_counter_trackokay, m_createNtuple, m_cscnt, m_CSCvsphi_me, m_CSCvsr_me, m_doCSC, m_doDT, m_DTvsphi_station, m_DTvsz_station, m_id, m_maxTrackerRedChi2, m_minCSCHits, m_minDT13Hits, m_minDT2Hits, m_minNCrossedChambers, m_minTrackerHits, M_PI, m_re, m_run, m_tr, m_useStubPosition, DetId::Muon, MuonChamberResidual::ndof(), MuonResidualsFromTrack::normalizedChi2(), MuonChamberResidual::numHits(), phi, AlignmentMonitorMuonSystemMap1D::MyResidual::phi, funct::pow(), AlignmentMonitorMuonSystemMap1D::MyTrack::pt, reco::TrackBase::pt(), AlignmentMonitorMuonSystemMap1D::MyTrack::pz, reco::TrackBase::pz(), AlignmentMonitorMuonSystemMap1D::MyTrack::q, dttmaxenums::R, AlignmentMonitorMuonSystemMap1D::MyResidual::res, AlignmentMonitorMuonSystemMap1D::MyResidual::rho, relativeConstraints::ring, AlignmentMonitorMuonSystemMap1D::MyResidual::slope, mathSSE::sqrt(), relativeConstraints::station, MuonResidualsFromTrack::trackerNumHits(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), z, PV3DBase< T, PVType, FrameType >::z(), and AlignmentMonitorMuonSystemMap1D::MyResidual::z.
Referenced by event().
|
private |
Definition at line 65 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 82 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by afterAlignment(), book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 83 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by afterAlignment(), book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 84 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by afterAlignment(), book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 85 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by afterAlignment(), book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 81 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by afterAlignment(), book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 76 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by afterAlignment(), book(), and event().
|
private |
Definition at line 77 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by afterAlignment(), book(), and event().
|
private |
Definition at line 79 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by afterAlignment(), book(), and event().
|
private |
Definition at line 78 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by afterAlignment(), book(), and event().
|
private |
Definition at line 80 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by afterAlignment(), book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 73 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by AlignmentMonitorMuonSystemMap1D(), and processMuonResidualsFromTrack().
|
private |
Definition at line 123 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by AlignmentMonitorMuonSystemMap1D(), and processMuonResidualsFromTrack().
|
private |
Definition at line 116 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 114 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 71 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 70 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 115 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 113 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 54 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by event().
|
private |
Definition at line 51 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by event().
|
private |
Definition at line 50 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by event().
|
private |
Definition at line 53 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by event().
|
private |
Definition at line 52 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by event().
|
private |
Definition at line 136 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by AlignmentMonitorMuonSystemMap1D(), and processMuonResidualsFromTrack().
|
private |
Definition at line 62 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by event().
|
private |
Definition at line 64 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 61 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by event().
|
private |
Definition at line 59 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by event().
|
private |
Definition at line 69 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 67 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 68 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 66 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 63 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 60 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by event().
|
private |
Definition at line 58 of file AlignmentMonitorMuonSystemMap1D.cc.
|
private |
Definition at line 57 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by event().
|
private |
Definition at line 118 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by book().
|
private |
Definition at line 147 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by AlignmentMonitorMuonSystemMap1D(), and processMuonResidualsFromTrack().
|
private |
Definition at line 149 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by AlignmentMonitorMuonSystemMap1D(), and processMuonResidualsFromTrack().
|
private |
Definition at line 142 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by AlignmentMonitorMuonSystemMap1D(), and processMuonResidualsFromTrack().
|
private |
Definition at line 72 of file AlignmentMonitorMuonSystemMap1D.cc.
Referenced by processMuonResidualsFromTrack().