Public Member Functions | |
void | afterAlignment (const edm::EventSetup &iSetup) |
AlignmentMonitorSegmentDifferences (const edm::ParameterSet &cfg) | |
void | book () |
Book or retrieve histograms; MUST be reimplemented. More... | |
void | event (const edm::Event &iEvent, const edm::EventSetup &iSetup, const ConstTrajTrackPairCollection &iTrajTracks) |
Called for each event (by "run()"): may be reimplemented. More... | |
void | processMuonResidualsFromTrack (MuonResidualsFromTrack &mrft) |
~AlignmentMonitorSegmentDifferences () | |
Public Member Functions inherited from AlignmentMonitorBase | |
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 (const edm::EventSetup &iSetup) |
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 28 of file AlignmentMonitorSegmentDifferences.cc.
AlignmentMonitorSegmentDifferences::AlignmentMonitorSegmentDifferences | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 106 of file AlignmentMonitorSegmentDifferences.cc.
|
inline |
Definition at line 32 of file AlignmentMonitorSegmentDifferences.cc.
|
inlinevirtual |
Called after updating AlignableTracker and AlignableMuon (by "endOfLoop()"): may be reimplemented
Reimplemented from AlignmentMonitorBase.
Definition at line 39 of file AlignmentMonitorSegmentDifferences.cc.
|
virtual |
Book or retrieve histograms; MUST be reimplemented.
Implements AlignmentMonitorBase.
Definition at line 124 of file AlignmentMonitorSegmentDifferences.cc.
References AlignmentMonitorBase::book1D(), AlignmentMonitorBase::bookProfile(), alignCSCRings::e, Reference_intrackfit_cff::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, mergeVDriftHistosByStation::name, neg, pos, and alignCSCRings::s.
|
virtual |
Called for each event (by "run()"): may be reimplemented.
Reimplemented from AlignmentMonitorBase.
Definition at line 338 of file AlignmentMonitorSegmentDifferences.cc.
References SiPixelRawToDigiRegional_cfi::beamSpot, reco::TrackBase::dxy(), edm::EventSetup::get(), edm::Event::getByLabel(), edm::InputTag::label(), AlignmentMonitorBase::m_beamSpotTag, m_maxDxy, m_minTrackP, m_minTrackPt, m_muonCollectionTag, metsig::muon, patZpeak::muons, reco::TrackBase::p(), AlignmentMonitorBase::pNavigator(), processMuonResidualsFromTrack(), and reco::TrackBase::pt().
void AlignmentMonitorSegmentDifferences::processMuonResidualsFromTrack | ( | MuonResidualsFromTrack & | mrft | ) |
Definition at line 379 of file AlignmentMonitorSegmentDifferences.cc.
References abs, MuonChamberResidual::chamberAlignable(), MuonResidualsFromTrack::chamberIds(), MuonResidualsFromTrack::chamberResidual(), reco::TrackBase::charge(), 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, 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().
|
private |
Definition at line 49 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by 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 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 55 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 54 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 59 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 60 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 61 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 46 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by event().
|
private |
Definition at line 48 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 53 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 51 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 52 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 50 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 47 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 45 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by event().
|
private |
Definition at line 44 of file AlignmentMonitorSegmentDifferences.cc.
|
private |
Definition at line 43 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by event().
|
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 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 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 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 91 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
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 88 of file AlignmentMonitorSegmentDifferences.cc.
Referenced by book(), and processMuonResidualsFromTrack().