CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
PatTauAnalyzer Class Reference
Inheritance diagram for PatTauAnalyzer:
edm::one::EDAnalyzer< edm::one::SharedResources > edm::one::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void beginJob () override
 
void endJob () override
 
 PatTauAnalyzer (const edm::ParameterSet &)
 
 ~PatTauAnalyzer () override
 
- Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::SharedResources >
 EDAnalyzer ()=default
 
 EDAnalyzer (const EDAnalyzer &)=delete
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
const EDAnalyzeroperator= (const EDAnalyzer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDAnalyzerBase () 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 const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESResolverIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESResolverIndex > 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
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, 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::ESRecordsToProductResolverIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Attributes

std::string discrByIso_
 
std::string discrByLeadTrack_
 
std::string discrByTaNC_
 
TH1 * hGenTauEnergy_
 
TH1 * hGenTauEta_
 
TH1 * hGenTauPhi_
 
TH1 * hGenTauPt_
 
TH1 * hNumTauJets_
 
TH1 * hTauDiscrAgainstElectrons_
 
TH1 * hTauDiscrAgainstMuons_
 
TH1 * hTauDiscrByIso_
 
TH1 * hTauDiscrByTaNC_
 
TH1 * hTauJetEnergy_
 
TH1 * hTauJetEnergyIsoPassed_
 
TH1 * hTauJetEnergyTaNCpassed_
 
TH1 * hTauJetEta_
 
TH1 * hTauJetEtaIsoPassed_
 
TH1 * hTauJetEtaTaNCpassed_
 
TH1 * hTauJetPhi_
 
TH1 * hTauJetPhiIsoPassed_
 
TH1 * hTauJetPhiTaNCpassed_
 
TH1 * hTauJetPt_
 
TH1 * hTauJetPtIsoPassed_
 
TH1 * hTauJetPtTaNCpassed_
 
TH1 * hTauLeadTrackPt_
 
TH1 * hTauNumIsoConeTracks_
 
TH1 * hTauNumSigConeTracks_
 
bool requireGenTauMatch_
 
edm::InputTag src_
 
edm::EDGetTokenT< pat::TauCollectionsrcToken_
 

Additional Inherited Members

- Public Types inherited from edm::one::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::one::EDAnalyzerBase
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)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< Bconsumes (edm::InputTag tag) noexcept
 
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes ()
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag)
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
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)
 
void resetItemsToGetFrom (BranchType iType)
 

Detailed Description

Definition at line 17 of file PatTauAnalyzer.cc.

Constructor & Destructor Documentation

◆ PatTauAnalyzer()

PatTauAnalyzer::PatTauAnalyzer ( const edm::ParameterSet cfg)
explicit

Definition at line 88 of file PatTauAnalyzer.cc.

References looper::cfg, discrByIso_, discrByLeadTrack_, discrByTaNC_, TFileService::kSharedResource, requireGenTauMatch_, src_, srcToken_, and AlCaHLTBitMon_QueryRunRegistry::string.

88  {
89  //std::cout << "<PatTauAnalyzer::PatTauAnalyzer>:" << std::endl;
90  usesResource(TFileService::kSharedResource);
91 
92  //--- read name of pat::Tau collection
93  src_ = cfg.getParameter<edm::InputTag>("src");
94  //std::cout << " src = " << src_ << std::endl;
95  srcToken_ = consumes<pat::TauCollection>(src_);
96 
97  //--- fill histograms for all tau-jet candidates or for "real" taus only ?
98  requireGenTauMatch_ = cfg.getParameter<bool>("requireGenTauMatch");
99  //std::cout << " requireGenTauMatch = " << requireGenTauMatch_ << std::endl;
100 
101  //--- read names of tau id. discriminators
102  discrByLeadTrack_ = cfg.getParameter<std::string>("discrByLeadTrack");
103  //std::cout << " discrByLeadTrack = " << discrByLeadTrack_ << std::endl;
104 
105  discrByIso_ = cfg.getParameter<std::string>("discrByIso");
106  //std::cout << " discrByIso = " << discrByIso_ << std::endl;
107 
108  discrByTaNC_ = cfg.getParameter<std::string>("discrByTaNC");
109  //std::cout << " discrByTaNC = " << discrByTaNC_ << std::endl;
110 }
static const std::string kSharedResource
Definition: TFileService.h:76
std::string discrByLeadTrack_
std::string discrByIso_
edm::InputTag src_
std::string discrByTaNC_
edm::EDGetTokenT< pat::TauCollection > srcToken_

