CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
CandidateBoostedDoubleSecondaryVertexComputer::Tokens Struct Reference

#include <CandidateBoostedDoubleSecondaryVertexComputer.h>

Public Member Functions

 Tokens (const edm::ParameterSet &parameters, edm::ESConsumesCollector &&cc)
 

Public Attributes

edm::ESGetToken< GBRForest,
GBRWrapperRcd
gbrForest_
 

Detailed Description

Definition at line 12 of file CandidateBoostedDoubleSecondaryVertexComputer.h.

Constructor & Destructor Documentation

CandidateBoostedDoubleSecondaryVertexComputer::Tokens::Tokens ( const edm::ParameterSet parameters,
edm::ESConsumesCollector &&  cc 
)

Definition at line 11 of file CandidateBoostedDoubleSecondaryVertexComputer.cc.

References edm::ParameterSet::existsAs(), gbrForest_, edm::ParameterSet::getParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.

12  {
13  if (parameters.getParameter<bool>("useCondDB")) {
15  parameters.existsAs<std::string>("gbrForestLabel")
16  ? parameters.getParameter<std::string>("gbrForestLabel")
17  : ""});
18  }
19 }
bool existsAs(std::string const &parameterName, bool trackiness=true) const
checks if a parameter exists as a given type
Definition: ParameterSet.h:171
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
ESConsumesCollectorAdaptor consumes()

Member Data Documentation

edm::ESGetToken<GBRForest, GBRWrapperRcd> CandidateBoostedDoubleSecondaryVertexComputer::Tokens::gbrForest_