CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Static Public Member Functions | Private Types | Private Attributes
TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass > Class Template Reference
Inheritance diagram for TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >:

Classes

struct  DiscriminantCutEntry
 

Public Member Functions

void beginEvent (const edm::Event &event, const edm::EventSetup &eventSetup) override
 
reco::SingleTauDiscriminatorContainer discriminate (const TauTypeRef &) const override
 
 TauDiscriminantCutMultiplexerT (const edm::ParameterSet &pset)
 
 ~TauDiscriminantCutMultiplexerT () override
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 

Private Types

typedef std::map< int, std::vector< std::unique_ptr< DiscriminantCutEntry > > > DiscriminantCutMap
 

Private Attributes

DiscriminantCutMap cuts_
 
edm::FileInPath inputFileName_
 
bool isInitialized_
 
bool loadMVAfromDB_
 
std::string moduleLabel_
 
std::unique_ptr< const TFormula > mvaOutput_normalization_
 
std::string mvaOutputNormalizationName_
 
uint n_raws_
 
int raw_category_idx_ = -1
 
int raw_discriminator_idx_ = -1
 
edm::InputTag toMultiplex_
 
edm::EDGetTokenT< reco::TauDiscriminatorContainertoMultiplex_token
 
edm::Handle< reco::TauDiscriminatorContainertoMultiplexHandle_
 
int verbosity_
 

Detailed Description

template<class TauType, class TauTypeRef, class ParentClass>
class TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >

Definition at line 37 of file TauDiscriminantCutMultiplexer.cc.

Member Typedef Documentation

◆ DiscriminantCutMap

template<class TauType , class TauTypeRef , class ParentClass >
typedef std::map<int, std::vector<std::unique_ptr<DiscriminantCutEntry> > > TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::DiscriminantCutMap
private

Definition at line 63 of file TauDiscriminantCutMultiplexer.cc.

Constructor & Destructor Documentation

◆ TauDiscriminantCutMultiplexerT()

template<class TauType , class TauTypeRef , class ParentClass >
TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::TauDiscriminantCutMultiplexerT ( const edm::ParameterSet pset)
explicit

Definition at line 134 of file TauDiscriminantCutMultiplexer.cc.

