CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
L1TauRecoTreeProducer Class Reference
Inheritance diagram for L1TauRecoTreeProducer:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

 L1TauRecoTreeProducer (const edm::ParameterSet &)
 
 ~L1TauRecoTreeProducer () override
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
 ~EDAnalyzer () 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::vector< ModuleDescription const * > &modules, 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)
 

Public Attributes

L1Analysis::L1AnalysisRecoTautau
 
L1Analysis::L1AnalysisRecoTauDataFormattau_data
 

Private Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void beginJob (void) override
 
void endJob () override
 

Private Attributes

bool caloJetsMissing_
 
edm::EDGetTokenT< reco::PFTauDiscriminatorDMFindingOldToken_
 
edm::EDGetTokenT< reco::PFTauDiscriminatorDMFindingToken_
 
edm::Service< TFileServicefs_
 
double jetptThreshold_
 
edm::EDGetTokenT< reco::PFTauDiscriminatorLooseAntiElectronToken_
 
edm::EDGetTokenT< reco::PFTauDiscriminatorLooseAntiMuonToken_
 
edm::EDGetTokenT< reco::PFTauDiscriminatorLooseIsoToken_
 
unsigned int maxCl_
 
unsigned int maxTau_
 
unsigned int maxTrk_
 
unsigned int maxVtx_
 
std::string period_
 
edm::EDGetTokenT< reco::PFTauCollectionTauToken_
 
edm::EDGetTokenT< reco::PFTauDiscriminatorTightAntiElectronToken_
 
edm::EDGetTokenT< reco::PFTauDiscriminatorTightAntiMuonToken_
 
edm::EDGetTokenT< reco::PFTauDiscriminatorTightIsoToken_
 
edm::EDGetTokenT< reco::PFTauDiscriminatorTightRawIsoToken_
 
TTree * tree_
 
edm::EDGetTokenT< reco::PFTauDiscriminatorVLooseAntiElectronToken_
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsInputProcessBlocks ()
 
static bool wantsProcessBlocks ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 
- 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

Definition at line 62 of file L1TauRecoTreeProducer.cc.

Constructor & Destructor Documentation

◆ L1TauRecoTreeProducer()

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

Definition at line 111 of file L1TauRecoTreeProducer.cc.

