CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::test::Event Class Reference

#include <Event.h>

Public Member Functions

 Event (EventPrincipal const &iPrincipal, std::string iModuleLabel, std::string iProcessName, bool modulePassed)
 
template<typename T >
TestHandle< Tget () const
 
template<typename T >
TestHandle< Tget (std::string const &iInstanceLabel) const
 
bool modulePassed () const
 

Private Attributes

std::string label_
 
bool modulePassed_
 
EventPrincipal const * principal_
 
std::string processName_
 

Detailed Description

Definition at line 36 of file Event.h.

Constructor & Destructor Documentation

◆ Event()

Event::Event ( EventPrincipal const &  iPrincipal,
std::string  iModuleLabel,
std::string  iProcessName,
bool  modulePassed 
)

Definition at line 32 of file Event.cc.

33  : principal_{&iPrincipal},
34  label_{std::move(iModuleLabel)},
35  processName_{std::move(iProcessName)},

Member Function Documentation

◆ get() [1/2]

template<typename T >
TestHandle<T> edm::test::Event::get ( ) const
inline

◆ get() [2/2]

template<typename T >
TestHandle<T> edm::test::Event::get ( std::string const &  iInstanceLabel) const
inline

◆ modulePassed()

bool edm::test::Event::modulePassed ( ) const
inline

Definition at line 60 of file Event.h.

60 { return modulePassed_; }

References modulePassed_.

Member Data Documentation

◆ label_

std::string edm::test::Event::label_
private

◆ modulePassed_

bool edm::test::Event::modulePassed_
private

Definition at line 70 of file Event.h.

Referenced by modulePassed().

◆ principal_

EventPrincipal const* edm::test::Event::principal_
private

Definition at line 67 of file Event.h.

Referenced by get().

◆ processName_

std::string edm::test::Event::processName_
private

Definition at line 69 of file Event.h.

Referenced by get().

edm::PRODUCT_TYPE
Definition: ProductKindOfType.h:5
edm::test::Event::modulePassed
bool modulePassed() const
Definition: Event.h:60
cms::cuda::assert
assert(be >=bs)
wrapper
static HepMC::HEPEVT_Wrapper wrapper
Definition: BeamHaloProducer.cc:47
watchdog.const
const
Definition: watchdog.py:83
h
edm::test::Event::label_
std::string label_
Definition: Event.h:68
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::test::Event::modulePassed_
bool modulePassed_
Definition: Event.h:70
edm::test::Event::principal_
EventPrincipal const * principal_
Definition: Event.h:67
edm::test::Event::processName_
std::string processName_
Definition: Event.h:69
edm::TypeID
Definition: TypeID.h:22
eostools.move
def move(src, dest)
Definition: eostools.py:511
T
long double T
Definition: Basic3DVectorLD.h:48
TestHandle
edm::Principal::getByLabel
BasicHandle getByLabel(KindOfType kindOfType, TypeID const &typeID, InputTag const &inputTag, EDConsumerBase const *consumes, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const
Definition: Principal.cc:567