CMS 3D CMS Logo

List of all members | Public Member Functions | Private Types | Private Member Functions | Private Attributes
HLTTauRefProducer Class Reference

#include <HLTTauRefProducer.h>

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

Public Member Functions

 HLTTauRefProducer (const edm::ParameterSet &)
 
void produce (edm::StreamID, edm::Event &, edm::EventSetup const &) const override
 
- Public Member Functions inherited from edm::global::EDProducer<>
 EDProducer ()=default
 
- Public Member Functions inherited from edm::global::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducerBase ()
 
- 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 ()
 
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, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel)
 
virtual ~ProducerBase () noexcept(false)
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
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 & itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Types

using LorentzVector = math::XYZTLorentzVectorD
 
using LorentzVectorCollection = std::vector< LorentzVector >
 

Private Member Functions

void doElectrons (edm::Event &) const
 
void doJets (edm::Event &) const
 
void doMET (edm::Event &) const
 
void doMuons (edm::Event &) const
 
void doPFTaus (edm::Event &) const
 
void doPhotons (edm::Event &) const
 
void doTowers (edm::Event &) const
 

Private Attributes

bool doElecFromZ_
 
bool doElectrons_
 
bool doJets_
 
bool doMET_
 
bool doMuons_
 
bool doPFTaus_
 
bool doPhotons_
 
bool doTowers_
 
edm::EDGetTokenT< reco::TrackCollectione_ctfTrackCollection_
 
edm::InputTag e_ctfTrackCollectionSrc_
 
bool e_doID_
 
bool e_doTrackIso_
 
double e_FromZet_
 
edm::EDGetTokenT< reco::ElectronIDAssociationCollectione_idAssocProd_
 
double e_isoMaxSumPt_
 
double e_lipCut_
 
double e_maxIsoDR_
 
double e_minIsoDR_
 
double e_trackMinPt_
 
double e_zMmax_
 
double e_zMmin_
 
edm::EDGetTokenT< reco::GsfElectronCollectionElectrons_
 
double etaMax_
 
edm::EDGetTokenT< reco::CaloJetCollectionJets_
 
edm::EDGetTokenT< reco::CaloMETCollectionMET_
 
edm::EDGetTokenT< reco::MuonCollectionMuons_
 
std::vector< edm::EDGetTokenT< reco::PFTauDiscriminator > > PFTauDis_
 
edm::EDGetTokenT< reco::PFTauCollectionPFTaus_
 
double photonEcalIso_
 
edm::EDGetTokenT< reco::PhotonCollectionPhotons_
 
double ptMinElectron_
 
double ptMinJet_
 
double ptMinMET_
 
double ptMinMuon_
 
double ptMinPFTau_
 
double ptMinPhoton_
 
double ptMinTower_
 
double towerIsol_
 
edm::EDGetTokenT< CaloTowerCollectionTowers_
 

Additional Inherited Members

- Public Types inherited from edm::global::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::global::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
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 ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

Definition at line 52 of file HLTTauRefProducer.h.

Member Typedef Documentation

Definition at line 61 of file HLTTauRefProducer.h.

Definition at line 62 of file HLTTauRefProducer.h.

Constructor & Destructor Documentation

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

Definition at line 32 of file HLTTauRefProducer.cc.

References genericTrackCleaner_cfi::electrons, edm::ParameterSet::getUntrackedParameter(), fwrapper::jets, RazorAnalyzer::met, electronCleaner_cfi::muons, jetCleaner_cfi::photons, and GlobalPosition_Frontier_DevDB_cff::tag.