111  : caloJetsMissing_(false) {
112  period_ = iConfig.getParameter<std::string>("period");
113 
114  if (period_ == "2015") {
115  maxTau_ = iConfig.getParameter<unsigned int>("maxTau");
116  TauToken_ =
117  consumes<reco::PFTauCollection>(iConfig.getUntrackedParameter("TauToken", edm::InputTag("hpsPFTauProducer")));
118  DMFindingToken_ = consumes<reco::PFTauDiscriminator>(iConfig.getUntrackedParameter(
119  "DMFindingToken", edm::InputTag("hpsPFTauDiscriminationByDecayModeFindingNewDMs")));
120  DMFindingOldToken_ = consumes<reco::PFTauDiscriminator>(iConfig.getUntrackedParameter(
121  "DMFindingOldToken", edm::InputTag("hpsPFTauDiscriminationByDecayModeFindingOldDMs")));
122  TightIsoToken_ = consumes<reco::PFTauDiscriminator>(
123  iConfig.getUntrackedParameter("TightIsoToken", edm::InputTag("hpsPFTauDiscriminationByTightIsolation")));
124  TightRawIsoToken_ = consumes<reco::PFTauDiscriminator>(iConfig.getUntrackedParameter(
125  "TightRawIsoToken", edm::InputTag("hpsPFTauDiscriminationByRawCombinedIsolationDBSumPtCorr3Hits")));
126  LooseIsoToken_ = consumes<reco::PFTauDiscriminator>(
127  iConfig.getUntrackedParameter("LooseIsoToken", edm::InputTag("hpsPFTauDiscriminationByLooseIsolation")));
128  LooseAntiMuonToken_ = consumes<reco::PFTauDiscriminator>(iConfig.getUntrackedParameter(
129  "LooseAntiMuonToken", edm::InputTag("hpsPFTauDiscriminationByLooseMuonRejection")));
130  TightAntiMuonToken_ = consumes<reco::PFTauDiscriminator>(iConfig.getUntrackedParameter(
131  "TightAntiMuonToken", edm::InputTag("hpsPFTauDiscriminationByTightMuonRejection")));
132  VLooseAntiElectronToken_ = consumes<reco::PFTauDiscriminator>(iConfig.getUntrackedParameter(
133  "VLooseAntiElectronToken", edm::InputTag("hpsPFTauDiscriminationByMVA5VLooseElectronRejection")));
134  LooseAntiElectronToken_ = consumes<reco::PFTauDiscriminator>(iConfig.getUntrackedParameter(
135  "LooseAntiElectronToken", edm::InputTag("hpsPFTauDiscriminationByMVA5LooseElectronRejection")));
136  TightAntiElectronToken_ = consumes<reco::PFTauDiscriminator>(iConfig.getUntrackedParameter(
137  "TightAntiElectronToken", edm::InputTag("hpsPFTauDiscriminationByMVA5TightElectronRejection")));
138  } else if (period_ == "2016") {
139  maxTau_ = iConfig.getParameter<unsigned int>("maxTau");
140  TauToken_ =
141  consumes<reco::PFTauCollection>(iConfig.getUntrackedParameter("TauToken", edm::InputTag("hpsPFTauProducer")));
142  DMFindingToken_ = consumes<reco::PFTauDiscriminator>(iConfig.getUntrackedParameter(
143  "DMFindingToken", edm::InputTag("hpsPFTauDiscriminationByDecayModeFindingNewDMs")));
144  DMFindingOldToken_ = consumes<reco::PFTauDiscriminator>(iConfig.getUntrackedParameter(
145  "DMFindingOldToken", edm::InputTag("hpsPFTauDiscriminationByDecayModeFindingOldDMs")));
146  TightIsoToken_ = consumes<reco::PFTauDiscriminator>(iConfig.getUntrackedParameter(
147  "TightIsoToken", edm::InputTag("hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3Hits")));
148  TightRawIsoToken_ = consumes<reco::PFTauDiscriminator>(iConfig.getUntrackedParameter(
149  "TightRawIsoToken", edm::InputTag("hpsPFTauDiscriminationByRawCombinedIsolationDBSumPtCorr3Hits")));
150  LooseIsoToken_ = consumes<reco::PFTauDiscriminator>(iConfig.getUntrackedParameter(
151  "LooseIsoToken", edm::InputTag("hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits")));
152  LooseAntiMuonToken_ = consumes<reco::PFTauDiscriminator>(iConfig.getUntrackedParameter(
153  "LooseAntiMuonToken", edm::InputTag("hpsPFTauDiscriminationByLooseMuonRejection3")));
154  TightAntiMuonToken_ = consumes<reco::PFTauDiscriminator>(iConfig.getUntrackedParameter(
155  "TightAntiMuonToken", edm::InputTag("hpsPFTauDiscriminationByTightMuonRejection3")));
156  VLooseAntiElectronToken_ = consumes<reco::PFTauDiscriminator>(iConfig.getUntrackedParameter(
157  "VLooseAntiElectronToken", edm::InputTag("hpsPFTauDiscriminationByMVA6VLooseElectronRejection")));
158  LooseAntiElectronToken_ = consumes<reco::PFTauDiscriminator>(iConfig.getUntrackedParameter(
159  "LooseAntiElectronToken", edm::InputTag("hpsPFTauDiscriminationByMVA6LooseElectronRejection")));
160  TightAntiElectronToken_ = consumes<reco::PFTauDiscriminator>(iConfig.getUntrackedParameter(
161  "TightAntiElectronToken", edm::InputTag("hpsPFTauDiscriminationByMVA6TightElectronRejection")));
162  }
163 
164  /*
165  caloJetToken_ = consumes<reco::CaloJetCollection>(iConfig.getUntrackedParameter("caloJetToken",edm::InputTag("ak4CaloJets")));
166  // caloJetIdToken_ = consumes<edm::ValueMap<reco::JetID> >(iConfig.getUntrackedParameter("jetIdToken",edm::InputTag("ak4JetID")));
167  jetCorrectorToken_ = consumes<reco::JetCorrector>(iConfig.getUntrackedParameter<edm::InputTag>("jetCorrToken"));
168 
169  jetptThreshold_ = iConfig.getParameter<double> ("jetptThreshold");
170  maxTau_ = iConfig.getParameter<unsigned int>("maxTau");
171  */
172 
174  tau_data = tau->getData();
175 
176  /*
177  // set up output
178  */
179  tree_ = fs_->make<TTree>("TauRecoTree", "TauRecoTree");
180  //tree_=fs_->make<TTree>("JetRecoTree", "JetRecoTree");
181  tree_->Branch("Tau", "L1Analysis::L1AnalysisRecoTauDataFormat", &tau_data, 32000, 3);
182 }

