Public Member Functions | |
AlignmentMonitorSegmentDifferences (const edm::ParameterSet &cfg) | |
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 () | |
Public Member Functions inherited from AlignmentMonitorBase | |
virtual void | afterAlignment () |
AlignmentMonitorBase (const edm::ParameterSet &cfg, std::string name) | |
Constructor. More... | |
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... | |
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 | ) |
Definition at line 110 of file AlignmentMonitorSegmentDifferences.cc.
|
inline |
Definition at line 38 of file AlignmentMonitorSegmentDifferences.cc.
References book(), event(), iEvent, and processMuonResidualsFromTrack().
|
overridevirtual |
Book or retrieve histograms; MUST be reimplemented.
Implements AlignmentMonitorBase.
Definition at line 128 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, dataset::name, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, and makeMuonMisalignmentScenario::wheel.
Referenced by ~AlignmentMonitorSegmentDifferences().
|
overridevirtual |
Called for each event (by "run()"): may be reimplemented.
Reimplemented from AlignmentMonitorBase.
Definition at line 342 of file AlignmentMonitorSegmentDifferences.cc.
References ecalDrivenElectronSeedsParameters_cff::beamSpot, reco::TrackBase::dxy(), edm::EventSetup::get(), edm::Event::getByLabel(), edm::InputTag::label(), AlignmentMonitorBase::m_beamSpotTag, m_maxDxy, m_minTrackP, m_minTrackPt, m_muonCollectionTag, seedCreatorFromRegionConsecutiveHitsEDProducer_cff::magneticField, metsig::muon, electronCleaner_cfi::muons, reco::TrackBase::p(), AlignmentMonitorBase::pNavigator(), reco::BeamSpot::position(), processMuonResidualsFromTrack(), EnergyCorrector::pt, reco::TrackBase::pt(), and HiIsolationCommonParameters_cff::track.
Referenced by Types.EventID::cppID(), and ~AlignmentMonitorSegmentDifferences().
void AlignmentMonitorSegmentDifferences::processMuonResidualsFromTrack | ( | MuonResidualsFromTrack & | mrft | ) |
Definition at line 393 of file AlignmentMonitorSegmentDifferences.cc.
References funct::abs(), MuonChamberResidual::chamberAlignable(), MuonResidualsFromTrack::chamberIds(), MuonResidualsFromTrack::chamberResidual(), reco::TrackBase::charge(), MuonChamberResidual::chi2(), MuonResidualsFromTrack::contains_TIDTEC(), MuonSubdetId::CSC, DEFINE_EDM_PLUGIN, 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(), NULL, MuonChamberResidual::numHits(), SurfaceOrientation::outer, reco::TrackBase::pt(), reco::TrackBase::pz(), Alignable::surface(), AlignableSurface::toGlobal(), MuonResidualsFromTrack::trackerNumHits(), MuonChamberResidual::trackx(), and MuonChamberResidual::tracky().
Referenced by event(), and ~AlignmentMonitorSegmentDifferences().
|
private |
Definition at line 53 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by 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 76 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 59 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 58 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 62 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 63 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 64 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 65 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 50 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by event().
|
private |
Definition at line 52 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 57 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 55 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 56 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 54 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 51 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 49 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by event().
|
private |
Definition at line 48 of file AlignmentMonitorSegmentDifferences.cc.
|
private |
Definition at line 47 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by event().
|
private |
Definition at line 86 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 84 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 85 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 70 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 71 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 72 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 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 80 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 66 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 68 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 69 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 95 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 91 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 92 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().