◆ ~PatTauAnalyzer()

PatTauAnalyzer::~PatTauAnalyzer ( )
override

Definition at line 112 of file PatTauAnalyzer.cc.

112  {
113  //std::cout << "<PatTauAnalyzer::~PatTauAnalyzer>:" << std::endl;
114 
115  //--- clean-up memory;
116  // delete all histograms
117  /*
118  deletion of histograms taken care of by TFileService;
119  do not delete them here (if the histograms are deleted here,
120  they will not appear in the ROOT file written by TFileService)
121 
122  delete hGenTauEnergy_;
123  delete hGenTauPt_;
124  delete hGenTauEta_;
125  delete hGenTauPhi_;
126  delete hTauJetEnergy_;
127  delete hTauJetPt_;
128  delete hTauJetEta_;
129  delete hTauJetPhi_;
130  delete hNumTauJets_;
131  delete hTauLeadTrackPt_;
132  delete hTauNumSigConeTracks_;
133  delete hTauNumIsoConeTracks_;
134  delete hTauDiscrByIso_;
135  delete hTauDiscrByTaNC_;
136  delete hTauDiscrAgainstElectrons_;
137  delete hTauDiscrAgainstMuons_;
138  delete hTauJetEnergyIsoPassed_;
139  delete hTauJetPtIsoPassed_;
140  delete hTauJetEtaIsoPassed_;
141  delete hTauJetPhiIsoPassed_;
142  delete hTauJetEnergyTaNCpassed_;
143  delete hTauJetPtTaNCpassed_;
144  delete hTauJetEtaTaNCpassed_;
145  delete hTauJetPhiTaNCpassed_;
146  */
147 }

Member Function Documentation

◆ analyze()

void PatTauAnalyzer::analyze ( const edm::Event evt,
const edm::EventSetup es 
)
overridevirtual

Implements edm::one::EDAnalyzerBase.

Definition at line 215 of file PatTauAnalyzer.cc.

References discrByIso_, discrByLeadTrack_, discrByTaNC_, reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), edm::Event::getByToken(), getGenTau(), hGenTauEnergy_, hGenTauEta_, hGenTauPhi_, hGenTauPt_, hNumTauJets_, hTauDiscrAgainstMuons_, hTauDiscrByIso_, hTauDiscrByTaNC_, hTauJetEnergy_, hTauJetEnergyIsoPassed_, hTauJetEnergyTaNCpassed_, hTauJetEtaIsoPassed_, hTauJetEtaTaNCpassed_, hTauJetPhiIsoPassed_, hTauJetPhiTaNCpassed_, hTauJetPt_, hTauJetPtIsoPassed_, hTauJetPtTaNCpassed_, hTauNumIsoConeTracks_, hTauNumSigConeTracks_, hemisphereProducer_cfi::patTaus, reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), requireGenTauMatch_, and srcToken_.

