CMS 3D CMS Logo

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

#include <RecoBTag/PixelJetPuId/src/PixelJetPuId.cc>

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

Public Member Functions

 PixelJetPuId (const edm::ParameterSet &)
 
 ~PixelJetPuId () 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
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
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 Member Functions

void produce (edm::StreamID sid, edm::Event &, const edm::EventSetup &) const override
 

Private Attributes

edm::EDGetTokenT< edm::View< reco::Jet > > generaljetsToken
 
edm::EDGetTokenT< edm::View< reco::CaloJet > > jetsToken
 
bool m_fwjets
 
edm::InputTag m_jets
 
double m_MaxTrackChi2
 
double m_MaxTrackDistanceToJet
 
double m_minet_fwjets
 
double m_mineta_fwjets
 
double m_MinGoodJetTrackPt
 
double m_MinGoodJetTrackPtRatio
 
double m_MinTrackPt
 
edm::InputTag m_primaryVertex
 
edm::InputTag m_tracks
 
edm::EDGetTokenT< reco::VertexCollectionprimaryVertexToken
 
edm::EDGetTokenT< std::vector< reco::Track > > tracksToken
 
const edm::ESGetToken< TransientTrackBuilder, TransientTrackRecordtransientTrackRecordToken_
 

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: The PixelJetPuId module select all the pixel tracks compatible with a jet. If the sum of the tracks momentum is under a threshold the jet is tagged as "PUjets".

Implementation: [Notes on implementation]

Definition at line 55 of file PixelJetPuId.cc.

Constructor & Destructor Documentation

◆ PixelJetPuId()

PixelJetPuId::PixelJetPuId ( const edm::ParameterSet iConfig)

Definition at line 91 of file PixelJetPuId.cc.

92  : transientTrackRecordToken_(esConsumes(edm::ESInputTag("", "TransientTrackBuilder"))) {
93  //InputTag
94  m_tracks = iConfig.getParameter<edm::InputTag>("tracks");
95  tracksToken = consumes<std::vector<reco::Track> >(m_tracks);
96  m_jets = iConfig.getParameter<edm::InputTag>("jets");
97  jetsToken = consumes<edm::View<reco::CaloJet> >(m_jets);
98  generaljetsToken = consumes<edm::View<reco::Jet> >(m_jets);
99  m_primaryVertex = iConfig.getParameter<edm::InputTag>("primaryVertex");
100  primaryVertexToken = consumes<reco::VertexCollection>(m_primaryVertex);
101 
102  //Tracks Selection
103  m_MinTrackPt = iConfig.getParameter<double>("MinTrackPt");
104  m_MaxTrackDistanceToJet = iConfig.getParameter<double>("MaxTrackDistanceToJet");
105  m_MaxTrackChi2 = iConfig.getParameter<double>("MaxTrackChi2");
106 
107  //A jet is defined as a signal jet if Sum(trackPt) > minPt or Sum(comp.trackPt)/CaloJetPt > minPtRatio
108  m_MinGoodJetTrackPt = iConfig.getParameter<double>("MinGoodJetTrackPt");
109  m_MinGoodJetTrackPtRatio = iConfig.getParameter<double>("MinGoodJetTrackPtRatio");
110 
111  m_fwjets = iConfig.getParameter<bool>("UseForwardJetsAsNoPU");
112  m_mineta_fwjets = iConfig.getParameter<double>("MinEtaForwardJets");
113  m_minet_fwjets = iConfig.getParameter<double>("MinEtForwardJets");
114 
115  produces<std::vector<reco::CaloJet> >();
116  produces<std::vector<reco::CaloJet> >("PUjets");
117  produces<reco::JetTagCollection>();
118 }

References generaljetsToken, edm::ParameterSet::getParameter(), jetsToken, m_fwjets, m_jets, m_MaxTrackChi2, m_MaxTrackDistanceToJet, m_minet_fwjets, m_mineta_fwjets, m_MinGoodJetTrackPt, m_MinGoodJetTrackPtRatio, m_MinTrackPt, m_primaryVertex, m_tracks, primaryVertexToken, and tracksToken.

◆ ~PixelJetPuId()

PixelJetPuId::~PixelJetPuId ( )
overridedefault

Member Function Documentation

◆ fillDescriptions()

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

Definition at line 122 of file PixelJetPuId.cc.

