CMS 3D CMS Logo

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

#include <RecoVertex/PrimaryVertexProducer/src/VertexFromTrackProducer.cc>

Inheritance diagram for VertexFromTrackProducer:
edm::global::EDProducer<> edm::global::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

void produce (edm::StreamID, edm::Event &, const edm::EventSetup &) const override
 
 VertexFromTrackProducer (const edm::ParameterSet &)
 
 ~VertexFromTrackProducer () override
 
- Public Member Functions inherited from edm::global::EDProducer<>
 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
 
EDProduceroperator= (const EDProducer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
bool wantsStreamLuminosityBlocks () const final
 
bool wantsStreamRuns () const final
 
- Public Member Functions inherited from edm::global::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
std::vector< bool > const & recordProvenanceList () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::global::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Attributes

const edm::EDGetTokenT< reco::BeamSpotbeamSpotLabel
 
const edm::EDGetTokenT< edm::View< reco::RecoCandidate > > candidateToken
 
const bool fIsRecoCandidate
 
const bool fUseBeamSpot
 
const bool fUseTriggerFilterElectrons
 
const bool fUseTriggerFilterMuons
 
const bool fUseVertex
 
const bool fVerbose
 
const edm::EDGetTokenT< edm::View< reco::Track > > trackToken
 
const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefstriggerFilterElectronsSrc
 
const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefstriggerFilterMuonsSrc
 
const edm::EDGetTokenT< edm::View< reco::Vertex > > vertexLabel
 

Additional Inherited Members

- Public Types inherited from edm::global::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > >
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Member Functions inherited from edm::ProducerBase
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 declare what type of product will make and with which optional label More...
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Description: produces a primary vertex extrapolating the track of a candidate on the beam axis

Implementation: <Notes on="" implementation>="">

Definition at line 46 of file VertexFromTrackProducer.h.

Constructor & Destructor Documentation

◆ VertexFromTrackProducer()

VertexFromTrackProducer::VertexFromTrackProducer ( const edm::ParameterSet conf)
explicit

Definition at line 27 of file VertexFromTrackProducer.cc.

30  triggerFilterElectronsSrc(consumes<trigger::TriggerFilterObjectWithRefs>(
31  conf.getParameter<edm::InputTag>("triggerFilterElectronsSrc"))),
33  consumes<trigger::TriggerFilterObjectWithRefs>(conf.getParameter<edm::InputTag>("triggerFilterMuonsSrc"))),
35  beamSpotLabel(consumes<reco::BeamSpot>(conf.getParameter<edm::InputTag>("beamSpotLabel"))),
36  fIsRecoCandidate(conf.getParameter<bool>("isRecoCandidate")),
37  fUseBeamSpot(conf.getParameter<bool>("useBeamSpot")),
38  fUseVertex(conf.getParameter<bool>("useVertex")),
39  fUseTriggerFilterElectrons(conf.getParameter<bool>("useTriggerFilterElectrons")),
40  fUseTriggerFilterMuons(conf.getParameter<bool>("useTriggerFilterMuons")),
41  fVerbose(conf.getUntrackedParameter<bool>("verbose", false)) {
42  edm::LogInfo("PVDebugInfo") << "Initializing VertexFromTrackProducer"
43  << "\n";
44 
45  produces<reco::VertexCollection>();
46 }

◆ ~VertexFromTrackProducer()

VertexFromTrackProducer::~VertexFromTrackProducer ( )
override

Definition at line 48 of file VertexFromTrackProducer.cc.

48 {}

Member Function Documentation

◆ fillDescriptions()

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

Definition at line 192 of file VertexFromTrackProducer.cc.