136  : ParentClass(cfg),
137  moduleLabel_(cfg.getParameter<std::string>("@module_label")),
139  isInitialized_(false) {
140  toMultiplex_ = cfg.getParameter<edm::InputTag>("toMultiplex");
141  toMultiplex_token = this->template consumes<reco::TauDiscriminatorContainer>(toMultiplex_);
142 
143  verbosity_ = cfg.getParameter<int>("verbosity");
144 
145  loadMVAfromDB_ = cfg.getParameter<bool>("loadMVAfromDB");
146  if (!loadMVAfromDB_) {
147  inputFileName_ = cfg.getParameter<edm::FileInPath>("inputFileName");
148  }
149  if (verbosity_)
150  std::cout << moduleLabel_ << " loadMVA = " << loadMVAfromDB_ << std::endl;
151  mvaOutputNormalizationName_ = cfg.getParameter<std::string>("mvaOutput_normalization");
152 
153  // Setup our cut map, first raw values then working points
154  typedef std::vector<edm::ParameterSet> VPSet;
155  typedef std::vector<std::string> VString;
156  typedef std::vector<double> VDouble;
157  VString rawValueConfig = cfg.getParameter<VString>("rawValues");
158  for (uint i = 0; i < rawValueConfig.size(); i++) {
159  if (rawValueConfig[i] == "discriminator")
161  else if (rawValueConfig[i] == "category")
163  else
164  throw cms::Exception("TauDiscriminantCutMultiplexerT")
165  << " Configuration Parameter 'rawValues' containes unknown values. Must be 'discriminator' or 'category'!!\n";
166  }
167  n_raws_ = rawValueConfig.size();
168  VPSet mapping = cfg.getParameter<VPSet>("mapping");
169  for (auto const& mappingEntry : mapping) {
170  unsigned category = mappingEntry.getParameter<uint32_t>("category");
171  std::vector<std::unique_ptr<DiscriminantCutEntry>> cutWPs;
172  std::string categoryname = mappingEntry.getParameter<std::string>("cut");
173  bool localWPs = false;
174  bool wpsAsDouble = false;
175  if (mappingEntry.exists("workingPoints")) {
176  localWPs = true;
177  if (mappingEntry.existsAs<VDouble>("workingPoints")) {
178  wpsAsDouble = true;
179  } else if (mappingEntry.existsAs<VString>("workingPoints")) {
180  wpsAsDouble = false;
181  } else {
182  throw cms::Exception("TauDiscriminantCutMultiplexerT")
183  << " Configuration Parameter 'workingPoints' must be filled with cms.string or cms.double!!\n";
184  }
185  } else if (cfg.exists("workingPoints")) {
186  localWPs = false;
187  if (cfg.existsAs<VDouble>("workingPoints")) {
188  wpsAsDouble = true;
189  } else if (cfg.existsAs<VString>("workingPoints")) {
190  wpsAsDouble = false;
191  } else {
192  throw cms::Exception("TauDiscriminantCutMultiplexerT")
193  << " Configuration Parameter 'workingPoints' must be filled with cms.string or cms.double!!\n";
194  }
195  } else {
196  throw cms::Exception("TauDiscriminantCutMultiplexerT")
197  << " Undefined Configuration Parameter 'workingPoints' !!\n";
198  }
199  if (wpsAsDouble) {
200  VDouble workingPoints;
201  if (localWPs)
202  workingPoints = mappingEntry.getParameter<VDouble>("workingPoints");
203  else
204  workingPoints = cfg.getParameter<VDouble>("workingPoints");
205  for (auto const& wp : workingPoints) {
206  std::unique_ptr<DiscriminantCutEntry> cut{new DiscriminantCutEntry()};
207  cut->cutValue_ = wp;
209  cutWPs.push_back(std::move(cut));
210  }
211  } else {
212  VString workingPoints;
213  if (localWPs)
214  workingPoints = mappingEntry.getParameter<VString>("workingPoints");
215  else
216  workingPoints = cfg.getParameter<VString>("workingPoints");
217  for (auto const& wp : workingPoints) {
218  std::unique_ptr<DiscriminantCutEntry> cut{new DiscriminantCutEntry()};
219  cut->cutName_ = categoryname + wp;
220  std::string cutVariable_string = mappingEntry.getParameter<std::string>("variable");
221  cut->cutVariable_.reset(new StringObjectFunction<TauType>(cutVariable_string));
223  cutWPs.push_back(std::move(cut));
224  }
225  }
226  cuts_[category] = std::move(cutWPs);
227  }
228 
229  verbosity_ = cfg.getParameter<int>("verbosity");
230  if (verbosity_)
231  std::cout << "constructed " << moduleLabel_ << std::endl;
232 }

References taus_updatedMVAIds_cff::category, looper::cfg, gather_cfg::cout, TkAlMuonSelectors_cfi::cut, TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::cuts_, Exception, mps_fire::i, TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::inputFileName_, TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::DiscriminantCutEntry::kFixedCut, TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::DiscriminantCutEntry::kVariableCut, TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::loadMVAfromDB_, taus_updatedMVAIds_cff::mapping, TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::moduleLabel_, eostools::move(), TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::mvaOutputNormalizationName_, TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::n_raws_, TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::raw_category_idx_, TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::raw_discriminator_idx_, AlCaHLTBitMon_QueryRunRegistry::string, TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::toMultiplex_, TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::toMultiplex_token, parallelization::uint, TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::verbosity_, HistogramManager_cfi::VPSet(), PDWG_TauSkim_cff::workingPoints, and pfClustersFromHGC3DClusters_cfi::wp.

◆ ~TauDiscriminantCutMultiplexerT()

template<class TauType , class TauTypeRef , class ParentClass >
TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::~TauDiscriminantCutMultiplexerT ( )
override