33 {
34  //One Parameter Set per Collection
35  {
36  auto const& pfTau = iConfig.getUntrackedParameter<edm::ParameterSet>("PFTaus");
37  PFTaus_ = consumes<reco::PFTauCollection>(pfTau.getUntrackedParameter<InputTag>("PFTauProducer"));
38  auto discs = pfTau.getUntrackedParameter<vector<InputTag>>("PFTauDiscriminators");
39  for (edm::InputTag& tag: discs) {
40  PFTauDis_.push_back(consumes<reco::PFTauDiscriminator>(tag));
41  }
42  doPFTaus_ = pfTau.getUntrackedParameter<bool>("doPFTaus",false);
43  ptMinPFTau_= pfTau.getUntrackedParameter<double>("ptMin",15.);
44  }
45 
46  {
47  auto const& electrons = iConfig.getUntrackedParameter<edm::ParameterSet>("Electrons");
48  Electrons_ = consumes<reco::GsfElectronCollection>(electrons.getUntrackedParameter<InputTag>("ElectronCollection"));
49  doElectrons_ = electrons.getUntrackedParameter<bool>("doElectrons",false);
50  e_doID_ = electrons.getUntrackedParameter<bool>("doID",false);
51  if(e_doID_) {
52  e_idAssocProd_ = consumes<reco::ElectronIDAssociationCollection>(electrons.getUntrackedParameter<InputTag>("IdCollection"));
53  }
54  e_ctfTrackCollectionSrc_ = electrons.getUntrackedParameter<InputTag>("TrackCollection");
55  e_ctfTrackCollection_ = consumes<reco::TrackCollection>(e_ctfTrackCollectionSrc_);
56  ptMinElectron_= electrons.getUntrackedParameter<double>("ptMin",15.);
57  e_doTrackIso_ = electrons.getUntrackedParameter<bool>("doTrackIso",false);
58  e_trackMinPt_= electrons.getUntrackedParameter<double>("ptMinTrack",1.5);
59  e_lipCut_= electrons.getUntrackedParameter<double>("lipMinTrack",1.5);
60  e_minIsoDR_= electrons.getUntrackedParameter<double>("InnerConeDR",0.02);
61  e_maxIsoDR_= electrons.getUntrackedParameter<double>("OuterConeDR",0.6);
62  e_isoMaxSumPt_= electrons.getUntrackedParameter<double>("MaxIsoVar",0.02);
63  }
64 
65  {
66  auto const& muons = iConfig.getUntrackedParameter<edm::ParameterSet>("Muons");
67  Muons_ = consumes<reco::MuonCollection>(muons.getUntrackedParameter<InputTag>("MuonCollection"));
68  doMuons_ = muons.getUntrackedParameter<bool>("doMuons",false);
69  ptMinMuon_= muons.getUntrackedParameter<double>("ptMin",15.);
70  }
71 
72  {
73  auto const& jets = iConfig.getUntrackedParameter<edm::ParameterSet>("Jets");
74  Jets_ = consumes<reco::CaloJetCollection>(jets.getUntrackedParameter<InputTag>("JetCollection"));
75  doJets_ = jets.getUntrackedParameter<bool>("doJets");
76  ptMinJet_= jets.getUntrackedParameter<double>("etMin");
77  }
78 
79  {
80  auto const& towers = iConfig.getUntrackedParameter<edm::ParameterSet>("Towers");
81  Towers_ = consumes<CaloTowerCollection>(towers.getUntrackedParameter<InputTag>("TowerCollection"));
82  doTowers_ = towers.getUntrackedParameter<bool>("doTowers");
83  ptMinTower_= towers.getUntrackedParameter<double>("etMin");
84  towerIsol_= towers.getUntrackedParameter<double>("towerIsolation");
85  }
86 
87  {
88  auto const& photons = iConfig.getUntrackedParameter<edm::ParameterSet>("Photons");
89  Photons_ = consumes<reco::PhotonCollection>(photons.getUntrackedParameter<InputTag>("PhotonCollection"));
90  doPhotons_ = photons.getUntrackedParameter<bool>("doPhotons");
91  ptMinPhoton_= photons.getUntrackedParameter<double>("etMin");
92  photonEcalIso_= photons.getUntrackedParameter<double>("ECALIso");
93  }
94 
95  {
96  auto const& met = iConfig.getUntrackedParameter<edm::ParameterSet>("MET");
97  MET_ = consumes<reco::CaloMETCollection>(met.getUntrackedParameter<InputTag>("METCollection"));
98  doMET_ = met.getUntrackedParameter<bool>("doMET",false);
99  ptMinMET_= met.getUntrackedParameter<double>("ptMin",15.);
100  }
101 
102  etaMax_ = iConfig.getUntrackedParameter<double>("EtaMax",2.5);
103 
104  //recoCollections
105  produces<LorentzVectorCollection>("PFTaus");
106  produces<LorentzVectorCollection>("Electrons");
107  produces<LorentzVectorCollection>("Muons");
108  produces<LorentzVectorCollection>("Jets");
109  produces<LorentzVectorCollection>("Photons");
110  produces<LorentzVectorCollection>("Towers");
111  produces<LorentzVectorCollection>("MET");
112 
113 }
T getUntrackedParameter(std::string const &, T const &) const
edm::EDGetTokenT< reco::MuonCollection > Muons_
edm::EDGetTokenT< reco::CaloMETCollection > MET_
edm::EDGetTokenT< reco::GsfElectronCollection > Electrons_
edm::EDGetTokenT< reco::TrackCollection > e_ctfTrackCollection_
vector< PseudoJet > jets
edm::EDGetTokenT< CaloTowerCollection > Towers_
edm::EDGetTokenT< reco::PhotonCollection > Photons_
edm::EDGetTokenT< reco::PFTauCollection > PFTaus_
edm::EDGetTokenT< reco::ElectronIDAssociationCollection > e_idAssocProd_
std::vector< edm::EDGetTokenT< reco::PFTauDiscriminator > > PFTauDis_
edm::InputTag e_ctfTrackCollectionSrc_
met
===> hadronic RAZOR
edm::EDGetTokenT< reco::CaloJetCollection > Jets_

