CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
DiMuonVertexMonitor Class Reference

#include <DiMuonVertexMonitor.h>

Inheritance diagram for DiMuonVertexMonitor:
DQMEDAnalyzer edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
 DiMuonVertexMonitor (const edm::ParameterSet &)
 
 ~DiMuonVertexMonitor () override=default
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
void beginStream (edm::StreamID id) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer ()
 
void endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static void globalEndJob (DQMEDAnalyzerGlobalCache const *)
 
static void globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context)
 
static void globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context)
 
static std::unique_ptr< DQMEDAnalyzerGlobalCacheinitializeGlobalCache (edm::ParameterSet const &)
 

Private Member Functions

const reco::VertexfindClosestVertex (const TransientVertex aTransVtx, const reco::VertexCollection *vertices) const
 

Private Attributes

edm::ParameterSet CosPhi3DConfiguration_
 
DiLepPlotHelp::PlotsVsKinematics CosPhi3DPlots_ = DiLepPlotHelp::PlotsVsKinematics(DiLepPlotHelp::MM)
 
MonitorElementhCosPhi3D_
 
MonitorElementhCosPhi3DUnbalance_
 
MonitorElementhCosPhi_
 
MonitorElementhCosPhiInv3D_
 
MonitorElementhCosPhiInv_
 
MonitorElementhCosPhiUnbalance_
 
MonitorElementhCutFlow_
 
MonitorElementhdxy_
 
MonitorElementhdxyErr_
 
MonitorElementhdz_
 
MonitorElementhdzErr_
 
MonitorElementhInvMass_
 
MonitorElementhIP2d_
 
MonitorElementhIP2dsig_
 
MonitorElementhIP3d_
 
MonitorElementhIP3dsig_
 
MonitorElementhSVChi2_
 
MonitorElementhSVCompatibility3D_
 
MonitorElementhSVCompatibility_
 
MonitorElementhSVDist3D_
 
MonitorElementhSVDist3DErr_
 
MonitorElementhSVDist3DSig_
 
MonitorElementhSVDist_
 
MonitorElementhSVDistErr_
 
MonitorElementhSVDistSig_
 
MonitorElementhSVNormChi2_
 
MonitorElementhSVProb_
 
std::pair< float, float > massLimits_
 
const float maxSVdist_
 
const std::string MEFolderName_
 
const std::string motherName_
 
edm::ParameterSet SVDist3DConfiguration_
 
DiLepPlotHelp::PlotsVsKinematics SVDist3DPlots_ = DiLepPlotHelp::PlotsVsKinematics(DiLepPlotHelp::MM)
 
edm::ParameterSet SVDist3DSigConfiguration_
 
DiLepPlotHelp::PlotsVsKinematics SVDist3DSigPlots_ = DiLepPlotHelp::PlotsVsKinematics(DiLepPlotHelp::MM)
 
edm::ParameterSet SVDistConfiguration_
 
DiLepPlotHelp::PlotsVsKinematics SVDistPlots_ = DiLepPlotHelp::PlotsVsKinematics(DiLepPlotHelp::MM)
 
edm::ParameterSet SVDistSigConfiguration_
 
DiLepPlotHelp::PlotsVsKinematics SVDistSigPlots_ = DiLepPlotHelp::PlotsVsKinematics(DiLepPlotHelp::MM)
 
const edm::EDGetTokenT< reco::TrackCollectiontracksToken_
 
const edm::ESGetToken< TransientTrackBuilder, TransientTrackRecordttbESToken_
 
const bool useClosestVertex_
 
const edm::EDGetTokenT< reco::VertexCollectionvertexToken_
 

Additional Inherited Members

- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
using CacheTypes = CacheContexts< T... >
 
using GlobalCache = typename CacheTypes::GlobalCache
 
using HasAbility = AbilityChecker< T... >
 
using InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache
 
using LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache
 
using LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache >
 
using LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache
 
using RunCache = typename CacheTypes::RunCache
 
using RunContext = RunContextT< RunCache, GlobalCache >
 
using RunSummaryCache = typename CacheTypes::RunSummaryCache
 
- Protected Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

DQM/TrackerMonitorTrack/src/DiMuonVertexMonitor.cc Monitoring quantities related to the DiMuon vertex during Tracker Alignment AlCaReco Production

Definition at line 33 of file DiMuonVertexMonitor.h.

Constructor & Destructor Documentation

◆ DiMuonVertexMonitor()

DiMuonVertexMonitor::DiMuonVertexMonitor ( const edm::ParameterSet iConfig)
explicit

Definition at line 29 of file DiMuonVertexMonitor.cc.

References massLimits_, and motherName_.