References DMFindingOldToken_, DMFindingToken_, fs_, L1Analysis::L1AnalysisRecoTau::getData(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), LooseAntiElectronToken_, LooseAntiMuonToken_, LooseIsoToken_, TFileService::make(), maxTau_, period_, AlCaHLTBitMon_QueryRunRegistry::string, tau, tau_data, TauToken_, TightAntiElectronToken_, TightAntiMuonToken_, TightIsoToken_, TightRawIsoToken_, tree_, and VLooseAntiElectronToken_.

◆ ~L1TauRecoTreeProducer()

L1TauRecoTreeProducer::~L1TauRecoTreeProducer ( )
override

Definition at line 184 of file L1TauRecoTreeProducer.cc.

184  {
185  // do anything here that needs to be done at desctruction time
186  // (e.g. close files, deallocate resources etc.)
187 }

Member Function Documentation

◆ analyze()

void L1TauRecoTreeProducer::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::EDAnalyzer.

Definition at line 194 of file L1TauRecoTreeProducer.cc.

194  {
195  tau->Reset();
197  iEvent.getByToken(TauToken_, recoTaus);
198 
200  iEvent.getByToken(DMFindingToken_, DMFindingTaus);
201 
202  edm::Handle<reco::PFTauDiscriminator> DMFindingOldTaus;
203  iEvent.getByToken(DMFindingOldToken_, DMFindingOldTaus);
204 
206  iEvent.getByToken(TightIsoToken_, TightIsoTaus);
207 
209  iEvent.getByToken(TightRawIsoToken_, TightRawIsoTaus);
210 
212  iEvent.getByToken(LooseIsoToken_, LooseIsoTaus);
213 
215  iEvent.getByToken(LooseAntiMuonToken_, LooseAntiMuon);
216 
218  iEvent.getByToken(TightAntiMuonToken_, TightAntiMuon);
219 
220  edm::Handle<reco::PFTauDiscriminator> VLooseAntiElectron;
221  iEvent.getByToken(VLooseAntiElectronToken_, VLooseAntiElectron);
222 
223  edm::Handle<reco::PFTauDiscriminator> LooseAntiElectron;
224  iEvent.getByToken(LooseAntiElectronToken_, LooseAntiElectron);
225 
226  edm::Handle<reco::PFTauDiscriminator> TightAntiElectron;
227  iEvent.getByToken(TightAntiElectronToken_, TightAntiElectron);
228 
229  //std::cout<<"size of recoTaus = "<<recoTaus->size()<<std::endl;
230 
231  if (recoTaus.isValid()) {
232  //std::cout<<"passing here"<<std::endl;
233  tau->SetTau(iEvent,
234  iSetup,
235  recoTaus,
236  DMFindingOldTaus,
237  DMFindingTaus,
238  TightIsoTaus,
239  TightRawIsoTaus,
240  LooseIsoTaus,
241  LooseAntiMuon,
242  TightAntiMuon,
243  VLooseAntiElectron,
244  LooseAntiElectron,
245  TightAntiElectron,
246  maxTau_);
247  } else {
248  if (!caloJetsMissing_) {
249  edm::LogWarning("MissingProduct") << "CaloJets not found. Branch will not be filled" << std::endl;
250  }
251  caloJetsMissing_ = true;
252  }
253 
254  /*
255  jet->Reset();
256 
257  // get jets & co...
258  edm::Handle<reco::CaloJetCollection> recoCaloJets;
259  edm::Handle<edm::ValueMap<reco::JetID> > jetsID;
260  edm::Handle<reco::JetCorrector> jetCorr;
261 
262  iEvent.getByToken(caloJetToken_, recoCaloJets);
263  //iEvent.getByLabel(jetIdTag_,jetsID);
264  //iEvent.getByToken(jetCorrectorToken_, jetCorr);
265 
266  if (recoCaloJets.isValid()) {
267  jet->SetCaloJet(iEvent, iSetup, recoCaloJets, maxTau_); //jetsID, maxTau_);
268  }
269  else {
270  if (!caloJetsMissing_) {edm::LogWarning("MissingProduct") << "CaloJets not found. Branch will not be filled" << std::endl;}
271  caloJetsMissing_ = true;
272  }
273  */
274 
275  tree_->Fill();
276 }