Member Function Documentation

void HLTTauRefProducer::doElectrons ( edm::Event iEvent) const
private

Definition at line 169 of file HLTTauRefProducer.cc.

References edm::AssociationMap< edm::OneToOne< GsfElectronCollection, ElectronIDCollection > >::const_iterator, metsig::electron, genericTrackCleaner_cfi::electrons, edm::Event::getByToken(), i, xuti::id_tag(), btvTracks_cfi::lip, eostools::move(), edm::Event::put(), and mathSSE::sqrt().

170 {
171  auto product_Electrons = make_unique<LorentzVectorCollection>();
172 
174  bool doID {e_doID_};
175  if (doID) {//UGLY HACK UNTIL GET ELETRON ID WORKING IN 210
176  if (!iEvent.getByToken(e_idAssocProd_, pEleID)) {
177  edm::LogInfo("") << "Error! Can't get electronIDAssocProducer by label. ";
178  doID = false;
179  }
180  }
181 
183  if (!iEvent.getByToken(e_ctfTrackCollection_, pCtfTracks)) {
184  edm::LogInfo("") << "Error! Can't get " << e_ctfTrackCollectionSrc_.label() << " by label. ";
185  iEvent.put(move(product_Electrons),"Electrons");
186  return;
187  }
188 
190  if (iEvent.getByToken(Electrons_,electrons)) {
191  for (size_t i=0 ; i<electrons->size(); ++i) {
192  edm::Ref<reco::GsfElectronCollection> electronRef (electrons,i);
193  bool idDec {false};
194  if (doID) {
196  tagIDAssocItr = pEleID->find(electronRef);
197  const reco::ElectronIDRef& id_tag = tagIDAssocItr->val;
198  idDec=id_tag->cutBasedDecision();
199  }
200  else {
201  idDec=true;
202  }
203  auto const& electron = (*electrons)[i];
204  if (electron.pt()>ptMinElectron_&&fabs(electron.eta())<etaMax_&&idDec) {
205  if (e_doTrackIso_) {
206  double sum_of_pt_ele {};
207  for (auto const& tr : *pCtfTracks) {
208  double const lip {electron.gsfTrack()->dz() - tr.dz()};
209  if (tr.pt() > e_trackMinPt_ && fabs(lip) < e_lipCut_) {
210  double dphi {fabs(tr.phi()-electron.trackMomentumAtVtx().phi())};
211  if (dphi>acos(-1.)) {
212  dphi=2*acos(-1.)-dphi;
213  }
214  double const deta {fabs(tr.eta()-electron.trackMomentumAtVtx().eta())};
215  double const dr_ctf_ele {sqrt(deta*deta+dphi*dphi)};
216  if((dr_ctf_ele>e_minIsoDR_) && (dr_ctf_ele<e_maxIsoDR_)){
217  double const cft_pt_2 {tr.pt()*tr.pt()};
218  sum_of_pt_ele += cft_pt_2;
219  }
220  }
221  }
222  double const isolation_value_ele {sum_of_pt_ele/(electron.trackMomentumAtVtx().Rho()*electron.trackMomentumAtVtx().Rho())};
223  if (isolation_value_ele<e_isoMaxSumPt_) {
224  product_Electrons->emplace_back(electron.px(),electron.py(),electron.pz(),electron.energy());
225  }
226  }
227  else {
228  product_Electrons->emplace_back(electron.px(),electron.py(),electron.pz(),electron.energy());
229  }
230  }
231  }
232  }
233  iEvent.put(move(product_Electrons),"Electrons");
234 }
int i
Definition: DBlmapReader.cc:9
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:122
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:457
const std::string id_tag("id")
edm::EDGetTokenT< reco::GsfElectronCollection > Electrons_
edm::EDGetTokenT< reco::TrackCollection > e_ctfTrackCollection_
T sqrt(T t)
Definition: SSEVec.h:18
edm::EDGetTokenT< reco::ElectronIDAssociationCollection > e_idAssocProd_
edm::InputTag e_ctfTrackCollectionSrc_
std::string const & label() const
Definition: InputTag.h:36
def move(src, dest)
Definition: eostools.py:510
void HLTTauRefProducer::doJets ( edm::Event iEvent) const
private