192  {
194 
195  desc.add<bool>("isRecoCandidate", false)
196  ->setComment(
197  "If isRecoCandidate=True \"trackLabel\" is used and assumed to be collection of candidates.\nOtherwise it is "
198  "assumed that \"trackLabel\" is collection of tracks and is used when useTriggerFilterElectrons=False and "
199  "useTriggerFilterMuons=False");
200  desc.add<edm::InputTag>("trackLabel", edm::InputTag("hltL3MuonCandidates"))
201  ->setComment("Collection of tracks or candidates");
202  desc.add<bool>("useTriggerFilterElectrons", false)
203  ->setComment("Use leading electron passing \"triggerFilterElectronsSrc\" filter to determine z vertex position");
204  desc.add<edm::InputTag>("triggerFilterElectronsSrc",
205  edm::InputTag("hltEle20CaloIdVTCaloIsoTTrkIdTTrkIsoL1JetTrackIsoFilter"))
206  ->setComment("Name of electron filter");
207  desc.add<bool>("useTriggerFilterMuons", true)
208  ->setComment("Use leading muon passing \"triggerFilterMuonsSrc\" filter to determine z vertex position");
209  desc.add<edm::InputTag>("triggerFilterMuonsSrc", edm::InputTag("hltSingleMuIsoL3IsoFiltered15"))
210  ->setComment("Name of muon filter");
211  desc.add<bool>("useBeamSpot", true)->setComment("Use beam spot for x/y vertex position");
212  desc.add<edm::InputTag>("beamSpotLabel", edm::InputTag("hltOnlineBeamSpot"))->setComment("Beamspot collection");
213  desc.add<bool>("useVertex", true)
214  ->setComment("Use vertex for x/y vertex position (beam spot is used when PV does not exit)");
215  desc.add<edm::InputTag>("vertexLabel", edm::InputTag("hltPixelVertices"))->setComment("Vertex collection");
216 
217  desc.addUntracked<bool>("verbose", false)->setComment("Switch on/off verbosity");
218  descriptions.setComment(
219  "This module produces vertex with z-coordinate determined with the highest-Pt lepton track and x/y-coordinates "
220  "taken from BeamSpot/Vertex");
221  descriptions.add("hltVertexFromTrackProducer", desc);
222 }

References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, and edm::ConfigurationDescriptions::setComment().

◆ produce()

void VertexFromTrackProducer::produce ( edm::StreamID  iStreamId,
edm::Event iEvent,
const edm::EventSetup iSetup 
) const
overridevirtual

Implements edm::global::EDProducerBase.

Definition at line 55 of file VertexFromTrackProducer.cc.

57  {
58  using namespace edm;
59 
60  std::unique_ptr<reco::VertexCollection> result(new reco::VertexCollection);
62 
63  math::XYZPoint vertexPoint;
64  bool vertexAvailable = false;
65 
66  // get the BeamSpot
67  edm::Handle<reco::BeamSpot> recoBeamSpotHandle;
68  iEvent.getByToken(beamSpotLabel, recoBeamSpotHandle);
69  if (recoBeamSpotHandle.isValid()) {
70  reco::BeamSpot beamSpot = *recoBeamSpotHandle;
71  vertexPoint = beamSpot.position();
72  } else {
73  edm::LogError("UnusableBeamSpot") << "No beam spot found in Event";
74  }
75 
76  if (fUseVertex) {
77  // get the Vertex
78  edm::Handle<edm::View<reco::Vertex> > recoVertexHandle;
79  iEvent.getByToken(vertexLabel, recoVertexHandle);
80  if ((recoVertexHandle.isValid()) && (!recoVertexHandle->empty())) {
81  reco::Vertex vertex = recoVertexHandle->at(0);
82  vertexPoint = vertex.position();
83  vertexAvailable = true;
84  } else {
85  edm::LogInfo("UnusableVertex") << "No vertex found in Event, beam spot used instaed"
86  << "\n";
87  }
88  }
89 
90  const reco::Track* track = nullptr;
91  if (fIsRecoCandidate) {
93  iEvent.getByToken(candidateToken, candidateHandle);
94  if ((candidateHandle.isValid()) && (!candidateHandle->empty())) {
95  double maxpt = 0.;
96  unsigned i_maxpt = 0;
97  for (unsigned i = 0; i < candidateHandle->size(); ++i) {
98  double pt = candidateHandle->ptrAt(i)->pt();
99  if (pt > maxpt) {
100  i_maxpt = i;
101  maxpt = pt;
102  }
103  }
104  track = dynamic_cast<const reco::Track*>(candidateHandle->ptrAt(i_maxpt)->bestTrack());
105  }
106  } else if (fUseTriggerFilterElectrons) {
108  iEvent.getByToken(triggerFilterElectronsSrc, triggerfilter);
109  std::vector<reco::ElectronRef> recocandidates;
110  triggerfilter->getObjects(trigger::TriggerElectron, recocandidates);
111  if ((!recocandidates.empty())) {
112  double maxpt = 0.;
113  unsigned i_maxpt = 0;
114  for (unsigned i = 0; i < recocandidates.size(); ++i) {
115  double pt = recocandidates.at(i)->pt();
116  if (pt > maxpt) {
117  i_maxpt = i;
118  maxpt = pt;
119  }
120  track = dynamic_cast<const reco::Track*>(recocandidates.at(i_maxpt)->bestTrack());
121  }
122  }
123  } else if (fUseTriggerFilterMuons) {
125  iEvent.getByToken(triggerFilterMuonsSrc, triggerfilter);
126  std::vector<reco::RecoChargedCandidateRef> recocandidates;
127  triggerfilter->getObjects(trigger::TriggerMuon, recocandidates);
128  if ((!recocandidates.empty())) {
129  double maxpt = 0.;
130  unsigned i_maxpt = 0;
131  for (unsigned i = 0; i < recocandidates.size(); ++i) {
132  double pt = recocandidates.at(i)->pt();
133  if (pt > maxpt) {
134  i_maxpt = i;
135  maxpt = pt;
136  }
137  track = dynamic_cast<const reco::Track*>(recocandidates.at(i_maxpt)->bestTrack());
138  }
139  }
140  } else {
142  iEvent.getByToken(trackToken, trackHandle);
143  if ((trackHandle.isValid()) && (!trackHandle->empty())) {
144  double maxpt = 0.;
145  unsigned i_maxpt = 0;
146  for (unsigned i = 0; i < trackHandle->size(); ++i) {
147  double pt = trackHandle->ptrAt(i)->pt();
148  if (pt > maxpt) {
149  i_maxpt = i;
150  maxpt = pt;
151  }
152  }
153  track = dynamic_cast<const reco::Track*>(&*trackHandle->ptrAt(i_maxpt));
154  }
155  }
156 
157  if (track) {
158  if (fUseBeamSpot || (fUseVertex && vertexAvailable)) {
159  vertexPoint.SetZ(vertexPoint.z() + track->dz(vertexPoint));
160  } else {
161  vertexPoint.SetZ(track->vz());
162  }
163  }
164  math::Error<3>::type noErrors;
165  reco::Vertex v(vertexPoint, noErrors);
166  vColl.push_back(v);
167 
168  // provide beamspot or primary vertex if no candidate found
169  //if(vColl.size()==0)
170  //{
171  // math::Error<3>::type noErrors;
172  // reco::Vertex v(vertexPoint, noErrors);
173  // vColl.push_back(v);
174  //}
175 
176  if (fVerbose) {
177  int ivtx = 0;
178  edm::LogInfo("PVDebugInfo") << "Vertices by VertexFromTrackProducer: \n";
179  for (reco::VertexCollection::const_iterator v = vColl.begin(); v != vColl.end(); ++v) {
180  edm::LogInfo("PVDebugInfo") << "\t"
181  << "recvtx " << ivtx++ << " x " << std::setw(6) << v->position().x() << " dx "
182  << std::setw(6) << v->xError() << " y " << std::setw(6) << v->position().y() << " dy "
183  << std::setw(6) << v->yError() << " z " << std::setw(6) << v->position().z() << " dz "
184  << std::setw(6) << v->zError() << " \n ";
185  }
186  }
187 
188  *result = vColl;
189  iEvent.put(std::move(result));
190 }