215  {
216  //std::cout << "<PatTauAnalyzer::analyze>:" << std::endl;
217 
220 
221  hNumTauJets_->Fill(patTaus->size());
222 
223  for (pat::TauCollection::const_iterator patTau = patTaus->begin(); patTau != patTaus->end(); ++patTau) {
224  //--- skip fake taus in case configuration parameters set to do so...
225  const reco::GenParticle* genTau = getGenTau(*patTau);
226  if (requireGenTauMatch_ && !genTau)
227  continue;
228 
229  //--- fill generator level histograms
230  if (genTau) {
231  hGenTauEnergy_->Fill(genTau->energy());
232  hGenTauPt_->Fill(genTau->pt());
233  hGenTauEta_->Fill(genTau->eta());
234  hGenTauPhi_->Fill(genTau->phi());
235  }
236 
237  //--- fill reconstruction level histograms
238  // for Pt of highest Pt track within signal cone tau-jet...
239  hTauJetEnergy_->Fill(patTau->energy());
240  hTauJetPt_->Fill(patTau->pt());
241  //
242  // TO-DO:
243  // 1.) fill histograms
244  // hTauJetEta_ and hTauJetPhi_
245  // with the pseudo-rapidity and azimuthal angle
246  // of the tau-jet candidate respectively
247  // hTauJetEta_->...
248  // hTauJetPhi_->...
249  //
250  // 2.) fill histogram
251  // hTauLeadTrackPt_
252  // with the transverse momentum of the highest Pt ("leading") track within the tau-jet
253  //
254  // NOTE:
255  // 1.) please have a look at
256  // http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/CMSSW/DataFormats/Candidate/interface/Particle.h?revision=1.28&view=markup
257  // to find the methods for accessing eta and phi of the tau-jet
258  //
259  // 2.) please have a look at
260  // http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/CMSSW/DataFormats/PatCandidates/interface/Tau.h?revision=1.25&view=markup
261  // to find the method for accessing the leading track
262  //
263  // 3.) the method pat::Tau::leadTrack returns a reference (reco::TrackRef) to a reco::Track object
264  // this reference can be null (in case no high Pt track has been reconstructed within the tau-jet),
265  // so a check if the leadTrack exists is needed before dereferencing the reco::TrackRef via operator->
266  //
267  // if ( patTau->leadTrack().isAvailable() ) hTauLeadTrackPt_->Fill(patTau->leadTrack()->pt());
268 
269  //... for total number of tracks within signal/isolation cones
270  hTauNumSigConeTracks_->Fill(patTau->signalTracks().size());
271  hTauNumIsoConeTracks_->Fill(patTau->isolationTracks().size());
272 
273  //... for values of tau id. discriminators based on track isolation cut/
274  // neural network-based tau id.
275  // (combine with requirement of at least one "leading" track of Pt > 5. GeV
276  // within the signal cone of the tau-jet)
277  float discrByIso = (patTau->tauID(discrByLeadTrack_.data()) > 0.5) ? patTau->tauID(discrByIso_.data()) : 0.;
278  hTauDiscrByIso_->Fill(discrByIso);
279  float discrByTaNC = (patTau->tauID(discrByLeadTrack_.data()) > 0.5) ? patTau->tauID(discrByTaNC_.data()) : 0.;
280  hTauDiscrByTaNC_->Fill(discrByTaNC);
281 
282  //... for values of tau id. discriminators against (unidentified) electrons and muons
283  //
284  // TO-DO: fill histogram
285  // hTauDiscrAgainstElectrons_
286  // with the value of the discriminatorAgainstElectronsLoose
287  //
288  // NOTE:
289  // 1.) please have a look at
290  // http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/CMSSW/DataFormats/PatCandidates/interface/Tau.h?revision=1.25&view=markup
291  // to find the method for accessing the tau id. information
292  //
293  // 2.) please have a look at
294  // http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/CMSSW/PhysicsTools/PatAlgos/python/tools/tauTools.py?revision=1.43&view=markup
295  // and convince yourself that the string "againstElectronLoose" needs to be passed as argument
296  // of the pat::Tau::tauID method
297  //
298  // hTauDiscrAgainstElectrons_->Fill...
299  hTauDiscrAgainstMuons_->Fill(patTau->tauID("againstMuonLoose"));
300 
301  //... for Energy, Pt, Eta, Phi of tau-jets passing the discriminatorByIsolation selection
302  if (discrByIso > 0.5) {
303  hTauJetEnergyIsoPassed_->Fill(patTau->energy());
304  hTauJetPtIsoPassed_->Fill(patTau->pt());
305  hTauJetEtaIsoPassed_->Fill(patTau->eta());
306  hTauJetPhiIsoPassed_->Fill(patTau->phi());
307  }
308 
309  //... for Energy, Pt, Eta, Phi of tau-jets passing the discriminatorByTaNC ("Tau Neural Classifier") selection
310  if (discrByTaNC > 0.5) {
311  hTauJetEnergyTaNCpassed_->Fill(patTau->energy());
312  hTauJetPtTaNCpassed_->Fill(patTau->pt());
313  hTauJetEtaTaNCpassed_->Fill(patTau->eta());
314  hTauJetPhiTaNCpassed_->Fill(patTau->phi());
315  }
316  }
317 }
TH1 * hTauDiscrAgainstMuons_
std::string discrByLeadTrack_
double pt() const final
transverse momentum
TH1 * hTauNumIsoConeTracks_
const reco::GenParticle * getGenTau(const pat::Tau &patTau)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:528
TH1 * hTauJetEnergyIsoPassed_
std::string discrByIso_
TH1 * hTauJetPtTaNCpassed_
TH1 * hTauJetEnergyTaNCpassed_
TH1 * hTauJetPtIsoPassed_
TH1 * hTauNumSigConeTracks_
std::string discrByTaNC_
TH1 * hTauJetPhiTaNCpassed_
edm::EDGetTokenT< pat::TauCollection > srcToken_
TH1 * hTauJetEtaIsoPassed_
TH1 * hTauJetPhiIsoPassed_
double phi() const final
momentum azimuthal angle
TH1 * hTauJetEtaTaNCpassed_
double energy() const final
energy
double eta() const final
momentum pseudorapidity

