CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions
TritonEDProducerT< G, Capabilities > Class Template Reference

#include <TritonEDProducer.h>

Inheritance diagram for TritonEDProducerT< G, Capabilities >:
SonicEDProducer< TritonClient, edm::GlobalCache< G >, Capabilities... > SonicAcquirer< TritonClient, edm::stream::EDProducer< edm::ExternalWork, Capabilities... > > edm::stream::EDProducer< edm::ExternalWork, Capabilities... >

Public Member Functions

 TritonEDProducerT (edm::ParameterSet const &cfg, const std::string &debugName)
 
- Public Member Functions inherited from SonicEDProducer< TritonClient, edm::GlobalCache< G >, Capabilities... >
void produce (edm::Event &iEvent, edm::EventSetup const &iSetup) final
 
virtual void produce (edm::Event &iEvent, edm::EventSetup const &iSetup, Output const &iOutput)=0
 
 SonicEDProducer (edm::ParameterSet const &cfg, const std::string &debugName)
 
 ~SonicEDProducer () override=default
 
- Public Member Functions inherited from SonicAcquirer< TritonClient, edm::stream::EDProducer< edm::ExternalWork, Capabilities... > >
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
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::ExternalWork, Capabilities... >
 EDProducer ()=default
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 

Static Public Member Functions

static void globalEndJob (G *)
 
static std::unique_ptr< G > initializeGlobalCache (edm::ParameterSet const &pset)
 

Additional Inherited Members

- Public Types inherited from SonicEDProducer< TritonClient, edm::GlobalCache< G >, Capabilities... >
typedef TritonClient ::Output Output
 
- Public Types inherited from SonicAcquirer< TritonClient, edm::stream::EDProducer< edm::ExternalWork, Capabilities... > >
typedef TritonClient ::Input Input
 
- Public Types inherited from edm::stream::EDProducer< edm::ExternalWork, Capabilities... >
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Protected Member Functions inherited from SonicAcquirer< TritonClient, edm::stream::EDProducer< edm::ExternalWork, Capabilities... > >
void makeClient ()
 
- Protected Attributes inherited from SonicAcquirer< TritonClient, edm::stream::EDProducer< edm::ExternalWork, Capabilities... > >
std::unique_ptr< TritonClientclient_
 
edm::ParameterSet clientPset_
 
std::string debugName_
 
std::chrono::time_point< std::chrono::high_resolution_clock > t_dispatch_
 

Detailed Description

template<typename G, typename... Capabilities>
class TritonEDProducerT< G, Capabilities >

Definition at line 13 of file TritonEDProducer.h.

Constructor & Destructor Documentation

◆ TritonEDProducerT()

template<typename G , typename... Capabilities>
TritonEDProducerT< G, Capabilities >::TritonEDProducerT ( edm::ParameterSet const &  cfg,
const std::string &  debugName 
)
inline

Definition at line 15 of file TritonEDProducer.h.

16  : SonicEDProducer<TritonClient, edm::GlobalCache<G>, Capabilities...>(cfg, debugName) {}

Member Function Documentation

◆ globalEndJob()

template<typename G , typename... Capabilities>
static void TritonEDProducerT< G, Capabilities >::globalEndJob ( G *  )
inlinestatic

Definition at line 27 of file TritonEDProducer.h.

27 {}

◆ initializeGlobalCache()

template<typename G , typename... Capabilities>
static std::unique_ptr<G> TritonEDProducerT< G, Capabilities >::initializeGlobalCache ( edm::ParameterSet const &  pset)
inlinestatic

Definition at line 19 of file TritonEDProducer.h.

19  {
21  const auto& clientPset = pset.getParameterSet("Client");
22  ts->addModel(clientPset.getParameter<std::string>("modelName"),
23  clientPset.getParameter<edm::FileInPath>("modelConfigPath").fullPath());
24  return nullptr;
25  }

References TritonService::addModel(), edm::FileInPath::fullPath(), muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.

edm::FileInPath
Definition: FileInPath.h:64
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TritonService::addModel
void addModel(const std::string &modelName, const std::string &path)
Definition: TritonService.cc:124
edm::Service
Definition: Service.h:30
looper.cfg
cfg
Definition: looper.py:297
SonicEDProducer
Definition: SonicEDProducer.h:14
edm::FileInPath::fullPath
std::string fullPath() const
Definition: FileInPath.cc:161
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27