References pwdgSkimBPark_cfi::beamSpot, beamSpotLabel, candidateToken, fIsRecoCandidate, fUseBeamSpot, fUseTriggerFilterElectrons, fUseTriggerFilterMuons, fUseVertex, fVerbose, trigger::TriggerRefsCollections::getObjects(), mps_fire::i, iEvent, edm::HandleBase::isValid(), HiEvtPlane_cfi::maxpt, eostools::move(), DiDispStaMuonMonitor_cfi::pt, mps_fire::result, HLT_FULL_cff::track, trackToken, trigger::TriggerElectron, triggerFilterElectronsSrc, triggerFilterMuonsSrc, trigger::TriggerMuon, findQualityFiles::v, bphysicsOniaDQM_cfi::vertex, and vertexLabel.

Member Data Documentation

◆ beamSpotLabel

const edm::EDGetTokenT<reco::BeamSpot> VertexFromTrackProducer::beamSpotLabel
private

Definition at line 62 of file VertexFromTrackProducer.h.

Referenced by produce().

◆ candidateToken

const edm::EDGetTokenT<edm::View<reco::RecoCandidate> > VertexFromTrackProducer::candidateToken
private

Definition at line 58 of file VertexFromTrackProducer.h.

Referenced by produce().

◆ fIsRecoCandidate

const bool VertexFromTrackProducer::fIsRecoCandidate
private

Definition at line 65 of file VertexFromTrackProducer.h.

Referenced by produce().

◆ fUseBeamSpot

const bool VertexFromTrackProducer::fUseBeamSpot
private

Definition at line 66 of file VertexFromTrackProducer.h.

Referenced by produce().

◆ fUseTriggerFilterElectrons

const bool VertexFromTrackProducer::fUseTriggerFilterElectrons
private

Definition at line 68 of file VertexFromTrackProducer.h.

Referenced by produce().

◆ fUseTriggerFilterMuons

const bool VertexFromTrackProducer::fUseTriggerFilterMuons
private

Definition at line 68 of file VertexFromTrackProducer.h.

Referenced by produce().

◆ fUseVertex

const bool VertexFromTrackProducer::fUseVertex
private

Definition at line 67 of file VertexFromTrackProducer.h.

Referenced by produce().

◆ fVerbose

