CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
SonicAcquirer< Client, Module > Class Template Referenceabstract

#include <SonicAcquirer.h>

Inheritance diagram for SonicAcquirer< Client, Module >:

Public Types

typedef Client::Input Input
 

Public Member Functions

void acquire (edm::Event const &iEvent, edm::EventSetup const &iSetup, edm::WaitingTaskWithArenaHolder holder) final
 
virtual void acquire (edm::Event const &iEvent, edm::EventSetup const &iSetup, Input &iInput)=0
 
void beginStream (edm::StreamID) override
 
 SonicAcquirer (edm::ParameterSet const &cfg, const std::string &debugName="")
 
 ~SonicAcquirer () override=default
 

Protected Member Functions

void makeClient ()
 

Protected Attributes

std::unique_ptr< Client > client_
 
edm::ParameterSet clientPset_
 
std::string debugName_
 
std::chrono::time_point< std::chrono::high_resolution_clock > t_dispatch_
 

Detailed Description

template<typename Client, typename Module>
class SonicAcquirer< Client, Module >

Definition at line 15 of file SonicAcquirer.h.

Member Typedef Documentation

◆ Input

template<typename Client, typename Module>
typedef Client::Input SonicAcquirer< Client, Module >::Input

Definition at line 18 of file SonicAcquirer.h.

Constructor & Destructor Documentation

◆ SonicAcquirer()

template<typename Client, typename Module>
SonicAcquirer< Client, Module >::SonicAcquirer ( edm::ParameterSet const &  cfg,
const std::string &  debugName = "" 
)
inline

Definition at line 20 of file SonicAcquirer.h.

21  : clientPset_(cfg.getParameterSet("Client")), debugName_(debugName) {}

◆ ~SonicAcquirer()

template<typename Client, typename Module>
SonicAcquirer< Client, Module >::~SonicAcquirer ( )
overridedefault

Member Function Documentation

◆ acquire() [1/2]

template<typename Client, typename Module>
void SonicAcquirer< Client, Module >::acquire ( edm::Event const &  iEvent,
edm::EventSetup const &  iSetup,
edm::WaitingTaskWithArenaHolder  holder 
)
inlinefinal

◆ acquire() [2/2]

template<typename Client, typename Module>
virtual void SonicAcquirer< Client, Module >::acquire ( edm::Event const &  iEvent,
edm::EventSetup const &  iSetup,
Input iInput 
)
pure virtual

◆ beginStream()

template<typename Client, typename Module>
void SonicAcquirer< Client, Module >::beginStream ( edm::StreamID  )
inlineoverride

Definition at line 27 of file SonicAcquirer.h.

27 { makeClient(); }

◆ makeClient()

template<typename Client, typename Module>
void SonicAcquirer< Client, Module >::makeClient ( )
inlineprotected

Member Data Documentation

◆ client_

template<typename Client, typename Module>
std::unique_ptr<Client> SonicAcquirer< Client, Module >::client_
protected

◆ clientPset_

template<typename Client, typename Module>
edm::ParameterSet SonicAcquirer< Client, Module >::clientPset_
protected

◆ debugName_

template<typename Client, typename Module>
std::string SonicAcquirer< Client, Module >::debugName_
protected

◆ t_dispatch_

template<typename Client, typename Module>
std::chrono::time_point<std::chrono::high_resolution_clock> SonicAcquirer< Client, Module >::t_dispatch_
protected
submitPVValidationJobs.now
now
Definition: submitPVValidationJobs.py:639
SonicAcquirer::t_dispatch_
std::chrono::time_point< std::chrono::high_resolution_clock > t_dispatch_
Definition: SonicAcquirer.h:48
sonic_utils::printDebugTime
void printDebugTime(std::string_view debugName, std::string_view msg, const TimePoint &t0)
Definition: sonic_utils.cc:8
SonicAcquirer::clientPset_
edm::ParameterSet clientPset_
Definition: SonicAcquirer.h:45
FrontierCondition_GT_autoExpress_cfi.t0
t0
Definition: FrontierCondition_GT_autoExpress_cfi.py:149
SonicAcquirer::acquire
void acquire(edm::Event const &iEvent, edm::EventSetup const &iSetup, edm::WaitingTaskWithArenaHolder holder) final
Definition: SonicAcquirer.h:31
iEvent
int iEvent
Definition: GenABIO.cc:224
SonicAcquirer::client_
std::unique_ptr< Client > client_
Definition: SonicAcquirer.h:46
SonicAcquirer::makeClient
void makeClient()
Definition: SonicAcquirer.h:42
looper.cfg
cfg
Definition: looper.py:297
SonicAcquirer::debugName_
std::string debugName_
Definition: SonicAcquirer.h:47