◆ beginJob()

void PatTauAnalyzer::beginJob ( void  )
overridevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 149 of file PatTauAnalyzer.cc.

References compareTotals::fs, hGenTauEnergy_, hGenTauEta_, hGenTauPhi_, hGenTauPt_, hNumTauJets_, hTauDiscrAgainstElectrons_, hTauDiscrAgainstMuons_, hTauDiscrByIso_, hTauDiscrByTaNC_, hTauJetEnergy_, hTauJetEnergyIsoPassed_, hTauJetEnergyTaNCpassed_, hTauJetEtaIsoPassed_, hTauJetEtaTaNCpassed_, hTauJetPhiIsoPassed_, hTauJetPhiTaNCpassed_, hTauJetPt_, hTauJetPtIsoPassed_, hTauJetPtTaNCpassed_, hTauLeadTrackPt_, hTauNumIsoConeTracks_, hTauNumSigConeTracks_, and Pi.

149  {
150  //--- retrieve handle to auxiliary service
151  // used for storing histograms into ROOT file
153 
154  //--- book generator level histograms
155  hGenTauEnergy_ = fs->make<TH1F>("GenTauEnergy", "GenTauEnergy", 30, 0., 150.);
156  hGenTauPt_ = fs->make<TH1F>("GenTauPt", "GenTauPt", 30, 0., 150.);
157  hGenTauEta_ = fs->make<TH1F>("GenTauEta", "GenTauEta", 24, -3., +3.);
158  hGenTauPhi_ = fs->make<TH1F>("GenTauPhi", "GenTauPhi", 18, -TMath::Pi(), +TMath::Pi());
159 
160  //--- book reconstruction level histograms
161  // for tau-jet Energy, Pt, Eta, Phi
162  hTauJetEnergy_ = fs->make<TH1F>("TauJetEnergy", "TauJetEnergy", 30, 0., 150.);
163  hTauJetPt_ = fs->make<TH1F>("TauJetPt", "TauJetPt", 30, 0., 150.);
164  //
165  // TO-DO: add histograms for eta and phi of the tau-jet candidate
166  //
167  // NOTE:
168  // 1.) please use
169  // "TauJetEta" and "TauJetPhi"
170  // for the names of the histograms and choose the exact same binning
171  // as is used for the histograms
172  // "TauJetEtaIsoPassed" and "TauJetPhiIsoPassed"
173  // below
174  //
175  // 2.) please check the histograms
176  // hTauJetEta_ and hTauJetPt_
177  // have already been defined in PatTauAnalyzer.h
178  //
179  //hTauJetEta_ =...
180  //hTauJetPt_ =...
181 
182  //... for number of tau-jet candidates
183  hNumTauJets_ = fs->make<TH1F>("NumTauJets", "NumTauJets", 10, -0.5, 9.5);
184 
185  //... for Pt of highest Pt track within signal cone tau-jet...
186  hTauLeadTrackPt_ = fs->make<TH1F>("TauLeadTrackPt", "TauLeadTrackPt", 40, 0., 100.);
187 
188  //... for total number of tracks within signal/isolation cones
189  hTauNumSigConeTracks_ = fs->make<TH1F>("TauNumSigConeTracks", "TauNumSigConeTracks", 10, -0.5, 9.5);
190  hTauNumIsoConeTracks_ = fs->make<TH1F>("TauNumIsoConeTracks", "TauNumIsoConeTracks", 20, -0.5, 19.5);
191 
192  //... for values of tau id. discriminators based on track isolation cut/
193  // neural network-based tau id.
194  hTauDiscrByIso_ = fs->make<TH1F>("TauDiscrByIso", "TauDiscrByIso", 103, -0.015, 1.015);
195  hTauDiscrByTaNC_ = fs->make<TH1F>("TauDiscrByTaNC", "TauDiscrByTaNC", 103, -0.015, 1.015);
196 
197  //... for values of tau id. discriminators against (unidentified) electrons and muons
199  fs->make<TH1F>("TauDiscrAgainstElectrons", "TauDiscrAgainstElectrons", 103, -0.015, 1.015);
200  hTauDiscrAgainstMuons_ = fs->make<TH1F>("TauDiscrAgainstMuons", "TauDiscrAgainstMuons", 103, -0.015, 1.015);
201 
202  //... for Energy, Pt, Eta, Phi of tau-jets passing the discriminatorByIsolation selection
203  hTauJetEnergyIsoPassed_ = fs->make<TH1F>("TauJetEnergyIsoPassed", "TauJetEnergyIsoPassed", 30, 0., 150.);
204  hTauJetPtIsoPassed_ = fs->make<TH1F>("TauJetPtIsoPassed", "TauJetPtIsoPassed", 30, 0., 150.);
205  hTauJetEtaIsoPassed_ = fs->make<TH1F>("TauJetEtaIsoPassed", "TauJetEtaIsoPassed", 24, -3., +3.);
206  hTauJetPhiIsoPassed_ = fs->make<TH1F>("TauJetPhiIsoPassed", "TauJetPhiIsoPassed", 18, -TMath::Pi(), +TMath::Pi());
207 
208  //... for Energy, Pt, Eta, Phi of tau-jets passing the discriminatorByTaNC ("Tau Neural Classifier") selection
209  hTauJetEnergyTaNCpassed_ = fs->make<TH1F>("TauJetEnergyTaNCpassed", "TauJetEnergyTaNCpassed", 30, 0., 150.);
210  hTauJetPtTaNCpassed_ = fs->make<TH1F>("TauJetPtTaNCpassed", "TauJetPtTaNCpassed", 30, 0., 150.);
211  hTauJetEtaTaNCpassed_ = fs->make<TH1F>("TauJetEtaTaNCpassed", "TauJetEtaTaNCpassed", 24, -3., +3.);
212  hTauJetPhiTaNCpassed_ = fs->make<TH1F>("TauJetPhiTaNCpassed", "TauJetPhiTaNCpassed", 18, -TMath::Pi(), +TMath::Pi());
213 }
const double Pi
TH1 * hTauDiscrAgainstMuons_
TH1 * hTauNumIsoConeTracks_
TH1 * hTauDiscrAgainstElectrons_
TH1 * hTauJetEnergyIsoPassed_
TH1 * hTauJetPtTaNCpassed_
TH1 * hTauJetEnergyTaNCpassed_
TH1 * hTauJetPtIsoPassed_
TH1 * hTauNumSigConeTracks_
TH1 * hTauJetPhiTaNCpassed_
TH1 * hTauJetEtaIsoPassed_
TH1 * hTauJetPhiIsoPassed_
TH1 * hTauJetEtaTaNCpassed_