const bool VertexFromTrackProducer::fVerbose
private

Definition at line 69 of file VertexFromTrackProducer.h.

Referenced by produce().

◆ trackToken

const edm::EDGetTokenT<edm::View<reco::Track> > VertexFromTrackProducer::trackToken
private

Definition at line 57 of file VertexFromTrackProducer.h.

Referenced by produce().

◆ triggerFilterElectronsSrc

const edm::EDGetTokenT<trigger::TriggerFilterObjectWithRefs> VertexFromTrackProducer::triggerFilterElectronsSrc
private

Definition at line 59 of file VertexFromTrackProducer.h.

Referenced by produce().

◆ triggerFilterMuonsSrc

const edm::EDGetTokenT<trigger::TriggerFilterObjectWithRefs> VertexFromTrackProducer::triggerFilterMuonsSrc
private

Definition at line 60 of file VertexFromTrackProducer.h.

Referenced by produce().

◆ vertexLabel

const edm::EDGetTokenT<edm::View<reco::Vertex> > VertexFromTrackProducer::vertexLabel
private

Definition at line 61 of file VertexFromTrackProducer.h.

Referenced by produce().

VertexFromTrackProducer::vertexLabel
const edm::EDGetTokenT< edm::View< reco::Vertex > > vertexLabel
Definition: VertexFromTrackProducer.h:61
mps_fire.i
i
Definition: mps_fire.py:428
pwdgSkimBPark_cfi.beamSpot
beamSpot
Definition: pwdgSkimBPark_cfi.py:5
HLT_FULL_cff.track
track
Definition: HLT_FULL_cff.py:11713
trigger::TriggerElectron
Definition: TriggerTypeDefs.h:78
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
edm
HLT enums.
Definition: AlignableModifier.h:19
reco::VertexCollection
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89281
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
VertexFromTrackProducer::candidateToken
const edm::EDGetTokenT< edm::View< reco::RecoCandidate > > candidateToken
Definition: VertexFromTrackProducer.h:58
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
findQualityFiles.v
v
Definition: findQualityFiles.py:179
edm::Handle< reco::BeamSpot >
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
Definition: TriggerRefsCollections.h:590
VertexFromTrackProducer::fUseTriggerFilterElectrons
const bool fUseTriggerFilterElectrons
Definition: VertexFromTrackProducer.h:68
VertexFromTrackProducer::beamSpotLabel
const edm::EDGetTokenT< reco::BeamSpot > beamSpotLabel
Definition: VertexFromTrackProducer.h:62
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
reco::BeamSpot
Definition: BeamSpot.h:21
trigger::TriggerMuon
Definition: TriggerTypeDefs.h:79
reco::Track
Definition: Track.h:27
edm::View
Definition: CaloClusterFwd.h:14
bphysicsOniaDQM_cfi.vertex
vertex
Definition: bphysicsOniaDQM_cfi.py:7
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
VertexFromTrackProducer::fIsRecoCandidate
const bool fIsRecoCandidate
Definition: VertexFromTrackProducer.h:65
VertexFromTrackProducer::triggerFilterElectronsSrc
const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > triggerFilterElectronsSrc
Definition: VertexFromTrackProducer.h:59
VertexFromTrackProducer::fUseBeamSpot
const bool fUseBeamSpot
Definition: VertexFromTrackProducer.h:66
edm::ConfigurationDescriptions::setComment
void setComment(std::string const &value)
Definition: ConfigurationDescriptions.cc:48
iEvent
int iEvent
Definition: GenABIO.cc:224
VertexFromTrackProducer::fUseVertex
const bool fUseVertex
Definition: VertexFromTrackProducer.h:67
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
VertexFromTrackProducer::fUseTriggerFilterMuons
const bool fUseTriggerFilterMuons
Definition: VertexFromTrackProducer.h:68
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
eostools.move
def move(src, dest)
Definition: eostools.py:511
HiEvtPlane_cfi.maxpt
maxpt
Definition: HiEvtPlane_cfi.py:18
math::Error::type
ErrorD< N >::type type
Definition: Error.h:32
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
mps_fire.result
result
Definition: mps_fire.py:311
edm::EDConsumerBase::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: EDConsumerBase.h:155
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
VertexFromTrackProducer::trackToken
const edm::EDGetTokenT< edm::View< reco::Track > > trackToken
Definition: VertexFromTrackProducer.h:57
edm::InputTag
Definition: InputTag.h:15
reco::Vertex
Definition: Vertex.h:35
VertexFromTrackProducer::fVerbose
const bool fVerbose
Definition: VertexFromTrackProducer.h:69
VertexFromTrackProducer::triggerFilterMuonsSrc
const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > triggerFilterMuonsSrc
Definition: VertexFromTrackProducer.h:60