Public Member Functions | |
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 | |
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... | |
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 34 of file AlignmentMonitorMuonVsCurvature.cc.
|
private |
Enumerator | |
---|---|
kDeltaX | |
kDeltaDxDz | |
kNumComponents |
Definition at line 63 of file AlignmentMonitorMuonVsCurvature.cc.
AlignmentMonitorMuonVsCurvature::AlignmentMonitorMuonVsCurvature | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 82 of file AlignmentMonitorMuonVsCurvature.cc.
|
inlinevirtual |
Definition at line 38 of file AlignmentMonitorMuonVsCurvature.cc.
References book(), event(), iEvent, NULL, and processMuonResidualsFromTrack().
|
overridevirtual |
Book or retrieve histograms; MUST be reimplemented.
Implements AlignmentMonitorBase.
Definition at line 102 of file AlignmentMonitorMuonVsCurvature.cc.
References AlignmentMonitorBase::book1D(), AlignmentMonitorBase::book2D(), AlignmentMonitorBase::bookProfile(), relativeConstraints::chamber, 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, tprofile_wheel_st_sector, and makeMuonMisalignmentScenario::wheel.
Referenced by ~AlignmentMonitorMuonVsCurvature().
|
overridevirtual |
Called for each event (by "run()"): may be reimplemented.
Reimplemented from AlignmentMonitorBase.
Definition at line 190 of file AlignmentMonitorMuonVsCurvature.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 ~AlignmentMonitorMuonVsCurvature().
void AlignmentMonitorMuonVsCurvature::processMuonResidualsFromTrack | ( | MuonResidualsFromTrack & | mrft, |
const Trajectory * | traj = NULL |
||
) |
Definition at line 240 of file AlignmentMonitorMuonVsCurvature.cc.
References relativeConstraints::chamber, MuonResidualsFromTrack::chamberIds(), MuonResidualsFromTrack::chamberResidual(), reco::TrackBase::charge(), MuonResidualsFromTrack::contains_TIDTEC(), MuonSubdetId::CSC, DEFINE_EDM_PLUGIN, 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(), MuonResidualsFromTrack::trackerRedChi2(), and makeMuonMisalignmentScenario::wheel.
Referenced by event(), and ~AlignmentMonitorMuonVsCurvature().
|
private |
Definition at line 52 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 61 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 60 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 58 of file AlignmentMonitorMuonVsCurvature.cc.
|
private |
Definition at line 54 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by event().
|
private |
Definition at line 51 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 57 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 55 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 56 of file AlignmentMonitorMuonVsCurvature.cc.
|
private |
Definition at line 53 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 50 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by processMuonResidualsFromTrack().
|
private |
Definition at line 49 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by event().
|
private |
Definition at line 48 of file AlignmentMonitorMuonVsCurvature.cc.
|
private |
Definition at line 47 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by event().
|
private |
Definition at line 59 of file AlignmentMonitorMuonVsCurvature.cc.
|
private |
Definition at line 77 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 78 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 75 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by book(), and processMuonResidualsFromTrack().
|
private |
Definition at line 71 of file AlignmentMonitorMuonVsCurvature.cc.
Referenced by book(), and processMuonResidualsFromTrack().