CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
HLTCommonConfig::View Class Reference
Inheritance diagram for HLTCommonConfig::View:
HLTConfigInterface

Public Member Functions

std::string const & moduleLabel (unsigned int trigger, unsigned int module) const override
 
std::string const & moduleType (unsigned int trigger, unsigned int module) const override
 
bool prescaler (unsigned int trigger, unsigned int module) const override
 
std::string const & processName () const override
 
unsigned int size () const override
 
unsigned int size (unsigned int trigger) const override
 
unsigned int triggerIndex (unsigned int trigger) const override
 
std::string const & triggerName (unsigned int trigger) const override
 
 View (HLTCommonConfig const &config, HLTCommonConfig::Index index)
 
 ~View () override=default
 
- Public Member Functions inherited from HLTConfigInterface
virtual ~HLTConfigInterface ()=default
 

Private Attributes

HLTCommonConfig const & config_
 
Index index_
 

Detailed Description

Definition at line 119 of file hltDiff.cc.

Constructor & Destructor Documentation

◆ View()

HLTCommonConfig::View::View ( HLTCommonConfig const &  config,
HLTCommonConfig::Index  index 
)
inline

Definition at line 121 of file hltDiff.cc.

121 : config_(config), index_(index) {}

◆ ~View()

HLTCommonConfig::View::~View ( )
overridedefault

Member Function Documentation

◆ moduleLabel()

std::string const & HLTCommonConfig::View::moduleLabel ( unsigned int  trigger,
unsigned int  module 
) const
overridevirtual

Implements HLTConfigInterface.

Definition at line 229 of file hltDiff.cc.

229  {
230  return config_.moduleLabel(index_, trigger, module);
231 }

◆ moduleType()

std::string const & HLTCommonConfig::View::moduleType ( unsigned int  trigger,
unsigned int  module 
) const
overridevirtual

Implements HLTConfigInterface.

Definition at line 233 of file hltDiff.cc.

233  {
234  return config_.moduleType(index_, trigger, module);
235 }

◆ prescaler()

bool HLTCommonConfig::View::prescaler ( unsigned int  trigger,
unsigned int  module 
) const
overridevirtual

Implements HLTConfigInterface.

Definition at line 237 of file hltDiff.cc.

237  {
238  return config_.prescaler(index_, trigger, module);
239 }

◆ processName()

std::string const & HLTCommonConfig::View::processName ( ) const
overridevirtual

Implements HLTConfigInterface.

Definition at line 215 of file hltDiff.cc.

215 { return config_.processName(index_); }

References config_, index_, and HLTCommonConfig::processName().

◆ size() [1/2]

unsigned int HLTCommonConfig::View::size ( void  ) const
overridevirtual

Implements HLTConfigInterface.

Definition at line 217 of file hltDiff.cc.

217 { return config_.size(index_); }

Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().

◆ size() [2/2]

unsigned int HLTCommonConfig::View::size ( unsigned int  trigger) const
overridevirtual

◆ triggerIndex()

unsigned int HLTCommonConfig::View::triggerIndex ( unsigned int  trigger) const
overridevirtual

Implements HLTConfigInterface.

Definition at line 225 of file hltDiff.cc.

225  {
227 }

◆ triggerName()

std::string const & HLTCommonConfig::View::triggerName ( unsigned int  trigger) const
overridevirtual

Implements HLTConfigInterface.

Definition at line 221 of file hltDiff.cc.

221  {
223 }

Member Data Documentation

◆ config_

HLTCommonConfig const& HLTCommonConfig::View::config_
private

Definition at line 133 of file hltDiff.cc.

Referenced by processName().

◆ index_

Index HLTCommonConfig::View::index_
private

Definition at line 134 of file hltDiff.cc.

Referenced by processName().

HLTCommonConfig::prescaler
bool prescaler(Index index, unsigned int trigger, unsigned int module) const
Definition: hltDiff.cc:198
HLTCommonConfig::triggerName
std::string const & triggerName(Index index, unsigned int trigger) const
Definition: hltDiff.cc:170
config
Definition: config.py:1
HLTCommonConfig::processName
std::string const & processName(Index index) const
Definition: hltDiff.cc:154
HLTCommonConfig::moduleLabel
std::string const & moduleLabel(Index index, unsigned int trigger, unsigned int module) const
Definition: hltDiff.cc:184
HLTCommonConfig::View::config_
HLTCommonConfig const & config_
Definition: hltDiff.cc:133
HLTCommonConfig::size
unsigned int size(Index index) const
Definition: hltDiff.cc:161
HLTCommonConfig::View::index_
Index index_
Definition: hltDiff.cc:134
HLTCommonConfig::triggerIndex
unsigned int triggerIndex(Index index, unsigned int trigger) const
Definition: hltDiff.cc:177
HLTCommonConfig::moduleType
std::string const & moduleType(Index index, unsigned int trigger, unsigned int module) const
Definition: hltDiff.cc:191
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
trigger
Definition: HLTPrescaleTableCond.h:8