Public Member Functions | |
void | afterAlignment (const edm::EventSetup &iSetup) override |
AlignmentMonitorMuonVsCurvature (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, const Trajectory *traj=NULL) |
virtual | ~AlignmentMonitorMuonVsCurvature () |
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... | |
Private Types | |
enum | { kDeltaX = 0, kDeltaDxDz, kNumComponents } |
Private Attributes | |
bool | m_allowTIDTEC |
bool | m_doCSC |
bool | m_doDT |
int | m_layer |
double | m_maxDxy |
double | m_maxTrackerRedChi2 |
int | m_minCSCHits |
int | m_minDT13Hits |
int | m_minDT2Hits |
bool | m_minNCrossedChambers |
int | m_minTrackerHits |
double | m_minTrackP |
double | m_minTrackPt |
edm::InputTag | m_muonCollectionTag |
std::string | m_propagator |
TH1F * | th1f_trackerRedChi2 |
TH1F * | th1f_trackerRedChi2Diff |
TH2F * | th2f_st_ring_chamber [8][3][36][kNumComponents] |
TH2F * | th2f_wheel_st_sector [5][4][14][kNumComponents] |
TProfile * | tprofile_st_ring_chamber [8][3][36][kNumComponents] |
TProfile * | tprofile_wheel_st_sector [5][4][14][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 28 of file AlignmentMonitorMuonVsCurvature.cc.
|
private |
Enumerator | |
---|---|
kDeltaX | |
kDeltaDxDz | |
kNumComponents |
Definition at line 59 of file AlignmentMonitorMuonVsCurvature.cc.
AlignmentMonitorMuonVsCurvature::AlignmentMonitorMuonVsCurvature | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 78 of file AlignmentMonitorMuonVsCurvature.cc.
|
inlinevirtual |
Definition at line 32 of file AlignmentMonitorMuonVsCurvature.cc.
|
inlineoverridevirtual |
Called after updating AlignableTracker and AlignableMuon (by "endOfLoop()"): may be reimplemented
Reimplemented from AlignmentMonitorBase.
Definition at line 39 of file AlignmentMonitorMuonVsCurvature.cc.
|
overridevirtual |
Book or retrieve histograms; MUST be reimplemented.
Implements AlignmentMonitorBase.
Definition at line 98 of file AlignmentMonitorMuonVsCurvature.cc.
References AlignmentMonitorBase::book1D(), AlignmentMonitorBase::book2D(), AlignmentMonitorBase::bookProfile(), kDeltaDxDz, kDeltaX, kNumComponents, m_doCSC, m_doDT, m_minTrackPt, relativeConstraints::ring, relativeConstraints::station, AlCaHLTBitMon_QueryRunRegistry::string, th1f_trackerRedChi2, th1f_trackerRedChi2Diff, th2f_st_ring_chamber, th2f_wheel_st_sector, tprofile_st_ring_chamber, and tprofile_wheel_st_sector.
|
overridevirtual |
Called for each event (by "run()"): may be reimplemented.
Reimplemented from AlignmentMonitorBase.
Definition at line 186 of file AlignmentMonitorMuonVsCurvature.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(), RecoTauCleanerPlugins::pt, and reco::TrackBase::pt().
Referenced by Types.EventID::cppID().
void AlignmentMonitorMuonVsCurvature::processMuonResidualsFromTrack | ( | MuonResidualsFromTrack & | mrft, |
const Trajectory * | traj = NULL |
||
) |
Definition at line 227 of file AlignmentMonitorMuonVsCurvature.cc.
References 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(), NULL, reco::TrackBase::pt(), reco::TrackBase::pz(), relativeConstraints::ring, relativeConstraints::station, th1f_trackerRedChi2, th1f_trackerRedChi2Diff, th2f_st_ring_chamber, th2f_wheel_st_sector, tprofile_st_ring_chamber, tprofile_wheel_st_sector, MuonResidualsFromTrack::trackerNumHits(), and MuonResidualsFromTrack::trackerRedChi2().
Referenced by event().
|
private |
Definition at line 48 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 57 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 56 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 54 of file AlignmentMonitorMuonVsCurvature.cc.
|
private |
Definition at line 50 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by event().
|
private |
Definition at line 47 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 53 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 51 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 52 of file AlignmentMonitorMuonVsCurvature.cc.
|
private |
Definition at line 49 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 46 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 45 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by event().
|
private |
Definition at line 44 of file AlignmentMonitorMuonVsCurvature.cc.
|
private |
Definition at line 43 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by event().
|
private |
Definition at line 55 of file AlignmentMonitorMuonVsCurvature.cc.
|
private |
Definition at line 73 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 74 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 70 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 66 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 71 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 67 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by book(), and processMuonResidualsFromTrack().