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 120 of file hltDiff.cc.

Constructor & Destructor Documentation

◆ View()

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

Definition at line 122 of file hltDiff.cc.

122 : 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 230 of file hltDiff.cc.

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

◆ moduleType()

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

Implements HLTConfigInterface.

Definition at line 234 of file hltDiff.cc.

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

◆ prescaler()

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

Implements HLTConfigInterface.

Definition at line 238 of file hltDiff.cc.

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

◆ processName()

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

Implements HLTConfigInterface.

Definition at line 216 of file hltDiff.cc.

216 { 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 218 of file hltDiff.cc.

218 { 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 226 of file hltDiff.cc.

226  {
228 }

◆ triggerName()

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

Implements HLTConfigInterface.

Definition at line 222 of file hltDiff.cc.

222  {
224 }

Member Data Documentation

◆ config_

HLTCommonConfig const& HLTCommonConfig::View::config_
private

Definition at line 134 of file hltDiff.cc.

Referenced by processName().

◆ index_

Index HLTCommonConfig::View::index_
private

Definition at line 135 of file hltDiff.cc.

Referenced by processName().

HLTCommonConfig::prescaler
bool prescaler(Index index, unsigned int trigger, unsigned int module) const
Definition: hltDiff.cc:199
HLTCommonConfig::triggerName
std::string const & triggerName(Index index, unsigned int trigger) const
Definition: hltDiff.cc:171
config
Definition: config.py:1
HLTCommonConfig::processName
std::string const & processName(Index index) const
Definition: hltDiff.cc:155
HLTCommonConfig::moduleLabel
std::string const & moduleLabel(Index index, unsigned int trigger, unsigned int module) const
Definition: hltDiff.cc:185
HLTCommonConfig::View::config_
HLTCommonConfig const & config_
Definition: hltDiff.cc:134
HLTCommonConfig::size
unsigned int size(Index index) const
Definition: hltDiff.cc:162
HLTCommonConfig::View::index_
Index index_
Definition: hltDiff.cc:135
HLTCommonConfig::triggerIndex
unsigned int triggerIndex(Index index, unsigned int trigger) const
Definition: hltDiff.cc:178
HLTCommonConfig::moduleType
std::string const & moduleType(Index index, unsigned int trigger, unsigned int module) const
Definition: hltDiff.cc:192
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
trigger
Definition: HLTPrescaleTableCond.h:8