Definition at line 235 of file TauDiscriminantCutMultiplexer.cc.

235 {}

Member Function Documentation

◆ beginEvent()

template<class TauType , class TauTypeRef , class ParentClass >
void TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::beginEvent ( const edm::Event event,
const edm::EventSetup eventSetup 
)
override

Definition at line 238 of file TauDiscriminantCutMultiplexer.cc.

239  {
240  if (verbosity_)
241  std::cout << " begin! " << moduleLabel_ << " " << isInitialized_ << std::endl;
242  if (!isInitialized_) {
243  //Only open the file once and we can close it when this routine is done
244  // since all objects gotten from the file will have been copied
245  std::unique_ptr<TFile> inputFile;
246  if (!mvaOutputNormalizationName_.empty()) {
247  if (!loadMVAfromDB_) {
248  inputFile = openInputFile(inputFileName_);
249  mvaOutput_normalization_ = loadObjectFromFile<TFormula>(*inputFile, mvaOutputNormalizationName_);
250  } else {
251  auto temp = loadTFormulaFromDB(
252  es, mvaOutputNormalizationName_, Form("%s_mvaOutput_normalization", moduleLabel_.data()), verbosity_);
254  }
255  }
256  for (auto const& cutWPs : cuts_) {
257  for (auto const& cut : cutWPs.second) {
258  if (cut->mode_ == DiscriminantCutEntry::kVariableCut) {
259  if (!loadMVAfromDB_) {
260  if (not inputFile) {
261  inputFile = openInputFile(inputFileName_);
262  }
263  if (verbosity_)
264  std::cout << "Loading from file" << inputFileName_ << std::endl;
265  cut->cutFunction_ = loadObjectFromFile<TGraph>(*inputFile, cut->cutName_);
266  } else {
267  if (verbosity_)
268  std::cout << "Loading from DB" << std::endl;
269  cut->cutFunction_ = loadTGraphFromDB(es, cut->cutName_, verbosity_);
270  }
271  }
272  }
273  }
274  isInitialized_ = true;
275  }
276 
277  evt.getByToken(toMultiplex_token, toMultiplexHandle_);
278 }

References gather_cfg::cout, TkAlMuonSelectors_cfi::cut, edm::Event::getByToken(), dtResolutionTest_cfi::inputFile, eostools::move(), and groupFilesInBlocks::temp.

◆ discriminate()

template<class TauType , class TauTypeRef , class ParentClass >
reco::SingleTauDiscriminatorContainer TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::discriminate ( const TauTypeRef &  tau) const
override

Definition at line 281 of file TauDiscriminantCutMultiplexer.cc.