122  {
124  desc.add<edm::InputTag>("jets", edm::InputTag("hltCaloJetL1FastJetCorrected"));
125  desc.add<edm::InputTag>("tracks", edm::InputTag("hltPixelTracksNoPU"));
126  desc.add<edm::InputTag>("primaryVertex", edm::InputTag("hltFastPVPixelVertices"));
127  desc.add<double>("MinGoodJetTrackPtRatio", 0.045);
128  desc.add<double>("MinGoodJetTrackPt", 1.8);
129  desc.add<double>("MaxTrackDistanceToJet", 0.04);
130  desc.add<double>("MinTrackPt", 0.6);
131  desc.add<double>("MaxTrackChi2", 20.);
132  desc.add<bool>("UseForwardJetsAsNoPU", true);
133  desc.add<double>("MinEtaForwardJets", 2.4);
134  desc.add<double>("MinEtForwardJets", 40.);
135  descriptions.add("pixelJetPuId", desc);
136 }

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

◆ produce()

void PixelJetPuId::produce ( edm::StreamID  sid,
edm::Event iEvent,
const edm::EventSetup iSetup 
) const
overrideprivatevirtual

Implements edm::global::EDProducerBase.

Definition at line 143 of file PixelJetPuId.cc.

143  {
144  using namespace edm;
145  std::unique_ptr<std::vector<reco::CaloJet> > pOut(new std::vector<reco::CaloJet>);
146  std::unique_ptr<std::vector<reco::CaloJet> > pOut_PUjets(new std::vector<reco::CaloJet>);
147  std::unique_ptr<reco::JetTagCollection> pOut_jetTagCollection(new reco::JetTagCollection);
148 
149  //get tracks
151  iEvent.getByToken(tracksToken, tracks);
152  unsigned int tsize = tracks->size();
153  float teta[tsize], tphi[tsize];
154  unsigned int i = 0;
155  for (auto const& tr : *tracks) {
156  teta[i] = tr.eta();
157  tphi[i] = tr.phi();
158  ++i;
159  }
160 
161  //get jets
163  iEvent.getByToken(jetsToken, jets);
164 
165  Handle<edm::View<reco::Jet> > generaljets;
166  iEvent.getByToken(generaljetsToken, generaljets);
167 
168  //get primary vertices
171 
172  //get Transient Track Builder
173  auto const& builder = iSetup.getHandle(transientTrackRecordToken_);
174 
175  //init JetTagCollection
176  if (!generaljets.product()->empty()) {
178  pOut_jetTagCollection = std::make_unique<reco::JetTagCollection>(edm::makeRefToBaseProdFrom(jj, iEvent));
179  }
180 
181  //loop on trackIPTagInfos
182  if (!primaryVertex->empty()) {
183  const reco::Vertex* pv = &*primaryVertex->begin();
184  //loop on jets
185  for (edm::View<reco::CaloJet>::const_iterator itJet = jets->begin(); itJet != jets->end(); itJet++) {
186  math::XYZVector jetMomentum = itJet->momentum();
187  GlobalVector direction(jetMomentum.x(), jetMomentum.y(), jetMomentum.z());
188 
189  math::XYZVector trMomentum;
190 
191  if (fabs(itJet->eta()) > m_mineta_fwjets) {
192  if ((m_fwjets) && (itJet->et() > m_minet_fwjets))
193  pOut->push_back(*itJet); // fill forward jet as signal jet
194  } else {
195  //loop on tracks
196  auto itTrack = tracks->begin();
197  for (unsigned int i = 0; i < tsize; ++i) {
198  float deltaR2 = reco::deltaR2(itJet->eta(), itJet->phi(), teta[i], tphi[i]);
199  if (deltaR2 < 0.25) {
200  reco::TransientTrack transientTrack = builder->build(*itTrack);
201  float jetTrackDistance = -((IPTools::jetTrackDistance(transientTrack, direction, *pv)).second).value();
202 
203  //select the tracks compabible with the jet
204  if ((itTrack->pt() > m_MinTrackPt) && (itTrack->normalizedChi2() < m_MaxTrackChi2) &&
206  trMomentum += itTrack->momentum(); //calculate the Sum(trackPt)
207  }
208  }
209  itTrack++;
210  }
211  //if Sum(comp.trackPt)/CaloJetPt > minPtRatio or Sum(trackPt) > minPt the jet is a signal jet
212  if (trMomentum.rho() / jetMomentum.rho() > m_MinGoodJetTrackPtRatio || trMomentum.rho() > m_MinGoodJetTrackPt) {
213  pOut->push_back(*itJet); // fill it as signal jet
214  } else //else it is a PUjet
215  {
216  pOut_PUjets->push_back(*itJet); // fill it as PUjets
217  }
218  }
219  RefToBase<reco::Jet> jRef(generaljets, itJet - jets->begin());
220  (*pOut_jetTagCollection)[jRef] = trMomentum.rho(); // fill jetTagCollection
221  }
222  }
223  iEvent.put(std::move(pOut));
224  iEvent.put(std::move(pOut_PUjets), "PUjets");
225  iEvent.put(std::move(pOut_jetTagCollection));
226 }