◆ endJob()

void PatTauAnalyzer::endJob ( void  )
overridevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 319 of file PatTauAnalyzer.cc.

319  {
320  //--- nothing to be done yet...
321 }

Member Data Documentation

◆ discrByIso_

std::string PatTauAnalyzer::discrByIso_
private

Definition at line 35 of file PatTauAnalyzer.cc.

Referenced by analyze(), and PatTauAnalyzer().

◆ discrByLeadTrack_

std::string PatTauAnalyzer::discrByLeadTrack_
private

Definition at line 34 of file PatTauAnalyzer.cc.

Referenced by analyze(), and PatTauAnalyzer().

◆ discrByTaNC_

std::string PatTauAnalyzer::discrByTaNC_
private

Definition at line 36 of file PatTauAnalyzer.cc.

Referenced by analyze(), and PatTauAnalyzer().

◆ hGenTauEnergy_

TH1* PatTauAnalyzer::hGenTauEnergy_
private

Definition at line 39 of file PatTauAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ hGenTauEta_

TH1* PatTauAnalyzer::hGenTauEta_
private

Definition at line 41 of file PatTauAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ hGenTauPhi_

TH1* PatTauAnalyzer::hGenTauPhi_
private

Definition at line 42 of file PatTauAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ hGenTauPt_