282  {
283  if (verbosity_) {
284  std::cout << "<TauDiscriminantCutMultiplexerT::discriminate>:" << std::endl;
285  std::cout << " moduleLabel = " << moduleLabel_ << std::endl;
286  }
287 
289  result.rawValues.resize(n_raws_);
290  double disc_result = (*toMultiplexHandle_)[tau].rawValues.at(0);
291  if (verbosity_) {
292  std::cout << "disc_result = " << disc_result << std::endl;
293  }
294  if (raw_discriminator_idx_ >= 0)
295  result.rawValues[raw_discriminator_idx_] = disc_result;
297  disc_result = mvaOutput_normalization_->Eval(disc_result);
298  if (verbosity_) {
299  std::cout << "disc_result (normalized) = " << disc_result << std::endl;
300  }
301  }
302  double key_result = 0.0;
303  if ((*toMultiplexHandle_)[tau].rawValues.size() == 2) {
304  key_result = (*toMultiplexHandle_)[tau].rawValues.at(1);
305  if (raw_category_idx_ >= 0)
306  result.rawValues[raw_category_idx_] = key_result;
307  }
308  typename DiscriminantCutMap::const_iterator cutWPsIter = cuts_.find(std::round(key_result));
309 
310  // Return null if it doesn't exist
311  if (cutWPsIter == cuts_.end()) {
312  return result;
313  }
314  // See if the discriminator passes our cuts
315  for (auto const& cutIter : cutWPsIter->second) {
316  bool passesCuts = false;
317  if (cutIter->mode_ == DiscriminantCutEntry::kFixedCut) {
318  passesCuts = (disc_result > cutIter->cutValue_);
319  if (verbosity_) {
320  std::cout << "cutValue (fixed) = " << cutIter->cutValue_ << " --> passesCuts = " << passesCuts << std::endl;
321  }
322  } else if (cutIter->mode_ == DiscriminantCutEntry::kVariableCut) {
323  double cutVariable = (*cutIter->cutVariable_)(*tau);
324  double xMin, xMax, dummy;
325  cutIter->cutFunction_->GetPoint(0, xMin, dummy);
326  cutIter->cutFunction_->GetPoint(cutIter->cutFunction_->GetN() - 1, xMax, dummy);
327  const double epsilon = 1.e-3;
328  if (cutVariable < (xMin + epsilon))
329  cutVariable = xMin + epsilon;
330  else if (cutVariable > (xMax - epsilon))
331  cutVariable = xMax - epsilon;
332  double cutValue = cutIter->cutFunction_->Eval(cutVariable);
333  passesCuts = (disc_result > cutValue);
334  if (verbosity_) {
335  std::cout << "cutValue (@" << cutVariable << ") = " << cutValue << " --> passesCuts = " << passesCuts
336  << std::endl;
337  }
338  }
339  result.workingPoints.push_back(passesCuts);
340  }
341  return result;
342 }

References gather_cfg::cout, geometryDiff::epsilon, PDWG_TauSkim_cff::rawValues, mps_fire::result, metsig::tau, multiplicitycorr_cfi::xMax, and photonAnalyzer_cfi::xMin.

◆ fillDescriptions()

template<class TauType , class TauTypeRef , class ParentClass >
void TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 363 of file TauDiscriminantCutMultiplexer.cc.

364  {
365  // recoTauDiscriminantCutMultiplexer
367  desc.add<edm::InputTag>("toMultiplex", edm::InputTag("fixme"));
368  desc.add<int>("verbosity", 0);
369 
370  {
371  edm::ParameterSet pset_mapping;
372  pset_mapping.addParameter<unsigned int>("category", 0);
373  pset_mapping.addParameter<std::string>("cut", "fixme");
374  edm::ParameterSetDescription desc_mapping;
375  desc_mapping.add<unsigned int>("category", 0);
376  desc_mapping.add<std::string>("cut");
377  // it seems the parameter string "variable" exists only when workingPoints are string
378  // see hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBdR03oldDMwLT in RecoTauTag/Configuration/python/HPSPFTaus_cff.py
379  desc_mapping.addOptional<std::string>("variable")
380  ->setComment("the parameter is required when \"workingPoints\" are string");
381  std::vector<edm::ParameterSet> vpsd_mapping;
382  vpsd_mapping.push_back(pset_mapping);
383  desc.addVPSet("mapping", desc_mapping, vpsd_mapping);
384  }
385 
386  std::vector<std::string> defaultRaws{"discriminator"};
387  desc.add<std::vector<std::string>>("rawValues", defaultRaws);
388  std::vector<double> defaultWP{0.0};
389  desc.addNode(edm::ParameterDescription<std::vector<double>>("workingPoints", defaultWP, true) xor
390  edm::ParameterDescription<std::vector<std::string>>("workingPoints", true));
391  desc.add<edm::FileInPath>("inputFileName", edm::FileInPath("RecoTauTag/RecoTau/data/emptyMVAinputFile"));
392  desc.add<bool>("loadMVAfromDB", true);
393  ParentClass::fillProducerDescriptions(desc); // inherited from the base
394  desc.add<std::string>("mvaOutput_normalization", "");
395  descriptions.add(getDefaultConfigString<TauType>(), desc);
396 }

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addNode(), edm::ParameterSet::addParameter(), edm::ParameterSetDescription::addVPSet(), HLT_2018_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