References reco::deltaR2(), HLTMuonOfflineAnalyzer_cfi::deltaR2, generaljetsToken, edm::EventSetup::getHandle(), mps_fire::i, iEvent, singleTopDQM_cfi::jets, jetsToken, IPTools::jetTrackDistance(), findQualityFiles::jj, m_fwjets, m_MaxTrackChi2, m_MaxTrackDistanceToJet, m_minet_fwjets, m_mineta_fwjets, m_MinGoodJetTrackPt, m_MinGoodJetTrackPtRatio, m_MinTrackPt, edm::makeRefToBaseProdFrom(), eostools::move(), L1TrackObjectNtupleMaker_cfg::pOut, BeamMonitor_cff::primaryVertex, primaryVertexToken, edm::Handle< T >::product(), MetAnalyzer::pv(), edm::second(), tracks, tracksToken, and transientTrackRecordToken_.

Member Data Documentation

◆ generaljetsToken

edm::EDGetTokenT<edm::View<reco::Jet> > PixelJetPuId::generaljetsToken
private

Definition at line 73 of file PixelJetPuId.cc.

Referenced by PixelJetPuId(), and produce().

◆ jetsToken

edm::EDGetTokenT<edm::View<reco::CaloJet> > PixelJetPuId::jetsToken
private

Definition at line 72 of file PixelJetPuId.cc.

Referenced by PixelJetPuId(), and produce().

◆ m_fwjets

bool PixelJetPuId::m_fwjets
private

Definition at line 80 of file PixelJetPuId.cc.

Referenced by PixelJetPuId(), and produce().

◆ m_jets

edm::InputTag PixelJetPuId::m_jets
private

Definition at line 70 of file PixelJetPuId.cc.

Referenced by PixelJetPuId().

◆ m_MaxTrackChi2

double PixelJetPuId::m_MaxTrackChi2
private

Definition at line 77 of file PixelJetPuId.cc.

Referenced by PixelJetPuId(), and produce().

◆ m_MaxTrackDistanceToJet

double PixelJetPuId::m_MaxTrackDistanceToJet
private

Definition at line 78 of file PixelJetPuId.cc.

Referenced by PixelJetPuId(), and produce().

◆ m_minet_fwjets

double PixelJetPuId::m_minet_fwjets
private

Definition at line 82 of file PixelJetPuId.cc.

Referenced by PixelJetPuId(), and produce().

◆ m_mineta_fwjets

double PixelJetPuId::m_mineta_fwjets
private

Definition at line 81 of file PixelJetPuId.cc.

Referenced by PixelJetPuId(), and produce().

◆ m_MinGoodJetTrackPt

double PixelJetPuId::m_MinGoodJetTrackPt
private

Definition at line 84 of file PixelJetPuId.cc.

Referenced by PixelJetPuId(), and produce().

◆ m_MinGoodJetTrackPtRatio

double PixelJetPuId::m_MinGoodJetTrackPtRatio
private

Definition at line 85 of file PixelJetPuId.cc.

Referenced by PixelJetPuId(), and produce().

◆ m_MinTrackPt

double PixelJetPuId::m_MinTrackPt
private

Definition at line 76 of file PixelJetPuId.cc.

Referenced by PixelJetPuId(), and produce().

◆ m_primaryVertex

edm::InputTag PixelJetPuId::m_primaryVertex
private

Definition at line 68 of file PixelJetPuId.cc.

Referenced by PixelJetPuId().

◆ m_tracks

edm::InputTag PixelJetPuId::m_tracks
private

Definition at line 69 of file PixelJetPuId.cc.

Referenced by PixelJetPuId().

◆ primaryVertexToken

edm::EDGetTokenT<reco::VertexCollection> PixelJetPuId::primaryVertexToken
private

Definition at line 74 of file PixelJetPuId.cc.

Referenced by PixelJetPuId(), and produce().

◆ tracksToken

edm::EDGetTokenT<std::vector<reco::Track> > PixelJetPuId::tracksToken
private

Definition at line 71 of file PixelJetPuId.cc.

Referenced by PixelJetPuId(), and produce().

◆ transientTrackRecordToken_

const edm::ESGetToken<TransientTrackBuilder, TransientTrackRecord> PixelJetPuId::transientTrackRecordToken_
private

Definition at line 66 of file PixelJetPuId.cc.

Referenced by produce().