References caloJetsMissing_, DMFindingOldToken_, DMFindingToken_, iEvent, edm::HandleBase::isValid(), LooseAntiElectronToken_, LooseAntiMuonToken_, LooseIsoToken_, maxTau_, L1Analysis::L1AnalysisRecoTau::Reset(), L1Analysis::L1AnalysisRecoTau::SetTau(), tau, TauToken_, TightAntiElectronToken_, TightAntiMuonToken_, TightIsoToken_, TightRawIsoToken_, tree_, and VLooseAntiElectronToken_.

◆ beginJob()

void L1TauRecoTreeProducer::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 279 of file L1TauRecoTreeProducer.cc.

279 {}

◆ endJob()

void L1TauRecoTreeProducer::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 282 of file L1TauRecoTreeProducer.cc.

282 {}

Member Data Documentation

◆ caloJetsMissing_

bool L1TauRecoTreeProducer::caloJetsMissing_
private

Definition at line 102 of file L1TauRecoTreeProducer.cc.

Referenced by analyze().

◆ DMFindingOldToken_

edm::EDGetTokenT<reco::PFTauDiscriminator> L1TauRecoTreeProducer::DMFindingOldToken_
private

Definition at line 87 of file L1TauRecoTreeProducer.cc.

Referenced by analyze(), and L1TauRecoTreeProducer().

◆ DMFindingToken_

edm::EDGetTokenT<reco::PFTauDiscriminator> L1TauRecoTreeProducer::DMFindingToken_
private

Definition at line 86 of file L1TauRecoTreeProducer.cc.

Referenced by analyze(), and L1TauRecoTreeProducer().

◆ fs_

edm::Service<TFileService> L1TauRecoTreeProducer::fs_
private

Definition at line 79 of file L1TauRecoTreeProducer.cc.

Referenced by L1TauRecoTreeProducer().

◆ jetptThreshold_

double L1TauRecoTreeProducer::jetptThreshold_
private

Definition at line 103 of file L1TauRecoTreeProducer.cc.

◆ LooseAntiElectronToken_

edm::EDGetTokenT<reco::PFTauDiscriminator> L1TauRecoTreeProducer::LooseAntiElectronToken_
private

Definition at line 94 of file L1TauRecoTreeProducer.cc.

Referenced by analyze(), and L1TauRecoTreeProducer().

◆ LooseAntiMuonToken_

edm::EDGetTokenT<reco::PFTauDiscriminator> L1TauRecoTreeProducer::LooseAntiMuonToken_
private

Definition at line 91 of file L1TauRecoTreeProducer.cc.

Referenced by analyze(), and L1TauRecoTreeProducer().

◆ LooseIsoToken_

edm::EDGetTokenT<reco::PFTauDiscriminator> L1TauRecoTreeProducer::LooseIsoToken_
private

Definition at line 90 of file L1TauRecoTreeProducer.cc.

Referenced by analyze(), and L1TauRecoTreeProducer().

◆ maxCl_

unsigned int L1TauRecoTreeProducer::maxCl_
private

Definition at line 104 of file L1TauRecoTreeProducer.cc.

◆ maxTau_