Definition at line 254 of file HLTTauRefProducer.cc.

References edm::Event::getByToken(), metsig::jet, fwrapper::jets, eostools::move(), and edm::Event::put().

255 {
256  auto product_Jets = make_unique<LorentzVectorCollection>();
257 
259  if (iEvent.getByToken(Jets_,jets)) {
260  for (auto const& jet : *jets) {
261  if (jet.et()>ptMinJet_ && fabs(jet.eta())<etaMax_) {
262  product_Jets->emplace_back(jet.px(),jet.py(),jet.pz(),jet.energy());
263  }
264  }
265  }
266  iEvent.put(move(product_Jets),"Jets");
267 }
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:122
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:457
vector< PseudoJet > jets
edm::EDGetTokenT< reco::CaloJetCollection > Jets_
def move(src, dest)
Definition: eostools.py:510
void HLTTauRefProducer::doMET ( edm::Event iEvent) const
private

Definition at line 314 of file HLTTauRefProducer.cc.

References edm::Event::getByToken(), RazorAnalyzer::met, eostools::move(), and edm::Event::put().

315 {
316  auto product_MET = make_unique<LorentzVectorCollection>();
317 
319  if(iEvent.getByToken(MET_,met) && !met->empty()){
320  auto const& metMom = met->front().p4();
321  product_MET->emplace_back(metMom.Px(), metMom.Py(), 0, metMom.Pt());
322  }
323  iEvent.put(move(product_MET),"MET");
324 }
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:122
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:457
edm::EDGetTokenT< reco::CaloMETCollection > MET_
met
===> hadronic RAZOR
def move(src, dest)
Definition: eostools.py:510
void HLTTauRefProducer::doMuons ( edm::Event iEvent) const
private

Definition at line 237 of file HLTTauRefProducer.cc.

References edm::Event::getByToken(), eostools::move(), electronCleaner_cfi::muons, and edm::Event::put().

238 {
239  auto product_Muons = make_unique<LorentzVectorCollection>();
240 
242  if (iEvent.getByToken(Muons_,muons)) {
243  for (auto const& muon : *muons) {
244  if (muon.pt()>ptMinMuon_ && fabs(muon.eta())<etaMax_) {
245  product_Muons->emplace_back(muon.px(),muon.py(),muon.pz(),muon.energy());
246  }
247  }
248  }
249  iEvent.put(move(product_Muons),"Muons");
250 }
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:122
edm::EDGetTokenT< reco::MuonCollection > Muons_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:457
def move(src, dest)
Definition: eostools.py:510
void HLTTauRefProducer::doPFTaus ( edm::Event iEvent) const
private

Definition at line 134 of file HLTTauRefProducer.cc.

References edm::Event::getByToken(), i, eostools::move(), and edm::Event::put().

135 {
136  auto product_PFTaus = make_unique<LorentzVectorCollection>();
137 
139  if (iEvent.getByToken(PFTaus_,pftaus)) {
140  for (unsigned int i=0; i<pftaus->size(); ++i) {
141  auto const& pftau = (*pftaus)[i];
142  if (pftau.pt()>ptMinPFTau_&&fabs(pftau.eta())<etaMax_) {
143  reco::PFTauRef thePFTau {pftaus,i};
144  bool passAll {true};
147  if (iEvent.getByToken(token, pftaudis)) {
148  if ((*pftaudis)[thePFTau] < 0.5) {
149  passAll = false;
150  break;
151  }
152  }
153  else{
154  passAll = false;
155  break;
156  }
157  }
158  if (passAll) {
159  product_PFTaus->emplace_back(pftau.px(), pftau.py(), pftau.pz(), pftau.energy());
160  }
161  }
162  }
163  }
164  iEvent.put(move(product_PFTaus),"PFTaus");
165 }
int i
Definition: DBlmapReader.cc:9
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:122
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:457
edm::EDGetTokenT< reco::PFTauCollection > PFTaus_
std::vector< edm::EDGetTokenT< reco::PFTauDiscriminator > > PFTauDis_
def move(src, dest)
Definition: eostools.py:510
void HLTTauRefProducer::doPhotons ( edm::Event iEvent) const
private