Vector3DBase
Definition: Vector3DBase.h:8
PixelJetPuId::primaryVertexToken
edm::EDGetTokenT< reco::VertexCollection > primaryVertexToken
Definition: PixelJetPuId.cc:74
mps_fire.i
i
Definition: mps_fire.py:428
edm::ESInputTag
Definition: ESInputTag.h:87
PixelJetPuId::m_jets
edm::InputTag m_jets
Definition: PixelJetPuId.cc:70
edm::Handle::product
T const * product() const
Definition: Handle.h:70
edm
HLT enums.
Definition: AlignableModifier.h:19
PixelJetPuId::m_MaxTrackChi2
double m_MaxTrackChi2
Definition: PixelJetPuId.cc:77
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89301
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
L1TrackObjectNtupleMaker_cfg.pOut
pOut
Definition: L1TrackObjectNtupleMaker_cfg.py:172
edm::second
U second(std::pair< T, U > const &p)
Definition: ParameterSet.cc:222
singleTopDQM_cfi.jets
jets
Definition: singleTopDQM_cfi.py:42
edm::Handle
Definition: AssociativeIterator.h:50
BeamMonitor_cff.primaryVertex
primaryVertex
hltOfflineBeamSpot for HLTMON
Definition: BeamMonitor_cff.py:7
PixelJetPuId::transientTrackRecordToken_
const edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord > transientTrackRecordToken_
Definition: PixelJetPuId.cc:66
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
PixelJetPuId::m_MaxTrackDistanceToJet
double m_MaxTrackDistanceToJet
Definition: PixelJetPuId.cc:78
IPTools::jetTrackDistance
std::pair< double, Measurement1D > jetTrackDistance(const reco::TransientTrack &track, const GlobalVector &direction, const reco::Vertex &vertex)
Definition: IPTools.cc:206
edm::AssociationVector
Definition: AssociationVector.h:67
PixelJetPuId::m_minet_fwjets
double m_minet_fwjets
Definition: PixelJetPuId.cc:82
PixelJetPuId::m_MinGoodJetTrackPt
double m_MinGoodJetTrackPt
Definition: PixelJetPuId.cc:84
edm::makeRefToBaseProdFrom
RefToBaseProd< T > makeRefToBaseProdFrom(RefToBase< T > const &iRef, Event const &iEvent)
Definition: makeRefToBaseProdFrom.h:34
tracks
const uint32_t *__restrict__ const HitContainer *__restrict__ TkSoA *__restrict__ tracks
Definition: CAHitNtupletGeneratorKernelsImpl.h:176
reco::deltaR2
constexpr auto deltaR2(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
Definition: deltaR.h:16
math::XYZVector
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition: Vector3D.h:31
PixelJetPuId::m_tracks
edm::InputTag m_tracks
Definition: PixelJetPuId.cc:69
MetAnalyzer.pv
def pv(vc)
Definition: MetAnalyzer.py:7
iEvent
int iEvent
Definition: GenABIO.cc:224
edm::EventSetup::getHandle
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Definition: EventSetup.h:155
PixelJetPuId::jetsToken
edm::EDGetTokenT< edm::View< reco::CaloJet > > jetsToken
Definition: PixelJetPuId.cc:72
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
eostools.move
def move(src, dest)
Definition: eostools.py:511
PixelJetPuId::m_MinTrackPt
double m_MinTrackPt
Definition: PixelJetPuId.cc:76
reco::TransientTrack
Definition: TransientTrack.h:19
HLTMuonOfflineAnalyzer_cfi.deltaR2
deltaR2
Definition: HLTMuonOfflineAnalyzer_cfi.py:105
PixelJetPuId::m_mineta_fwjets
double m_mineta_fwjets
Definition: PixelJetPuId.cc:81
PixelJetPuId::tracksToken
edm::EDGetTokenT< std::vector< reco::Track > > tracksToken
Definition: PixelJetPuId.cc:71
PixelJetPuId::generaljetsToken
edm::EDGetTokenT< edm::View< reco::Jet > > generaljetsToken
Definition: PixelJetPuId.cc:73
findQualityFiles.jj
string jj
Definition: findQualityFiles.py:188
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
edm::RefToBase< reco::Jet >
edm::View::const_iterator
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
Definition: View.h:86
edm::EDConsumerBase::esConsumes
auto esConsumes()
Definition: EDConsumerBase.h:206
PixelJetPuId::m_primaryVertex
edm::InputTag m_primaryVertex
Definition: PixelJetPuId.cc:68
PixelJetPuId::m_fwjets
bool m_fwjets
Definition: PixelJetPuId.cc:80
PixelJetPuId::m_MinGoodJetTrackPtRatio
double m_MinGoodJetTrackPtRatio
Definition: PixelJetPuId.cc:85
edm::InputTag
Definition: InputTag.h:15
reco::Vertex
Definition: Vertex.h:35