unsigned int L1TauRecoTreeProducer::maxTau_
private

Definition at line 106 of file L1TauRecoTreeProducer.cc.

Referenced by analyze(), and L1TauRecoTreeProducer().

◆ maxTrk_

unsigned int L1TauRecoTreeProducer::maxTrk_
private

Definition at line 108 of file L1TauRecoTreeProducer.cc.

◆ maxVtx_

unsigned int L1TauRecoTreeProducer::maxVtx_
private

Definition at line 107 of file L1TauRecoTreeProducer.cc.

◆ period_

std::string L1TauRecoTreeProducer::period_
private

Definition at line 105 of file L1TauRecoTreeProducer.cc.

Referenced by L1TauRecoTreeProducer().

◆ tau

L1Analysis::L1AnalysisRecoTau* L1TauRecoTreeProducer::tau

◆ tau_data

L1Analysis::L1AnalysisRecoTauDataFormat* L1TauRecoTreeProducer::tau_data

Definition at line 75 of file L1TauRecoTreeProducer.cc.

Referenced by L1TauRecoTreeProducer().

◆ TauToken_

edm::EDGetTokenT<reco::PFTauCollection> L1TauRecoTreeProducer::TauToken_
private

Definition at line 85 of file L1TauRecoTreeProducer.cc.

Referenced by analyze(), and L1TauRecoTreeProducer().

◆ TightAntiElectronToken_

edm::EDGetTokenT<reco::PFTauDiscriminator> L1TauRecoTreeProducer::TightAntiElectronToken_
private

Definition at line 95 of file L1TauRecoTreeProducer.cc.

Referenced by analyze(), and L1TauRecoTreeProducer().

◆ TightAntiMuonToken_

edm::EDGetTokenT<reco::PFTauDiscriminator> L1TauRecoTreeProducer::TightAntiMuonToken_
private

Definition at line 92 of file L1TauRecoTreeProducer.cc.

Referenced by analyze(), and L1TauRecoTreeProducer().

◆ TightIsoToken_

edm::EDGetTokenT<reco::PFTauDiscriminator> L1TauRecoTreeProducer::TightIsoToken_
private

Definition at line 88 of file L1TauRecoTreeProducer.cc.

Referenced by analyze(), and L1TauRecoTreeProducer().

◆ TightRawIsoToken_

edm::EDGetTokenT<reco::PFTauDiscriminator> L1TauRecoTreeProducer::TightRawIsoToken_
private

Definition at line 89 of file L1TauRecoTreeProducer.cc.

Referenced by analyze(), and L1TauRecoTreeProducer().

◆ tree_

TTree* L1TauRecoTreeProducer::tree_
private

Definition at line 82 of file L1TauRecoTreeProducer.cc.

Referenced by analyze(), and L1TauRecoTreeProducer().

◆ VLooseAntiElectronToken_

edm::EDGetTokenT<reco::PFTauDiscriminator> L1TauRecoTreeProducer::VLooseAntiElectronToken_
private

Definition at line 93 of file L1TauRecoTreeProducer.cc.

Referenced by analyze(), and L1TauRecoTreeProducer().