Definition at line 297 of file HLTTauRefProducer.cc.

References edm::Event::getByToken(), eostools::move(), muons2muons_cfi::photon, jetCleaner_cfi::photons, and edm::Event::put().

298 {
299  auto product_Gammas = make_unique<LorentzVectorCollection>();
300 
302  if (iEvent.getByToken(Photons_,photons)) {
303  for (auto const& photon : *photons) {
304  if (photon.ecalRecHitSumEtConeDR04()<photonEcalIso_ &&
305  photon.et()>ptMinPhoton_ && fabs(photon.eta())<etaMax_) {
306  product_Gammas->emplace_back(photon.px(),photon.py(),photon.pz(),photon.energy());
307  }
308  }
309  }
310  iEvent.put(move(product_Gammas),"Photons");
311 }
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:122
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:457
edm::EDGetTokenT< reco::PhotonCollection > Photons_
def move(src, dest)
Definition: eostools.py:510
void HLTTauRefProducer::doTowers ( edm::Event iEvent) const
private

Definition at line 270 of file HLTTauRefProducer.cc.

References HiRegitMuonDetachedTripletStep_cff::DeltaR, edm::Event::getByToken(), eostools::move(), and edm::Event::put().

271 {
272  auto product_Towers = make_unique<LorentzVectorCollection>();
273 
275  if (iEvent.getByToken(Towers_,towers)) {
276  for (auto const& tower1 : *towers) {
277  if (tower1.pt()>ptMinTower_ && fabs(tower1.eta())<etaMax_) {
278  //calculate isolation
279  double isolET {};
280  for (auto const& tower2 : *towers) {
281  if (ROOT::Math::VectorUtil::DeltaR(tower1.p4(),tower2.p4())<0.5) {
282  isolET+=tower2.pt();
283  }
284  isolET-=tower1.pt();
285  }
286  if (isolET<towerIsol_) {
287  product_Towers->emplace_back(tower1.px(),tower1.py(),tower1.pz(),tower1.energy());
288  }
289  }
290  }
291  }
292  iEvent.put(move(product_Towers),"Towers");
293 }
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:122
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:457
edm::EDGetTokenT< CaloTowerCollection > Towers_
def move(src, dest)
Definition: eostools.py:510
void HLTTauRefProducer::produce ( edm::StreamID  ,
edm::Event iEvent,
edm::EventSetup const &   
) const
overridevirtual

Implements edm::global::EDProducerBase.

Definition at line 115 of file HLTTauRefProducer.cc.

Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().

116 {
117  if(doPFTaus_)
118  doPFTaus(iEvent);
119  if(doElectrons_)
120  doElectrons(iEvent);
121  if(doMuons_)
122  doMuons(iEvent);
123  if(doJets_)
124  doJets(iEvent);
125  if(doPhotons_)
126  doPhotons(iEvent);
127  if(doTowers_)
128  doTowers(iEvent);
129  if(doMET_)
130  doMET(iEvent);
131 }
void doElectrons(edm::Event &) const
void doMET(edm::Event &) const
void doTowers(edm::Event &) const
void doPFTaus(edm::Event &) const
void doMuons(edm::Event &) const
void doJets(edm::Event &) const
void doPhotons(edm::Event &) const

Member Data Documentation

bool HLTTauRefProducer::doElecFromZ_
private

Definition at line 82 of file HLTTauRefProducer.h.

bool HLTTauRefProducer::doElectrons_
private

Definition at line 70 of file HLTTauRefProducer.h.

bool HLTTauRefProducer::doJets_
private

Definition at line 97 of file HLTTauRefProducer.h.

bool HLTTauRefProducer::doMET_
private

Definition at line 106 of file HLTTauRefProducer.h.

bool HLTTauRefProducer::doMuons_
private

Definition at line 93 of file HLTTauRefProducer.h.

bool HLTTauRefProducer::doPFTaus_
private

Definition at line 66 of file HLTTauRefProducer.h.

bool HLTTauRefProducer::doPhotons_
private