30  : ttbESToken_(esConsumes(edm::ESInputTag("", "TransientTrackBuilder"))),
31  tracksToken_(consumes<reco::TrackCollection>(iConfig.getParameter<edm::InputTag>("muonTracks"))),
32  vertexToken_(consumes<reco::VertexCollection>(iConfig.getParameter<edm::InputTag>("vertices"))),
33  motherName_(iConfig.getParameter<std::string>("decayMotherName")),
34  MEFolderName_(iConfig.getParameter<std::string>("FolderName")),
35  useClosestVertex_(iConfig.getParameter<bool>("useClosestVertex")),
36  maxSVdist_(iConfig.getParameter<double>("maxSVdist")),
37  CosPhi3DConfiguration_(iConfig.getParameter<edm::ParameterSet>("CosPhi3DConfig")),
38  SVDistConfiguration_(iConfig.getParameter<edm::ParameterSet>("SVDistConfig")),
39  SVDistSigConfiguration_(iConfig.getParameter<edm::ParameterSet>("SVDistSigConfig")),
40  SVDist3DConfiguration_(iConfig.getParameter<edm::ParameterSet>("SVDist3DConfig")),
41  SVDist3DSigConfiguration_(iConfig.getParameter<edm::ParameterSet>("SVDist3DSigConfig")) {
42  if (motherName_.find('Z') != std::string::npos) {
43  massLimits_ = std::make_pair(50., 120);
44  } else if (motherName_.find("J/#psi") != std::string::npos) {
45  massLimits_ = std::make_pair(2.7, 3.4);
46  } else if (motherName_.find("#Upsilon") != std::string::npos) {
47  massLimits_ = std::make_pair(8.9, 9.9);
48  } else {
49  edm::LogError("DiMuonVertexMonitor") << " unrecognized decay mother particle: " << motherName_
50  << " setting the default for the Z->mm (50.,120.)" << std::endl;
51  massLimits_ = std::make_pair(50., 120);
52  }
53 }
const std::string MEFolderName_
ESGetTokenH3DDVariant esConsumes(std::string const &Record, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
std::pair< float, float > massLimits_
edm::ParameterSet SVDist3DConfiguration_
Log< level::Error, false > LogError
const std::string motherName_
const edm::EDGetTokenT< reco::TrackCollection > tracksToken_
edm::ParameterSet SVDistSigConfiguration_
edm::ParameterSet CosPhi3DConfiguration_
const edm::EDGetTokenT< reco::VertexCollection > vertexToken_
edm::ParameterSet SVDistConfiguration_
edm::ParameterSet SVDist3DSigConfiguration_
const edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord > ttbESToken_

◆ ~DiMuonVertexMonitor()

DiMuonVertexMonitor::~DiMuonVertexMonitor ( )
overridedefault

Member Function Documentation

◆ analyze()

void DiMuonVertexMonitor::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overridevirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 133 of file DiMuonVertexMonitor.cc.

References TransientTrackBuilder::build(), cmToum, VertexDistanceXY::compatibility(), VertexDistance3D::compatibility(), CosPhi3DPlots_, TransientVertex::degreesOfFreedom(), DeadROC_duringRun::dir, VertexDistanceXY::distance(), VertexDistance3D::distance(), HLT_2023v12_cff::distance, Measurement1D::error(), dqm::impl::MonitorElement::Fill(), DiLepPlotHelp::PlotsVsKinematics::fillPlots(), findClosestVertex(), edm::EventSetup::getData(), hCosPhi3D_, hCosPhi3DUnbalance_, hCosPhi_, hCosPhiInv3D_, hCosPhiInv_, hCosPhiUnbalance_, hdxy_, hdxyErr_, hdz_, hdzErr_, hInvMass_, hIP2d_, hIP2dsig_, hIP3d_, hIP3dsig_, hSVChi2_, hSVCompatibility3D_, hSVCompatibility_, hSVDist3D_, hSVDist3DErr_, hSVDist3DSig_, hSVDist_, hSVDistErr_, hSVDistSig_, hSVNormChi2_, hSVProb_, iEvent, createfilelist::int, electrons_cff::ip3d, edm::HandleBase::isValid(), reco::Vertex::isValid(), TransientVertex::isValid(), LogTrace, maxSVdist_, mumass2, reco::Vertex::position(), TransientVertex::position(), edm::Handle< T >::product(), IPTools::signedImpactParameter3D(), IPTools::signedTransverseImpactParameter(), mathSSE::sqrt(), SVDist3DPlots_, SVDist3DSigPlots_, SVDistPlots_, SVDistSigPlots_, FrontierCondition_GT_autoExpress_cfi::t0, RandomServiceHelper::t1, TransientVertex::totalChiSquared(), HLT_2023v12_cff::track, tracksToken_, ttbESToken_, useClosestVertex_, Measurement1D::value(), KalmanVertexFitter::vertex(), vertexToken_, AlignmentTracksFromVertexSelector_cfi::vertices, cms::Exception::what(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

133  {
134  std::vector<const reco::Track*> myTracks;
135  const auto trackHandle = iEvent.getHandle(tracksToken_);
136  if (!trackHandle.isValid()) {
137  edm::LogError("DiMuonVertexMonitor") << "invalid track collection encountered!";
138  return;
139  }
140 
141  for (const auto& muonTrk : *trackHandle) {
142  myTracks.emplace_back(&muonTrk);
143  }
144 
145  const TransientTrackBuilder* theB = &iSetup.getData(ttbESToken_);
146  TransientVertex mumuTransientVtx;
147  std::vector<reco::TransientTrack> tks;
148 
149  if (myTracks.size() != 2) {
150  edm::LogWarning("DiMuonVertexMonitor") << "There are not enough tracks to monitor!";
151  return;
152  }
153 
154  const auto& t1 = myTracks[1]->momentum();
155  const auto& t0 = myTracks[0]->momentum();
156  const auto& ditrack = t1 + t0;
157 
158  const auto& tplus = myTracks[0]->charge() > 0 ? myTracks[0] : myTracks[1];
159  const auto& tminus = myTracks[0]->charge() < 0 ? myTracks[0] : myTracks[1];
160 
161  TLorentzVector p4_tplus(tplus->px(), tplus->py(), tplus->pz(), sqrt((tplus->p() * tplus->p()) + mumass2));
162  TLorentzVector p4_tminus(tminus->px(), tminus->py(), tminus->pz(), sqrt((tminus->p() * tminus->p()) + mumass2));
163 
164  const auto& Zp4 = p4_tplus + p4_tminus;
165  float track_invMass = Zp4.M();
166  hInvMass_->Fill(track_invMass);
167 
168  // creat the pair of TLorentVectors used to make the plos
169  std::pair<TLorentzVector, TLorentzVector> tktk_p4 = std::make_pair(p4_tplus, p4_tminus);
170 
171  math::XYZPoint ZpT(ditrack.x(), ditrack.y(), 0);
172  math::XYZPoint Zp(ditrack.x(), ditrack.y(), ditrack.z());
173 
174  for (const auto& track : myTracks) {
175  reco::TransientTrack trajectory = theB->build(track);
176  tks.push_back(trajectory);
177  }
178 
179  KalmanVertexFitter kalman(true);
180  mumuTransientVtx = kalman.vertex(tks);
181 
182  double SVProb = TMath::Prob(mumuTransientVtx.totalChiSquared(), (int)mumuTransientVtx.degreesOfFreedom());
183  hSVProb_->Fill(SVProb);
184  hSVChi2_->Fill(mumuTransientVtx.totalChiSquared());
185  hSVNormChi2_->Fill(mumuTransientVtx.totalChiSquared() / (int)mumuTransientVtx.degreesOfFreedom());
186 
187  if (!mumuTransientVtx.isValid())
188  return;
189 
190  const reco::Vertex* theClosestVertex;
191  // get collection of reconstructed vertices from event
192  edm::Handle<reco::VertexCollection> vertexHandle = iEvent.getHandle(vertexToken_);
193  if (vertexHandle.isValid()) {
194  const reco::VertexCollection* vertices = vertexHandle.product();
195  theClosestVertex = this->findClosestVertex(mumuTransientVtx, vertices);
196  } else {
197  edm::LogWarning("DiMuonVertexMonitor") << "invalid vertex collection encountered Skipping event!";
198  return;
199  }
200 
201  reco::Vertex theMainVtx;
202  if (!useClosestVertex_ || theClosestVertex == nullptr) {
203  // if the closest vertex is not available, or explicitly not chosen
204  theMainVtx = vertexHandle.product()->front();
205  } else {
206  theMainVtx = *theClosestVertex;
207  }
208 
209  const math::XYZPoint theMainVtxPos(theMainVtx.position().x(), theMainVtx.position().y(), theMainVtx.position().z());
210  const math::XYZPoint myVertex(
211  mumuTransientVtx.position().x(), mumuTransientVtx.position().y(), mumuTransientVtx.position().z());
212  const math::XYZPoint deltaVtx(
213  theMainVtxPos.x() - myVertex.x(), theMainVtxPos.y() - myVertex.y(), theMainVtxPos.z() - myVertex.z());
214 
215  if (theMainVtx.isValid()) {
216  // fill the impact parameter plots
217  for (const auto& track : myTracks) {
218  hdxy_->Fill(track->dxy(theMainVtxPos) * cmToum);
219  hdz_->Fill(track->dz(theMainVtxPos) * cmToum);
220  hdxyErr_->Fill(track->dxyError() * cmToum);
221  hdzErr_->Fill(track->dzError() * cmToum);
222 
223  const auto& ttrk = theB->build(track);
224  Global3DVector dir(track->px(), track->py(), track->pz());
225  const auto& ip2d = IPTools::signedTransverseImpactParameter(ttrk, dir, theMainVtx);
226  const auto& ip3d = IPTools::signedImpactParameter3D(ttrk, dir, theMainVtx);
227 
228  hIP2d_->Fill(ip2d.second.value() * cmToum);
229  hIP3d_->Fill(ip3d.second.value() * cmToum);
230  hIP2dsig_->Fill(ip2d.second.significance());
231  hIP3dsig_->Fill(ip3d.second.significance());
232  }
233 
234  // Z Vertex distance in the xy plane
235  VertexDistanceXY vertTool;
236  double distance = vertTool.distance(mumuTransientVtx, theMainVtx).value();
237  double dist_err = vertTool.distance(mumuTransientVtx, theMainVtx).error();
238  float compatibility = 0.;
239 
240  try {
241  compatibility = vertTool.compatibility(mumuTransientVtx, theMainVtx);
242  } catch (cms::Exception& er) {
243  LogTrace("DiMuonVertexMonitor") << "caught std::exception " << er.what() << std::endl;
244  }
245 
246  hSVCompatibility_->Fill(compatibility);
248  hSVDistErr_->Fill(dist_err * cmToum);
249  hSVDistSig_->Fill(distance / dist_err);
250 
251  // Z Vertex distance in 3D
252  VertexDistance3D vertTool3D;
253  double distance3D = vertTool3D.distance(mumuTransientVtx, theMainVtx).value();
254  double dist3D_err = vertTool3D.distance(mumuTransientVtx, theMainVtx).error();
255  float compatibility3D = 0.;
256 
257  try {
258  compatibility3D = vertTool3D.compatibility(mumuTransientVtx, theMainVtx);
259  } catch (cms::Exception& er) {
260  LogTrace("DiMuonVertexMonitor") << "caught std::exception " << er.what() << std::endl;
261  }
262 
263  hSVCompatibility3D_->Fill(compatibility3D);
264  hSVDist3D_->Fill(distance3D * cmToum);
265  hSVDist3DErr_->Fill(dist3D_err * cmToum);
266  hSVDist3DSig_->Fill(distance3D / dist3D_err);
267 
268  // creat the pair of TLorentVectors used to make the plos
269  std::pair<TLorentzVector, TLorentzVector> tktk_p4 = std::make_pair(p4_tplus, p4_tminus);
270 
272  SVDistSigPlots_.fillPlots(distance / dist_err, tktk_p4);
273  SVDist3DPlots_.fillPlots(distance3D * cmToum, tktk_p4);
274  SVDist3DSigPlots_.fillPlots(distance3D / dist3D_err, tktk_p4);
275 
276  // cut on the PV - SV distance
277  if (distance * cmToum < maxSVdist_) {
278  double cosphi = (ZpT.x() * deltaVtx.x() + ZpT.y() * deltaVtx.y()) /
279  (sqrt(ZpT.x() * ZpT.x() + ZpT.y() * ZpT.y()) *
280  sqrt(deltaVtx.x() * deltaVtx.x() + deltaVtx.y() * deltaVtx.y()));
281 
282  double cosphi3D = (Zp.x() * deltaVtx.x() + Zp.y() * deltaVtx.y() + Zp.z() * deltaVtx.z()) /
283  (sqrt(Zp.x() * Zp.x() + Zp.y() * Zp.y() + Zp.z() * Zp.z()) *
284  sqrt(deltaVtx.x() * deltaVtx.x() + deltaVtx.y() * deltaVtx.y() + deltaVtx.z() * deltaVtx.z()));
285 
286  hCosPhi_->Fill(cosphi);
287  hCosPhi3D_->Fill(cosphi3D);
288  // inverted
289  hCosPhiInv_->Fill(-cosphi);
290  hCosPhiInv3D_->Fill(-cosphi3D);
291 
292  // unbalance
293  hCosPhiUnbalance_->Fill(cosphi, 1.);
294  hCosPhiUnbalance_->Fill(-cosphi, -1.);
295  hCosPhi3DUnbalance_->Fill(cosphi3D, 1.);
296  hCosPhi3DUnbalance_->Fill(-cosphi3D, -1.);
297 
298  // fill the cos(phi3D) plots
299  CosPhi3DPlots_.fillPlots(cosphi3D, tktk_p4);
300  }
301  } else {
302  edm::LogWarning("DiMuonVertexMonitor") << "hardest primary vertex in the event is not valid!";
303  }
304 }
MonitorElement * hdxyErr_
float totalChiSquared() const
MonitorElement * hIP2d_
MonitorElement * hCosPhiInv_
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
Definition: EventSetup.h:119
GlobalPoint position() const
MonitorElement * hSVDist3DErr_
MonitorElement * hIP2dsig_
Measurement1D distance(const GlobalPoint &vtx1Position, const GlobalError &vtx1PositionError, const GlobalPoint &vtx2Position, const GlobalError &vtx2PositionError) const override
MonitorElement * hSVProb_
T z() const
Definition: PV3DBase.h:61
static constexpr float mumass2
const Point & position() const
position
Definition: Vertex.h:127
std::pair< bool, Measurement1D > signedTransverseImpactParameter(const reco::TransientTrack &track, const GlobalVector &direction, const reco::Vertex &vertex)
Definition: IPTools.cc:57
T const * product() const
Definition: Handle.h:70
DiLepPlotHelp::PlotsVsKinematics SVDistSigPlots_
std::pair< bool, Measurement1D > signedImpactParameter3D(const reco::TransientTrack &track, const GlobalVector &direction, const reco::Vertex &vertex)
Definition: IPTools.cc:81
DiLepPlotHelp::PlotsVsKinematics SVDistPlots_
MonitorElement * hCosPhi_
MonitorElement * hSVCompatibility_
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
Log< level::Error, false > LogError
float degreesOfFreedom() const
MonitorElement * hIP3dsig_
MonitorElement * hSVNormChi2_
DiLepPlotHelp::PlotsVsKinematics SVDist3DPlots_
#define LogTrace(id)
MonitorElement * hCosPhi3DUnbalance_
MonitorElement * hdxy_
MonitorElement * hCosPhiUnbalance_
MonitorElement * hCosPhiInv3D_
reco::TransientTrack build(const reco::Track *p) const
void Fill(long long x)
MonitorElement * hSVDist3D_
T x() const
Definition: PV3DBase.h:59
T y() const
Definition: PV3DBase.h:60
MonitorElement * hSVDist3DSig_
int iEvent
Definition: GenABIO.cc:224
bool isValid() const
MonitorElement * hSVChi2_
T sqrt(T t)
Definition: SSEVec.h:19
void fillPlots(const float val, const std::pair< TLorentzVector, TLorentzVector > &momenta)
const reco::Vertex * findClosestVertex(const TransientVertex aTransVtx, const reco::VertexCollection *vertices) const
DiLepPlotHelp::PlotsVsKinematics SVDist3DSigPlots_
const edm::EDGetTokenT< reco::TrackCollection > tracksToken_
MonitorElement * hSVDistSig_
Measurement1D distance(const GlobalPoint &vtx1Position, const GlobalError &vtx1PositionError, const GlobalPoint &vtx2Position, const GlobalError &vtx2PositionError) const override
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
MonitorElement * hSVDist_
bool isValid() const
Definition: HandleBase.h:70
double value() const
Definition: Measurement1D.h:25
MonitorElement * hIP3d_
float compatibility(const GlobalPoint &vtx1Position, const GlobalError &vtx1PositionError, const GlobalPoint &vtx2Position, const GlobalError &vtx2PositionError) const override
MonitorElement * hSVCompatibility3D_
const edm::EDGetTokenT< reco::VertexCollection > vertexToken_
MonitorElement * hSVDistErr_
double error() const
Definition: Measurement1D.h:27
MonitorElement * hCosPhi3D_
MonitorElement * hdzErr_
Log< level::Warning, false > LogWarning
char const * what() const noexcept override
Definition: Exception.cc:107
static constexpr float cmToum
DiLepPlotHelp::PlotsVsKinematics CosPhi3DPlots_
bool isValid() const
Tells whether the vertex is valid.
Definition: Vertex.h:72
const edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord > ttbESToken_
MonitorElement * hInvMass_
float compatibility(const GlobalPoint &vtx1Position, const GlobalError &vtx1PositionError, const GlobalPoint &vtx2Position, const GlobalError &vtx2PositionError) const override

◆ bookHistograms()

void DiMuonVertexMonitor::bookHistograms ( DQMStore::IBooker iBooker,
edm::Run const &  ,
edm::EventSetup const &   
)
overridevirtual

Implements DQMEDAnalyzer.

Definition at line 55 of file DiMuonVertexMonitor.cc.

References dqm::implementation::IBooker::book1D(), DiLepPlotHelp::PlotsVsKinematics::bookFromPSet(), CosPhi3DConfiguration_, CosPhi3DPlots_, hCosPhi3D_, hCosPhi3DUnbalance_, hCosPhi_, hCosPhiInv3D_, hCosPhiInv_, hCosPhiUnbalance_, hdxy_, hdxyErr_, hdz_, hdzErr_, hInvMass_, hIP2d_, hIP2dsig_, hIP3d_, hIP3dsig_, hSVChi2_, hSVCompatibility3D_, hSVCompatibility_, hSVDist3D_, hSVDist3DErr_, hSVDist3DSig_, hSVDist_, hSVDistErr_, hSVDistSig_, hSVNormChi2_, hSVProb_, massLimits_, MEFolderName_, motherName_, dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, SVDist3DConfiguration_, SVDist3DPlots_, SVDist3DSigConfiguration_, SVDist3DSigPlots_, SVDistConfiguration_, SVDistPlots_, SVDistSigConfiguration_, and SVDistSigPlots_.

55  {
56  iBooker.setCurrentFolder(MEFolderName_ + "/DiMuonVertexMonitor");
57 
58  // clang-format off
59  std::string ts = fmt::sprintf(";%s vertex probability;N(#mu#mu pairs)", motherName_);
60  std::string ps = "N(#mu#mu pairs)";
61  hSVProb_ = iBooker.book1D("VtxProb", ts, 100, 0., 1.);
62 
63  ts = fmt::sprintf("#chi^{2} of the %s vertex; #chi^{2} of the %s vertex; %s", motherName_, motherName_, ps);
64  hSVChi2_ = iBooker.book1D("VtxChi2", ts, 200, 0., 200.);
65 
66  ts = fmt::sprintf("#chi^{2}/ndf of the %s vertex; #chi^{2}/ndf of %s vertex; %s", motherName_, motherName_, ps);
67  hSVNormChi2_ = iBooker.book1D("VtxNormChi2", ts, 100, 0., 20.);
68 
69  std::string histTit = motherName_ + " #rightarrow #mu^{+}#mu^{-}";
70  ts = fmt::sprintf("%s;PV- %sV xy distance [#mum];%s", histTit, motherName_, ps);
71  hSVDist_ = iBooker.book1D("VtxDist", ts, 100, 0., 300.);
72 
73  ts = fmt::sprintf("%s;PV-%sV xy distance error [#mum];%s", histTit, motherName_, ps);
74  hSVDistErr_ = iBooker.book1D("VtxDistErr", ts, 100, 0., 1000.);
75 
76  ts = fmt::sprintf("%s;PV-%sV xy distance signficance;%s", histTit, motherName_, ps);
77  hSVDistSig_ = iBooker.book1D("VtxDistSig", ts, 100, 0., 5.);
78 
79  ts = fmt::sprintf("compatibility of %s vertex; compatibility of %s vertex; %s", motherName_, motherName_, ps);
80  hSVCompatibility_ = iBooker.book1D("VtxCompatibility", ts, 100, 0., 100.);
81 
82  ts = fmt::sprintf("%s;PV-%sV 3D distance [#mum];%s", histTit, motherName_, ps);
83  hSVDist3D_ = iBooker.book1D("VtxDist3D", ts, 100, 0., 300.);
84 
85  ts = fmt::sprintf("%s;PV-%sV 3D distance error [#mum];%s", histTit, motherName_, ps);
86  hSVDist3DErr_ = iBooker.book1D("VtxDist3DErr", ts, 100, 0., 1000.);
87 
88  ts = fmt::sprintf("%s;PV-%sV 3D distance signficance;%s", histTit, motherName_, ps);
89  hSVDist3DSig_ = iBooker.book1D("VtxDist3DSig", ts, 100, 0., 5.);
90 
91  ts = fmt::sprintf("3D compatibility of %s vertex;3D compatibility of %s vertex; %s", motherName_, motherName_, ps);
92  hSVCompatibility3D_ = iBooker.book1D("VtxCompatibility3D", ts, 100, 0., 100.);
93 
94  hInvMass_ = iBooker.book1D("InvMass", fmt::sprintf("%s;M(#mu,#mu) [GeV];%s", histTit, ps), 70., massLimits_.first, massLimits_.second);
95  hCosPhi_ = iBooker.book1D("CosPhi", fmt::sprintf("%s;cos(#phi_{xy});%s", histTit, ps), 50, -1., 1.);
96  hCosPhi3D_ = iBooker.book1D("CosPhi3D", fmt::sprintf("%s;cos(#phi_{3D});%s", histTit, ps), 50, -1., 1.);
97  hCosPhiInv_ = iBooker.book1D("CosPhiInv", fmt::sprintf("%s;inverted cos(#phi_{xy});%s", histTit, ps), 50, -1., 1.);
98  hCosPhiInv3D_ = iBooker.book1D("CosPhiInv3D", fmt::sprintf("%s;inverted cos(#phi_{3D});%s", histTit, ps), 50, -1., 1.);
99  hCosPhiUnbalance_ = iBooker.book1D("CosPhiUnbalance", fmt::sprintf("%s;cos(#phi_{xy}) unbalance;#Delta%s", histTit, ps), 50, -1.,1.);
100  hCosPhi3DUnbalance_ = iBooker.book1D("CosPhi3DUnbalance", fmt::sprintf("%s;cos(#phi_{3D}) unbalance;#Delta%s", histTit, ps), 50, -1., 1.);
101 
102  hdxy_ = iBooker.book1D("dxy", fmt::sprintf("%s;muon track d_{xy}(PV) [#mum];muon tracks", histTit), 150, -300, 300);
103  hdz_ = iBooker.book1D("dz", fmt::sprintf("%s;muon track d_{z}(PV) [#mum];muon tracks", histTit), 150, -300, 300);
104  hdxyErr_ = iBooker.book1D("dxyErr", fmt::sprintf("%s;muon track err_{dxy} [#mum];muon tracks", histTit), 250, 0., 500.);
105  hdzErr_ = iBooker.book1D("dzErr", fmt::sprintf("%s;muon track err_{dz} [#mum];muon tracks", histTit), 250, 0., 500.);
106  hIP2d_ = iBooker.book1D("IP2d", fmt::sprintf("%s;muon track IP_{2D} [#mum];muon tracks", histTit), 150, -300, 300);
107  hIP3d_ = iBooker.book1D("IP3d", fmt::sprintf("%s;muon track IP_{3D} [#mum];muon tracks", histTit), 150, -300, 300);
108  hIP2dsig_ = iBooker.book1D("IP2Dsig", fmt::sprintf("%s;muon track IP_{2D} significance;muon tracks", histTit), 100, 0., 5.);
109  hIP3dsig_ = iBooker.book1D("IP3Dsig", fmt::sprintf("%s;muon track IP_{3D} significance;muon tracks", histTit), 100, 0., 5.);
110  // clang-format on
111 
112  // now book the cosphi3D plots vs kinematics
113  iBooker.setCurrentFolder(MEFolderName_ + "/DiMuonVertexMonitor/CosPhi3DPlots");
115 
116  // now book the PV-SV distance plots vs kinematics
117  iBooker.setCurrentFolder(MEFolderName_ + "/DiMuonVertexMonitor/SVDistPlots");
119 
120  // now book the PV-SV distance significance plots vs kinematics
121  iBooker.setCurrentFolder(MEFolderName_ + "/DiMuonVertexMonitor/SVDistSigPlots");
123 
124  // now book the PV-SV 3D distance plots vs kinematics
125  iBooker.setCurrentFolder(MEFolderName_ + "/DiMuonVertexMonitor/SVDist3DPlots");
127 
128  // now book the PV-SV 3D distance significance plots vs kinematics
129  iBooker.setCurrentFolder(MEFolderName_ + "/DiMuonVertexMonitor/SVDist3DSigPlots");
131 }
MonitorElement * hdxyErr_
const std::string MEFolderName_
MonitorElement * hIP2d_
MonitorElement * hCosPhiInv_
std::pair< float, float > massLimits_
MonitorElement * hSVDist3DErr_
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:36
MonitorElement * hIP2dsig_
MonitorElement * hSVProb_
DiLepPlotHelp::PlotsVsKinematics SVDistSigPlots_
DiLepPlotHelp::PlotsVsKinematics SVDistPlots_
MonitorElement * hCosPhi_
MonitorElement * hSVCompatibility_
edm::ParameterSet SVDist3DConfiguration_
MonitorElement * hIP3dsig_
const std::string motherName_
MonitorElement * hSVNormChi2_
DiLepPlotHelp::PlotsVsKinematics SVDist3DPlots_
MonitorElement * hCosPhi3DUnbalance_
MonitorElement * hdxy_
MonitorElement * hCosPhiUnbalance_
MonitorElement * hCosPhiInv3D_
MonitorElement * hSVDist3D_
MonitorElement * hSVDist3DSig_
MonitorElement * hSVChi2_
DiLepPlotHelp::PlotsVsKinematics SVDist3DSigPlots_
MonitorElement * hSVDistSig_
edm::ParameterSet SVDistSigConfiguration_
edm::ParameterSet CosPhi3DConfiguration_
MonitorElement * hSVDist_
MonitorElement * hIP3d_
MonitorElement * hSVCompatibility3D_
void bookFromPSet(dqm::reco::DQMStore::IBooker &iBooker, const edm::ParameterSet &hpar)
MonitorElement * hSVDistErr_
edm::ParameterSet SVDistConfiguration_
edm::ParameterSet SVDist3DSigConfiguration_
MonitorElement * hCosPhi3D_
MonitorElement * hdzErr_
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
DiLepPlotHelp::PlotsVsKinematics CosPhi3DPlots_
MonitorElement * hInvMass_

◆ fillDescriptions()

void DiMuonVertexMonitor::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 335 of file DiMuonVertexMonitor.cc.

References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

335  {
337  desc.add<edm::InputTag>("muonTracks", edm::InputTag("ALCARECOTkAlDiMuon"));
338  desc.add<edm::InputTag>("vertices", edm::InputTag("offlinePrimaryVertices"));
339  desc.add<std::string>("FolderName", "DiMuonVertexMonitor");
340  desc.add<std::string>("decayMotherName", "Z");
341  desc.add<bool>("useClosestVertex", true);
342  desc.add<double>("maxSVdist", 50.);
343 
344  {
345  edm::ParameterSetDescription psCosPhi3D;
346  psCosPhi3D.add<std::string>("name", "CosPhi3D");
347  psCosPhi3D.add<std::string>("title", "cos(#phi_{3D})");
348  psCosPhi3D.add<std::string>("yUnits", "");
349  psCosPhi3D.add<int>("NxBins", 24);
350  psCosPhi3D.add<int>("NyBins", 50);
351  psCosPhi3D.add<double>("ymin", -1.);
352  psCosPhi3D.add<double>("ymax", 1.);
353  psCosPhi3D.add<double>("maxDeltaEta", 3.7);
354  desc.add<edm::ParameterSetDescription>("CosPhi3DConfig", psCosPhi3D);
355  }
356 
357  {
359  psSVDist.add<std::string>("name", "SVDist");
360  psSVDist.add<std::string>("title", "PV-SV distance");
361  psSVDist.add<std::string>("yUnits", "[#mum]");
362  psSVDist.add<int>("NxBins", 24);
363  psSVDist.add<int>("NyBins", 100);
364  psSVDist.add<double>("ymin", 0.);
365  psSVDist.add<double>("ymax", 300.);
366  psSVDist.add<double>("maxDeltaEta", 3.7);
367  desc.add<edm::ParameterSetDescription>("SVDistConfig", psSVDist);
368  }
369 
370  {
371  edm::ParameterSetDescription psSVDistSig;
372  psSVDistSig.add<std::string>("name", "SVDistSig");
373  psSVDistSig.add<std::string>("title", "PV-SV distance significance");
374  psSVDistSig.add<std::string>("yUnits", "[#mum]");
375  psSVDistSig.add<int>("NxBins", 24);
376  psSVDistSig.add<int>("NyBins", 100);
377  psSVDistSig.add<double>("ymin", 0.);
378  psSVDistSig.add<double>("ymax", 5.);
379  psSVDistSig.add<double>("maxDeltaEta", 3.7);
380  desc.add<edm::ParameterSetDescription>("SVDistSigConfig", psSVDistSig);
381  }
382 
383  {
384  edm::ParameterSetDescription psSVDist3D;
385  psSVDist3D.add<std::string>("name", "SVDist3D");
386  psSVDist3D.add<std::string>("title", "PV-SV 3D distance");
387  psSVDist3D.add<std::string>("yUnits", "[#mum]");
388  psSVDist3D.add<int>("NxBins", 24);
389  psSVDist3D.add<int>("NyBins", 100);
390  psSVDist3D.add<double>("ymin", 0.);
391  psSVDist3D.add<double>("ymax", 300.);
392  psSVDist3D.add<double>("maxDeltaEta", 3.7);
393  desc.add<edm::ParameterSetDescription>("SVDist3DConfig", psSVDist3D);
394  }
395 
396  {
397  edm::ParameterSetDescription psSVDist3DSig;
398  psSVDist3DSig.add<std::string>("name", "SVDist3DSig");
399  psSVDist3DSig.add<std::string>("title", "PV-SV 3D distance significance");
400  psSVDist3DSig.add<std::string>("yUnits", "[#mum]");
401  psSVDist3DSig.add<int>("NxBins", 24);
402  psSVDist3DSig.add<int>("NyBins", 100);
403  psSVDist3DSig.add<double>("ymin", 0.);
404  psSVDist3DSig.add<double>("ymax", 5.);
405  psSVDist3DSig.add<double>("maxDeltaEta", 3.7);
406  desc.add<edm::ParameterSetDescription>("SVDist3DSigConfig", psSVDist3DSig);
407  }
408 
409  descriptions.addWithDefaultLabel(desc);
410 }
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
ParameterDescriptionBase * add(U const &iLabel, T const &value)

◆ findClosestVertex()

const reco::Vertex * DiMuonVertexMonitor::findClosestVertex ( const TransientVertex  aTransVtx,
const reco::VertexCollection vertices 
) const
private

Definition at line 307 of file DiMuonVertexMonitor.cc.

References counter, VertexDistance3D::distance(), TransientVertex::isValid(), Measurement1D::value(), AlignmentTracksFromVertexSelector_cfi::vertices, and L1BJetProducer_cff::vtx.

Referenced by analyze().

308  {
309  reco::Vertex* defaultVtx = nullptr;
310 
311  if (!aTransVtx.isValid())
312  return defaultVtx;
313 
314  // find the closest vertex to the secondary vertex in 3D
315  VertexDistance3D vertTool3D;
316  float minD = 9999.;
317  int closestVtxIndex = 0;
318  int counter = 0;
319  for (const auto& vtx : *vertices) {
320  double dist3D = vertTool3D.distance(aTransVtx, vtx).value();
321  if (dist3D < minD) {
322  minD = dist3D;
323  closestVtxIndex = counter;
324  }
325  counter++;
326  }
327 
328  if ((*vertices).at(closestVtxIndex).isValid()) {
329  return &(vertices->at(closestVtxIndex));
330  } else {
331  return defaultVtx;
332  }
333 }
bool isValid() const
Measurement1D distance(const GlobalPoint &vtx1Position, const GlobalError &vtx1PositionError, const GlobalPoint &vtx2Position, const GlobalError &vtx2PositionError) const override
double value() const
Definition: Measurement1D.h:25
static std::atomic< unsigned int > counter

Member Data Documentation

◆ CosPhi3DConfiguration_

edm::ParameterSet DiMuonVertexMonitor::CosPhi3DConfiguration_
private

Definition at line 86 of file DiMuonVertexMonitor.h.

Referenced by bookHistograms().

◆ CosPhi3DPlots_

Definition at line 87 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ hCosPhi3D_

MonitorElement* DiMuonVertexMonitor::hCosPhi3D_
private

Definition at line 77 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ hCosPhi3DUnbalance_

MonitorElement* DiMuonVertexMonitor::hCosPhi3DUnbalance_
private

Definition at line 81 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ hCosPhi_

MonitorElement* DiMuonVertexMonitor::hCosPhi_
private

Definition at line 76 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ hCosPhiInv3D_

MonitorElement* DiMuonVertexMonitor::hCosPhiInv3D_
private

Definition at line 79 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ hCosPhiInv_

MonitorElement* DiMuonVertexMonitor::hCosPhiInv_
private

Definition at line 78 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ hCosPhiUnbalance_

MonitorElement* DiMuonVertexMonitor::hCosPhiUnbalance_
private

Definition at line 80 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ hCutFlow_

MonitorElement* DiMuonVertexMonitor::hCutFlow_
private

Definition at line 83 of file DiMuonVertexMonitor.h.

◆ hdxy_

MonitorElement* DiMuonVertexMonitor::hdxy_
private

Definition at line 106 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ hdxyErr_

MonitorElement* DiMuonVertexMonitor::hdxyErr_
private

Definition at line 108 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ hdz_

MonitorElement* DiMuonVertexMonitor::hdz_
private

Definition at line 107 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ hdzErr_

MonitorElement* DiMuonVertexMonitor::hdzErr_
private

Definition at line 109 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ hInvMass_

MonitorElement* DiMuonVertexMonitor::hInvMass_
private

Definition at line 82 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ hIP2d_

MonitorElement* DiMuonVertexMonitor::hIP2d_
private

Definition at line 110 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ hIP2dsig_

MonitorElement* DiMuonVertexMonitor::hIP2dsig_
private

Definition at line 112 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ hIP3d_

MonitorElement* DiMuonVertexMonitor::hIP3d_
private

Definition at line 111 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ hIP3dsig_

MonitorElement* DiMuonVertexMonitor::hIP3dsig_
private

Definition at line 113 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ hSVChi2_

MonitorElement* DiMuonVertexMonitor::hSVChi2_
private

Definition at line 63 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ hSVCompatibility3D_

MonitorElement* DiMuonVertexMonitor::hSVCompatibility3D_
private

Definition at line 74 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ hSVCompatibility_

MonitorElement* DiMuonVertexMonitor::hSVCompatibility_
private

Definition at line 69 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ hSVDist3D_

MonitorElement* DiMuonVertexMonitor::hSVDist3D_
private

Definition at line 71 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ hSVDist3DErr_

MonitorElement* DiMuonVertexMonitor::hSVDist3DErr_
private

Definition at line 72 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ hSVDist3DSig_

MonitorElement* DiMuonVertexMonitor::hSVDist3DSig_
private

Definition at line 73 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ hSVDist_

MonitorElement* DiMuonVertexMonitor::hSVDist_
private

Definition at line 66 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ hSVDistErr_

MonitorElement* DiMuonVertexMonitor::hSVDistErr_
private

Definition at line 67 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ hSVDistSig_

MonitorElement* DiMuonVertexMonitor::hSVDistSig_
private

Definition at line 68 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ hSVNormChi2_

MonitorElement* DiMuonVertexMonitor::hSVNormChi2_
private

Definition at line 64 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ hSVProb_

MonitorElement* DiMuonVertexMonitor::hSVProb_
private

Definition at line 62 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ massLimits_

std::pair<float, float> DiMuonVertexMonitor::massLimits_
private

Definition at line 58 of file DiMuonVertexMonitor.h.

Referenced by bookHistograms(), and DiMuonVertexMonitor().

◆ maxSVdist_

const float DiMuonVertexMonitor::maxSVdist_
private

Definition at line 59 of file DiMuonVertexMonitor.h.

Referenced by analyze().

◆ MEFolderName_

const std::string DiMuonVertexMonitor::MEFolderName_
private

Definition at line 55 of file DiMuonVertexMonitor.h.

Referenced by bookHistograms().

◆ motherName_

const std::string DiMuonVertexMonitor::motherName_
private

Definition at line 54 of file DiMuonVertexMonitor.h.

Referenced by bookHistograms(), and DiMuonVertexMonitor().

◆ SVDist3DConfiguration_

edm::ParameterSet DiMuonVertexMonitor::SVDist3DConfiguration_
private

Definition at line 98 of file DiMuonVertexMonitor.h.

Referenced by bookHistograms().

◆ SVDist3DPlots_

Definition at line 99 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ SVDist3DSigConfiguration_

edm::ParameterSet DiMuonVertexMonitor::SVDist3DSigConfiguration_
private

Definition at line 102 of file DiMuonVertexMonitor.h.

Referenced by bookHistograms().

◆ SVDist3DSigPlots_

DiLepPlotHelp::PlotsVsKinematics DiMuonVertexMonitor::SVDist3DSigPlots_ = DiLepPlotHelp::PlotsVsKinematics(DiLepPlotHelp::MM)
private

Definition at line 103 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ SVDistConfiguration_

edm::ParameterSet DiMuonVertexMonitor::SVDistConfiguration_
private

Definition at line 90 of file DiMuonVertexMonitor.h.

Referenced by bookHistograms().

◆ SVDistPlots_

Definition at line 91 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ SVDistSigConfiguration_

edm::ParameterSet DiMuonVertexMonitor::SVDistSigConfiguration_
private

Definition at line 94 of file DiMuonVertexMonitor.h.

Referenced by bookHistograms().

◆ SVDistSigPlots_

Definition at line 95 of file DiMuonVertexMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ tracksToken_

const edm::EDGetTokenT<reco::TrackCollection> DiMuonVertexMonitor::tracksToken_
private

Definition at line 50 of file DiMuonVertexMonitor.h.

Referenced by analyze().

◆ ttbESToken_

const edm::ESGetToken<TransientTrackBuilder, TransientTrackRecord> DiMuonVertexMonitor::ttbESToken_
private

Definition at line 47 of file DiMuonVertexMonitor.h.

Referenced by analyze().

◆ useClosestVertex_

const bool DiMuonVertexMonitor::useClosestVertex_
private

Definition at line 56 of file DiMuonVertexMonitor.h.

Referenced by analyze().

◆ vertexToken_

const edm::EDGetTokenT<reco::VertexCollection> DiMuonVertexMonitor::vertexToken_
private

Definition at line 52 of file DiMuonVertexMonitor.h.

Referenced by analyze().