L1TauRecoTreeProducer::DMFindingOldToken_
edm::EDGetTokenT< reco::PFTauDiscriminator > DMFindingOldToken_
Definition: L1TauRecoTreeProducer.cc:87
L1TauRecoTreeProducer::tau_data
L1Analysis::L1AnalysisRecoTauDataFormat * tau_data
Definition: L1TauRecoTreeProducer.cc:75
L1TauRecoTreeProducer::LooseAntiElectronToken_
edm::EDGetTokenT< reco::PFTauDiscriminator > LooseAntiElectronToken_
Definition: L1TauRecoTreeProducer.cc:94
L1TauRecoTreeProducer::TightIsoToken_
edm::EDGetTokenT< reco::PFTauDiscriminator > TightIsoToken_
Definition: L1TauRecoTreeProducer.cc:88
L1Analysis::L1AnalysisRecoTau::SetTau
void SetTau(const edm::Event &event, const edm::EventSetup &setup, const edm::Handle< reco::PFTauCollection > taus, const edm::Handle< reco::PFTauDiscriminator > DMFindingOldTaus, const edm::Handle< reco::PFTauDiscriminator > DMFindingTaus, const edm::Handle< reco::PFTauDiscriminator > TightIsoTaus, const edm::Handle< reco::PFTauDiscriminator > TightRawIsoTaus, const edm::Handle< reco::PFTauDiscriminator > LooseIsoTaus, const edm::Handle< reco::PFTauDiscriminator > LooseAntiMuon, const edm::Handle< reco::PFTauDiscriminator > TightAntiMuon, const edm::Handle< reco::PFTauDiscriminator > VLooseAntiElectron, const edm::Handle< reco::PFTauDiscriminator > LooseAntiElectron, const edm::Handle< reco::PFTauDiscriminator > TightAntiElectron, unsigned maxTau)
Definition: L1AnalysisRecoTau.cc:12
L1TauRecoTreeProducer::LooseIsoToken_
edm::EDGetTokenT< reco::PFTauDiscriminator > LooseIsoToken_
Definition: L1TauRecoTreeProducer.cc:90
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
L1TauRecoTreeProducer::TauToken_
edm::EDGetTokenT< reco::PFTauCollection > TauToken_
Definition: L1TauRecoTreeProducer.cc:85
edm::Handle
Definition: AssociativeIterator.h:50
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
L1TauRecoTreeProducer::tree_
TTree * tree_
Definition: L1TauRecoTreeProducer.cc:82
L1TauRecoTreeProducer::TightAntiMuonToken_
edm::EDGetTokenT< reco::PFTauDiscriminator > TightAntiMuonToken_
Definition: L1TauRecoTreeProducer.cc:92
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
L1TauRecoTreeProducer::caloJetsMissing_
bool caloJetsMissing_
Definition: L1TauRecoTreeProducer.cc:102
L1Analysis::L1AnalysisRecoTau::getData
L1AnalysisRecoTauDataFormat * getData()
Definition: L1AnalysisRecoTau.h:55
L1TauRecoTreeProducer::period_
std::string period_
Definition: L1TauRecoTreeProducer.cc:105
iEvent
int iEvent
Definition: GenABIO.cc:224
L1TauRecoTreeProducer::TightRawIsoToken_
edm::EDGetTokenT< reco::PFTauDiscriminator > TightRawIsoToken_
Definition: L1TauRecoTreeProducer.cc:89
L1TauRecoTreeProducer::DMFindingToken_
edm::EDGetTokenT< reco::PFTauDiscriminator > DMFindingToken_
Definition: L1TauRecoTreeProducer.cc:86
L1TauRecoTreeProducer::VLooseAntiElectronToken_
edm::EDGetTokenT< reco::PFTauDiscriminator > VLooseAntiElectronToken_
Definition: L1TauRecoTreeProducer.cc:93
L1Analysis::L1AnalysisRecoTau::Reset
void Reset()
Definition: L1AnalysisRecoTau.h:56
L1Analysis::L1AnalysisRecoTau
Definition: L1AnalysisRecoTau.h:24
L1TauRecoTreeProducer::fs_
edm::Service< TFileService > fs_
Definition: L1TauRecoTreeProducer.cc:79
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
L1TauRecoTreeProducer::LooseAntiMuonToken_
edm::EDGetTokenT< reco::PFTauDiscriminator > LooseAntiMuonToken_
Definition: L1TauRecoTreeProducer.cc:91
L1TauRecoTreeProducer::maxTau_
unsigned int maxTau_
Definition: L1TauRecoTreeProducer.cc:106
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
L1TauRecoTreeProducer::tau
L1Analysis::L1AnalysisRecoTau * tau
Definition: L1TauRecoTreeProducer.cc:73
L1TauRecoTreeProducer::TightAntiElectronToken_
edm::EDGetTokenT< reco::PFTauDiscriminator > TightAntiElectronToken_
Definition: L1TauRecoTreeProducer.cc:95
edm::InputTag
Definition: InputTag.h:15
TFileService::make
T * make(const Args &... args) const
make new ROOT object
Definition: TFileService.h:64