Definition at line 88 of file HLTTauRefProducer.h.

bool HLTTauRefProducer::doTowers_
private

Definition at line 101 of file HLTTauRefProducer.h.

edm::EDGetTokenT<reco::TrackCollection> HLTTauRefProducer::e_ctfTrackCollection_
private

Definition at line 72 of file HLTTauRefProducer.h.

edm::InputTag HLTTauRefProducer::e_ctfTrackCollectionSrc_
private

Definition at line 73 of file HLTTauRefProducer.h.

bool HLTTauRefProducer::e_doID_
private

Definition at line 75 of file HLTTauRefProducer.h.

bool HLTTauRefProducer::e_doTrackIso_
private

Definition at line 76 of file HLTTauRefProducer.h.

double HLTTauRefProducer::e_FromZet_
private

Definition at line 85 of file HLTTauRefProducer.h.

edm::EDGetTokenT<reco::ElectronIDAssociationCollection> HLTTauRefProducer::e_idAssocProd_
private

Definition at line 71 of file HLTTauRefProducer.h.

double HLTTauRefProducer::e_isoMaxSumPt_
private

Definition at line 81 of file HLTTauRefProducer.h.

double HLTTauRefProducer::e_lipCut_
private

Definition at line 78 of file HLTTauRefProducer.h.

double HLTTauRefProducer::e_maxIsoDR_
private

Definition at line 80 of file HLTTauRefProducer.h.

double HLTTauRefProducer::e_minIsoDR_
private

Definition at line 79 of file HLTTauRefProducer.h.

double HLTTauRefProducer::e_trackMinPt_
private

Definition at line 77 of file HLTTauRefProducer.h.

double HLTTauRefProducer::e_zMmax_
private

Definition at line 84 of file HLTTauRefProducer.h.

double HLTTauRefProducer::e_zMmin_
private

Definition at line 83 of file HLTTauRefProducer.h.

edm::EDGetTokenT<reco::GsfElectronCollection> HLTTauRefProducer::Electrons_
private

Definition at line 69 of file HLTTauRefProducer.h.

double HLTTauRefProducer::etaMax_
private

Definition at line 109 of file HLTTauRefProducer.h.

edm::EDGetTokenT<reco::CaloJetCollection> HLTTauRefProducer::Jets_
private

Definition at line 96 of file HLTTauRefProducer.h.

edm::EDGetTokenT<reco::CaloMETCollection> HLTTauRefProducer::MET_
private

Definition at line 105 of file HLTTauRefProducer.h.

edm::EDGetTokenT<reco::MuonCollection> HLTTauRefProducer::Muons_
private

Definition at line 92 of file HLTTauRefProducer.h.

std::vector<edm::EDGetTokenT<reco::PFTauDiscriminator> > HLTTauRefProducer::PFTauDis_
private

Definition at line 65 of file HLTTauRefProducer.h.

edm::EDGetTokenT<reco::PFTauCollection> HLTTauRefProducer::PFTaus_
private

Definition at line 64 of file HLTTauRefProducer.h.

double HLTTauRefProducer::photonEcalIso_
private

Definition at line 89 of file HLTTauRefProducer.h.

edm::EDGetTokenT<reco::PhotonCollection> HLTTauRefProducer::Photons_
private

Definition at line 87 of file HLTTauRefProducer.h.

double HLTTauRefProducer::ptMinElectron_
private

Definition at line 74 of file HLTTauRefProducer.h.

double HLTTauRefProducer::ptMinJet_
private

Definition at line 98 of file HLTTauRefProducer.h.

double HLTTauRefProducer::ptMinMET_
private

Definition at line 107 of file HLTTauRefProducer.h.

double HLTTauRefProducer::ptMinMuon_
private

Definition at line 94 of file HLTTauRefProducer.h.

double HLTTauRefProducer::ptMinPFTau_
private

Definition at line 67 of file HLTTauRefProducer.h.

double HLTTauRefProducer::ptMinPhoton_
private

Definition at line 90 of file HLTTauRefProducer.h.

double HLTTauRefProducer::ptMinTower_
private

Definition at line 102 of file HLTTauRefProducer.h.

double HLTTauRefProducer::towerIsol_
private

Definition at line 103 of file HLTTauRefProducer.h.

edm::EDGetTokenT<CaloTowerCollection> HLTTauRefProducer::Towers_
private

Definition at line 100 of file HLTTauRefProducer.h.