TH1* PatTauAnalyzer::hGenTauPt_
private

Definition at line 40 of file PatTauAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ hNumTauJets_

TH1* PatTauAnalyzer::hNumTauJets_
private

Definition at line 50 of file PatTauAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ hTauDiscrAgainstElectrons_

TH1* PatTauAnalyzer::hTauDiscrAgainstElectrons_
private

Definition at line 59 of file PatTauAnalyzer.cc.

Referenced by beginJob().

◆ hTauDiscrAgainstMuons_

TH1* PatTauAnalyzer::hTauDiscrAgainstMuons_
private

Definition at line 60 of file PatTauAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ hTauDiscrByIso_

TH1* PatTauAnalyzer::hTauDiscrByIso_
private

Definition at line 57 of file PatTauAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ hTauDiscrByTaNC_

TH1* PatTauAnalyzer::hTauDiscrByTaNC_
private

Definition at line 58 of file PatTauAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ hTauJetEnergy_

TH1* PatTauAnalyzer::hTauJetEnergy_
private

Definition at line 45 of file PatTauAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ hTauJetEnergyIsoPassed_

TH1* PatTauAnalyzer::hTauJetEnergyIsoPassed_
private

Definition at line 62 of file PatTauAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ hTauJetEnergyTaNCpassed_

TH1* PatTauAnalyzer::hTauJetEnergyTaNCpassed_
private

Definition at line 67 of file PatTauAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ hTauJetEta_

TH1* PatTauAnalyzer::hTauJetEta_
private

Definition at line 47 of file PatTauAnalyzer.cc.

◆ hTauJetEtaIsoPassed_

TH1* PatTauAnalyzer::hTauJetEtaIsoPassed_
private

Definition at line 64 of file PatTauAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ hTauJetEtaTaNCpassed_

TH1* PatTauAnalyzer::hTauJetEtaTaNCpassed_
private

Definition at line 69 of file PatTauAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ hTauJetPhi_

TH1* PatTauAnalyzer::hTauJetPhi_
private

Definition at line 48 of file PatTauAnalyzer.cc.

◆ hTauJetPhiIsoPassed_

TH1* PatTauAnalyzer::hTauJetPhiIsoPassed_
private

Definition at line 65 of file PatTauAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ hTauJetPhiTaNCpassed_

TH1* PatTauAnalyzer::hTauJetPhiTaNCpassed_
private

Definition at line 70 of file PatTauAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ hTauJetPt_

TH1* PatTauAnalyzer::hTauJetPt_
private

Definition at line 46 of file PatTauAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ hTauJetPtIsoPassed_

TH1* PatTauAnalyzer::hTauJetPtIsoPassed_
private

Definition at line 63 of file PatTauAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ hTauJetPtTaNCpassed_

TH1* PatTauAnalyzer::hTauJetPtTaNCpassed_
private

Definition at line 68 of file PatTauAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ hTauLeadTrackPt_

TH1* PatTauAnalyzer::hTauLeadTrackPt_
private

Definition at line 52 of file PatTauAnalyzer.cc.

Referenced by beginJob().

◆ hTauNumIsoConeTracks_

TH1* PatTauAnalyzer::hTauNumIsoConeTracks_
private

Definition at line 55 of file PatTauAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ hTauNumSigConeTracks_

TH1* PatTauAnalyzer::hTauNumSigConeTracks_
private

Definition at line 54 of file PatTauAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ requireGenTauMatch_

bool PatTauAnalyzer::requireGenTauMatch_
private

Definition at line 32 of file PatTauAnalyzer.cc.

Referenced by analyze(), and PatTauAnalyzer().

◆ src_

edm::InputTag PatTauAnalyzer::src_
private

Definition at line 29 of file PatTauAnalyzer.cc.

Referenced by PatTauAnalyzer().

◆ srcToken_

edm::EDGetTokenT<pat::TauCollection> PatTauAnalyzer::srcToken_
private

Definition at line 30 of file PatTauAnalyzer.cc.

Referenced by analyze(), and PatTauAnalyzer().