Member Data Documentation

◆ cuts_

template<class TauType , class TauTypeRef , class ParentClass >
DiscriminantCutMap TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::cuts_
private

◆ inputFileName_

template<class TauType , class TauTypeRef , class ParentClass >
edm::FileInPath TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::inputFileName_
private

◆ isInitialized_

template<class TauType , class TauTypeRef , class ParentClass >
bool TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::isInitialized_
private

Definition at line 72 of file TauDiscriminantCutMultiplexer.cc.

◆ loadMVAfromDB_

template<class TauType , class TauTypeRef , class ParentClass >
bool TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::loadMVAfromDB_
private

◆ moduleLabel_

template<class TauType , class TauTypeRef , class ParentClass >
std::string TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::moduleLabel_
private

◆ mvaOutput_normalization_

template<class TauType , class TauTypeRef , class ParentClass >
std::unique_ptr<const TFormula> TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::mvaOutput_normalization_
private

Definition at line 70 of file TauDiscriminantCutMultiplexer.cc.

◆ mvaOutputNormalizationName_

template<class TauType , class TauTypeRef , class ParentClass >
std::string TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::mvaOutputNormalizationName_
private

◆ n_raws_

template<class TauType , class TauTypeRef , class ParentClass >
uint TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::n_raws_
private

◆ raw_category_idx_

template<class TauType , class TauTypeRef , class ParentClass >
int TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::raw_category_idx_ = -1
private

◆ raw_discriminator_idx_

template<class TauType , class TauTypeRef , class ParentClass >
int TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::raw_discriminator_idx_ = -1
private

◆ toMultiplex_

template<class TauType , class TauTypeRef , class ParentClass >
edm::InputTag TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::toMultiplex_
private

◆ toMultiplex_token

template<class TauType , class TauTypeRef , class ParentClass >
edm::EDGetTokenT<reco::TauDiscriminatorContainer> TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::toMultiplex_token
private

◆ toMultiplexHandle_

template<class TauType , class TauTypeRef , class ParentClass >
edm::Handle<reco::TauDiscriminatorContainer> TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::toMultiplexHandle_
private

Definition at line 75 of file TauDiscriminantCutMultiplexer.cc.

◆ verbosity_

