#include <MuonDTLocalMillepedeAlgorithm.h>
Classes | |
struct | Info1D |
Public Member Functions | |
void | initialize (const edm::EventSetup &setup, AlignableTracker *tracker, AlignableMuon *muon, AlignmentParameterStore *store) |
Call at beginning of job. More... | |
MuonDTLocalMillepedeAlgorithm (const edm::ParameterSet &cfg) | |
Constructor. More... | |
void | run (const edm::EventSetup &setup, const EventInfo &eventInfo) |
Run the algorithm on trajectories and tracks. More... | |
void | terminate (void) |
Call at end of job. More... | |
~MuonDTLocalMillepedeAlgorithm () | |
Destructor. More... | |
Public Member Functions inherited from AlignmentAlgorithmBase | |
virtual bool | addCalibrations (const Calibrations &) |
AlignmentAlgorithmBase (const edm::ParameterSet &) | |
Constructor. More... | |
virtual void | beginLuminosityBlock (const edm::EventSetup &setup) |
called at begin of luminosity block (no lumi block info passed yet) More... | |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &, bool changed) |
called at begin of run More... | |
virtual void | endLuminosityBlock (const edm::EventSetup &setup) |
called at end of luminosity block (no lumi block info passed yet) More... | |
virtual void | endRun (const EndRunInfo &runInfo, const edm::EventSetup &setup) |
called at end of run - order of arguments like in EDProducer etc. More... | |
virtual void | initialize (const edm::EventSetup &setup, AlignableTracker *tracker, AlignableMuon *muon, AlignableExtras *extras, AlignmentParameterStore *store)=0 |
Call at beginning of job (must be implemented in derived class) More... | |
virtual bool | processesEvents () |
Returns whether algorithm proccesses events in current configuration. More... | |
virtual bool | setParametersForRunRange (const RunRange &rr) |
virtual void | startNewLoop () |
virtual bool | storeAlignments () |
Returns whether algorithm produced results to be stored. More... | |
virtual bool | supportsCalibrations () |
virtual void | terminate (const edm::EventSetup &iSetup)=0 |
Call at end of each loop (must be implemented in derived class) More... | |
virtual | ~AlignmentAlgorithmBase () |
Destructor. More... | |
Private Member Functions | |
bool | build4DSegments () |
void | setBranchTrees () |
Private Attributes | |
float | charge |
edm::InputTag | consTraj |
float | dxdzSl [5] |
float | dxdzSlSL1 [5] |
float | dxdzSlSL3 [5] |
float | dydzSl [5] |
float | edxdzSl [5] |
float | edxdzSlSL1 [5] |
float | edxdzSlSL3 [5] |
float | edydzSl [5] |
float | eta |
float | ex [5][14] |
float | excp [5][14] |
float | exdxdzSl [5] |
float | exdxdzSlSL1 [5] |
float | exdxdzSlSL3 [5] |
float | exSl [5] |
float | exSlSL1 [5] |
float | exSlSL3 [5] |
float | eycp [5][14] |
float | eydydzSl [5] |
float | eySl [5] |
TFile * | f |
edm::Service< TFileService > | fs |
edm::InputTag | globalTracks |
int | la [5][14] |
float | meandxdz [5][4][14] |
float | meandydz [5][4][14] |
float | meanx [5][4][14] |
float | meany [5][4][14] |
Info1D | myTrack1D |
int | nhits [5] |
int | nMtxSection |
int | nphihits [5] |
float | nPhihits |
int | nseg |
int | nthetahits [5] |
float | nThetahits |
std::string | ntuplePath |
int | numberOfRootFiles |
float | numberOfSigmasDXDZ |
float | numberOfSigmasDYDZ |
float | numberOfSigmasX |
float | numberOfSigmasY |
float | p |
float | phi |
float | pt |
float | ptMax |
float | ptMin |
float | sigmadxdz [5][4][14] |
float | sigmadydz [5][4][14] |
float | sigmax [5][4][14] |
float | sigmay [5][4][14] |
int | sl [5][14] |
int | sr [5] |
int | st [5] |
TChain * | tali |
AlignableNavigator * | theAlignableDetAccessor |
align::Alignables | theAlignables |
AlignmentParameterStore * | theAlignmentParameterStore |
TTree * | ttreeOutput |
int | wh [5] |
int | workingmode |
float | xc [5][14] |
float | xcp [5][14] |
float | xSl [5] |
float | xSL1SL3 [5] |
float | xSL3SL1 [5] |
float | xSlSL1 [5] |
float | xSlSL3 [5] |
float | yc [5][14] |
float | ycp [5][14] |
float | ySl [5] |
float | zc [5][14] |
Additional Inherited Members | |
Public Types inherited from AlignmentAlgorithmBase | |
typedef std::pair< const Trajectory *, const reco::Track * > | ConstTrajTrackPair |
typedef std::vector< ConstTrajTrackPair > | ConstTrajTrackPairCollection |
using | RunNumber = align::RunNumber |
using | RunRange = align::RunRange |
Definition at line 30 of file MuonDTLocalMillepedeAlgorithm.h.
MuonDTLocalMillepedeAlgorithm::MuonDTLocalMillepedeAlgorithm | ( | const edm::ParameterSet & | cfg | ) |
Constructor.
Definition at line 41 of file MuonDTLocalMillepedeAlgorithm.cc.
References f, edm::ParameterSet::getParameter(), nMtxSection, nPhihits, nThetahits, ntuplePath, numberOfRootFiles, numberOfSigmasDXDZ, numberOfSigmasDYDZ, numberOfSigmasX, numberOfSigmasY, ptMax, ptMin, setBranchTrees(), AlCaHLTBitMon_QueryRunRegistry::string, and workingmode.
|
inline |
Destructor.
Definition at line 39 of file MuonDTLocalMillepedeAlgorithm.h.
References build4DSegments(), dumpTauVariables_cfi::eventInfo, initialize(), run(), setBranchTrees(), GeneralSetup::setup(), terminate(), and mixOne_simraw_on_sim_cfi::tracker.
|
private |
Definition at line 214 of file MuonDTLocalMillepedeAlgorithm.cc.
References counter, dxdzSl, dxdzSlSL1, dxdzSlSL3, dydzSl, edxdzSl, edxdzSlSL1, edxdzSlSL3, edydzSl, MuonDTLocalMillepedeAlgorithm::Info1D::erx, ex, excp, exdxdzSl, exdxdzSlSL1, exdxdzSlSL3, exSl, exSlSL1, exSlSL3, eycp, eydydzSl, eySl, gen::k, MuonDTLocalMillepedeAlgorithm::Info1D::la, la, MAX_HIT_CHAM, MAX_SEGMENT, myTrack1D, MuonDTLocalMillepedeAlgorithm::Info1D::nhits, nhits, nphihits, nPhihits, nseg, nthetahits, nThetahits, alignCSCRings::s, MuonDTLocalMillepedeAlgorithm::Info1D::sl, sl, MuonDTLocalMillepedeAlgorithm::Info1D::sr, sr, MuonDTLocalMillepedeAlgorithm::Info1D::st, st, MuonDTLocalMillepedeAlgorithm::Info1D::wh, wh, MuonDTLocalMillepedeAlgorithm::Info1D::xc, xc, xcp, xSl, xSL1SL3, xSL3SL1, xSlSL1, xSlSL3, MuonDTLocalMillepedeAlgorithm::Info1D::yc, yc, ycp, ySl, MuonDTLocalMillepedeAlgorithm::Info1D::zc, and zc.
Referenced by run(), and ~MuonDTLocalMillepedeAlgorithm().
void MuonDTLocalMillepedeAlgorithm::initialize | ( | const edm::EventSetup & | setup, |
AlignableTracker * | tracker, | ||
AlignableMuon * | muon, | ||
AlignmentParameterStore * | store | ||
) |
Call at beginning of job.
Definition at line 86 of file MuonDTLocalMillepedeAlgorithm.cc.
References AlignmentParameterStore::alignables(), theAlignableDetAccessor, theAlignables, and theAlignmentParameterStore.
Referenced by ~MuonDTLocalMillepedeAlgorithm().
|
virtual |
Run the algorithm on trajectories and tracks.
Implements AlignmentAlgorithmBase.
Definition at line 132 of file MuonDTLocalMillepedeAlgorithm.cc.
References build4DSegments(), charge, reco::TrackBase::charge(), DetId::det(), TrackingRecHit::det(), MuonDTLocalMillepedeAlgorithm::Info1D::erx, eta, reco::TrackBase::eta(), GeomDet::geographicalId(), TrackingRecHit::isValid(), MuonDTLocalMillepedeAlgorithm::Info1D::la, Trajectory::measurements(), myTrack1D, MuonDTLocalMillepedeAlgorithm::Info1D::nhits, p, reco::TrackBase::p(), phi, reco::TrackBase::phi(), pt, reco::TrackBase::pt(), ptMax, DetId::rawId(), TrajectoryMeasurement::recHit(), MuonDTLocalMillepedeAlgorithm::Info1D::sl, MuonDTLocalMillepedeAlgorithm::Info1D::sr, MuonDTLocalMillepedeAlgorithm::Info1D::st, DetId::subdetId(), theAlignableDetAccessor, GeomDet::toGlobal(), HiIsolationCommonParameters_cff::track, l1t::tracks, AlignmentAlgorithmBase::EventInfo::trajTrackPairs(), ttreeOutput, MuonDTLocalMillepedeAlgorithm::Info1D::wh, workingmode, PV3DBase< T, PVType, FrameType >::x(), MuonDTLocalMillepedeAlgorithm::Info1D::xc, PV3DBase< T, PVType, FrameType >::y(), MuonDTLocalMillepedeAlgorithm::Info1D::yc, PV3DBase< T, PVType, FrameType >::z(), and MuonDTLocalMillepedeAlgorithm::Info1D::zc.
Referenced by DTWorkflow.DTWorkflow::all(), Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), o2olib.O2OTool::execute(), and ~MuonDTLocalMillepedeAlgorithm().
|
private |
Definition at line 419 of file MuonDTLocalMillepedeAlgorithm.cc.
References charge, DEFINE_EDM_PLUGIN, dxdzSl, dxdzSlSL1, dxdzSlSL3, dydzSl, edxdzSl, edxdzSlSL1, edxdzSlSL3, edydzSl, eta, ex, excp, exSl, exSlSL1, exSlSL3, eycp, eydydzSl, eySl, la, nhits, nphihits, nseg, nthetahits, p, phi, pt, sl, sr, st, ttreeOutput, wh, xc, xcp, xSl, xSL1SL3, xSL3SL1, xSlSL1, xSlSL3, yc, ycp, ySl, and zc.
Referenced by MuonDTLocalMillepedeAlgorithm(), and ~MuonDTLocalMillepedeAlgorithm().
|
virtual |
Call at end of job.
Reimplemented from AlignmentAlgorithmBase.
Definition at line 110 of file MuonDTLocalMillepedeAlgorithm.cc.
References f, nMtxSection, nPhihits, nThetahits, ntuplePath, numberOfRootFiles, ptMax, ptMin, and workingmode.
Referenced by ~MuonDTLocalMillepedeAlgorithm().
|
private |
Definition at line 78 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by Vispa.Plugins.EdmBrowser.ParticleDataList.ParticleData::__repr__(), run(), and setBranchTrees().
|
private |
Definition at line 135 of file MuonDTLocalMillepedeAlgorithm.h.
|
private |
Definition at line 84 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 94 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 100 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 89 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 86 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 96 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 102 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 91 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 78 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by Particle.Particle::__str__(), Jet.Jet::jetID(), Jet.Jet::puJetId(), run(), and setBranchTrees().
|
private |
Definition at line 108 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 111 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 87 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments().
|
private |
Definition at line 97 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments().
|
private |
Definition at line 103 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments().
|
private |
Definition at line 85 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 95 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 101 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 112 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 92 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 90 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 122 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by Vispa.Views.RootCanvasView.RootCanvasView::createGraph(), Vispa.Views.RootCanvasView.RootCanvasView::createLegoPlot(), ztail.Decoder::initial_synchronize(), MuonDTLocalMillepedeAlgorithm(), and terminate().
|
private |
Definition at line 132 of file MuonDTLocalMillepedeAlgorithm.h.
|
private |
Definition at line 134 of file MuonDTLocalMillepedeAlgorithm.h.
|
private |
Definition at line 115 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 154 of file MuonDTLocalMillepedeAlgorithm.h.
|
private |
Definition at line 158 of file MuonDTLocalMillepedeAlgorithm.h.
|
private |
Definition at line 152 of file MuonDTLocalMillepedeAlgorithm.h.
|
private |
Definition at line 156 of file MuonDTLocalMillepedeAlgorithm.h.
|
private |
Definition at line 73 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and run().
|
private |
Definition at line 82 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 143 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by MuonDTLocalMillepedeAlgorithm(), and terminate().
|
private |
Definition at line 80 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 139 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), MuonDTLocalMillepedeAlgorithm(), and terminate().
|
private |
Definition at line 79 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 81 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 140 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), MuonDTLocalMillepedeAlgorithm(), and terminate().
|
private |
Definition at line 136 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by MuonDTLocalMillepedeAlgorithm(), and terminate().
|
private |
Definition at line 142 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by MuonDTLocalMillepedeAlgorithm(), and terminate().
|
private |
Definition at line 148 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by MuonDTLocalMillepedeAlgorithm().
|
private |
Definition at line 150 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by MuonDTLocalMillepedeAlgorithm().
|
private |
Definition at line 147 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by MuonDTLocalMillepedeAlgorithm().
|
private |
Definition at line 149 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by MuonDTLocalMillepedeAlgorithm().
|
private |
Definition at line 78 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by Vispa.Views.RootCanvasView.RootCanvasView::createGraph(), Vispa.Views.RootCanvasView.RootCanvasView::createLegoPlot(), Electron.Electron::ptErr(), run(), and setBranchTrees().
|
private |
Definition at line 78 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by Particle.Particle::__str__(), ntupleDataFormat.Track::phiPull(), run(), and setBranchTrees().
|
private |
Definition at line 78 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by Particle.Particle::__str__(), ZMuMuRochCorAnalyzer.DiMuon::__str__(), DiObject.DiMuon::__str__(), Photon.Photon::calScaledIsoValueExp(), Photon.Photon::calScaledIsoValueLin(), Photon.Photon::calScaledIsoValueQuadr(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), Electron.Electron::ptErr(), ntupleDataFormat.Track::ptPull(), Lepton.Lepton::relIso(), Lepton.Lepton::relIsoFromEA(), Lepton.Lepton::relIsoR(), run(), setBranchTrees(), and Jet.Jet::setCorrP4().
|
private |
Definition at line 137 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by MuonDTLocalMillepedeAlgorithm(), run(), and terminate().
|
private |
Definition at line 138 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by MuonDTLocalMillepedeAlgorithm(), and terminate().
|
private |
Definition at line 155 of file MuonDTLocalMillepedeAlgorithm.h.
|
private |
Definition at line 159 of file MuonDTLocalMillepedeAlgorithm.h.
|
private |
Definition at line 153 of file MuonDTLocalMillepedeAlgorithm.h.
|
private |
Definition at line 157 of file MuonDTLocalMillepedeAlgorithm.h.
|
private |
Definition at line 114 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 113 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 113 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 124 of file MuonDTLocalMillepedeAlgorithm.h.
|
private |
Definition at line 129 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by initialize(), and run().
|
private |
Definition at line 128 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by initialize().
|
private |
Definition at line 127 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by initialize().
|
private |
Definition at line 123 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by run(), and setBranchTrees().
|
private |
Definition at line 113 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 141 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by MuonDTLocalMillepedeAlgorithm(), run(), and terminate().
|
private |
Definition at line 105 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), geometryXMLparser.Alignable::covariance(), and setBranchTrees().
|
private |
Definition at line 109 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 83 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 98 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 104 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 93 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 99 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 106 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), geometryXMLparser.Alignable::covariance(), and setBranchTrees().
|
private |
Definition at line 110 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 88 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), and setBranchTrees().
|
private |
Definition at line 107 of file MuonDTLocalMillepedeAlgorithm.h.
Referenced by build4DSegments(), geometryXMLparser.Alignable::covariance(), and setBranchTrees().