template<class TauType , class TauTypeRef , class ParentClass >
int TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::verbosity_
private
TauDiscriminantCutMultiplexerT::raw_category_idx_
int raw_category_idx_
Definition: TauDiscriminantCutMultiplexer.cc:67
taus_updatedMVAIds_cff.category
category
Definition: taus_updatedMVAIds_cff.py:30
PDWG_TauSkim_cff.rawValues
rawValues
Definition: PDWG_TauSkim_cff.py:13
mps_fire.i
i
Definition: mps_fire.py:355
TauDiscriminantCutMultiplexerT::isInitialized_
bool isInitialized_
Definition: TauDiscriminantCutMultiplexer.cc:72
edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:95
StringObjectFunction
Definition: StringObjectFunction.h:16
TauDiscriminantCutMultiplexerT::cuts_
DiscriminantCutMap cuts_
Definition: TauDiscriminantCutMultiplexer.cc:64
TkAlMuonSelectors_cfi.cut
cut
Definition: TkAlMuonSelectors_cfi.py:5
metsig::tau
Definition: SignAlgoResolutions.h:49
pfClustersFromHGC3DClusters_cfi.wp
wp
Definition: pfClustersFromHGC3DClusters_cfi.py:20
gather_cfg.cout
cout
Definition: gather_cfg.py:144
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
TauDiscriminantCutMultiplexerT::inputFileName_
edm::FileInPath inputFileName_
Definition: TauDiscriminantCutMultiplexer.cc:51
TauDiscriminantCutMultiplexerT::loadMVAfromDB_
bool loadMVAfromDB_
Definition: TauDiscriminantCutMultiplexer.cc:50
TauDiscriminantCutMultiplexerT::DiscriminantCutEntry::kVariableCut
Definition: TauDiscriminantCutMultiplexer.cc:60
groupFilesInBlocks.temp
list temp
Definition: groupFilesInBlocks.py:142
parallelization.uint
uint
Definition: parallelization.py:124
geometryDiff.epsilon
int epsilon
Definition: geometryDiff.py:26
photonAnalyzer_cfi.xMin
xMin
Definition: photonAnalyzer_cfi.py:82
edm::FileInPath
Definition: FileInPath.h:64
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
TauDiscriminantCutMultiplexerT::toMultiplex_token
edm::EDGetTokenT< reco::TauDiscriminatorContainer > toMultiplex_token
Definition: TauDiscriminantCutMultiplexer.cc:76
TauDiscriminantCutMultiplexerT::DiscriminantCutEntry::kFixedCut
Definition: TauDiscriminantCutMultiplexer.cc:60
TauDiscriminantCutMultiplexerT::raw_discriminator_idx_
int raw_discriminator_idx_
Definition: TauDiscriminantCutMultiplexer.cc:66
TauDiscriminantCutMultiplexerT::mvaOutput_normalization_
std::unique_ptr< const TFormula > mvaOutput_normalization_
Definition: TauDiscriminantCutMultiplexer.cc:70
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HLT_2018_cff.InputTag
InputTag
Definition: HLT_2018_cff.py:79016
edm::ParameterSet
Definition: ParameterSet.h:36
PDWG_TauSkim_cff.workingPoints
workingPoints
Definition: PDWG_TauSkim_cff.py:15
TauDiscriminantCutMultiplexerT::moduleLabel_
std::string moduleLabel_
Definition: TauDiscriminantCutMultiplexer.cc:48
edm::ParameterSetDescription::addVPSet
ParameterDescriptionBase * addVPSet(U const &iLabel, ParameterSetDescription const &validator, std::vector< ParameterSet > const &defaults)
Definition: ParameterSetDescription.h:149
TauDiscriminantCutMultiplexerT::toMultiplex_
edm::InputTag toMultiplex_
Definition: TauDiscriminantCutMultiplexer.cc:74
edm::ParameterSet::addParameter
void addParameter(std::string const &name, T const &value)
Definition: ParameterSet.h:124
dtResolutionTest_cfi.inputFile
inputFile
Definition: dtResolutionTest_cfi.py:14
edm::ParameterSetDescription::addNode
ParameterDescriptionNode * addNode(ParameterDescriptionNode const &node)
Definition: ParameterSetDescription.cc:41
TauDiscriminantCutMultiplexerT::mvaOutputNormalizationName_
std::string mvaOutputNormalizationName_
Definition: TauDiscriminantCutMultiplexer.cc:69
looper.cfg
cfg
Definition: looper.py:297
TauDiscriminantCutMultiplexerT::toMultiplexHandle_
edm::Handle< reco::TauDiscriminatorContainer > toMultiplexHandle_
Definition: TauDiscriminantCutMultiplexer.cc:75
HistogramManager_cfi.VPSet
def VPSet(*args)
Definition: HistogramManager_cfi.py:401
eostools.move
def move(src, dest)
Definition: eostools.py:511
Exception
Definition: hltDiff.cc:246
multiplicitycorr_cfi.xMax
xMax
Definition: multiplicitycorr_cfi.py:5
TauDiscriminantCutMultiplexerT::verbosity_
int verbosity_
Definition: TauDiscriminantCutMultiplexer.cc:78
mps_fire.result
result
Definition: mps_fire.py:303
dummy
Definition: DummySelector.h:38
edm::ParameterDescription
Definition: ParameterDescription.h:110
taus_updatedMVAIds_cff.mapping
mapping
Definition: taus_updatedMVAIds_cff.py:28
edm::InputTag
Definition: InputTag.h:15
TauDiscriminantCutMultiplexerT::n_raws_
uint n_raws_
Definition: TauDiscriminantCutMultiplexer.cc:65
reco::SingleTauDiscriminatorContainer
Definition: TauDiscriminatorContainer.h:9