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... > DeepMETSonicProducer DRNCorrectionProducerT< T > ParticleNetSonicJetTagsProducer SCEnergyCorrectorDRNProducer

Public Member Functions

void endStream () final
 
 TritonEDProducerT (edm::ParameterSet const &cfg)
 
virtual void tritonEndStream ()
 
- 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)
 
 ~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)
 
 ~SonicAcquirer () override=default
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::ExternalWork, Capabilities... >
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 

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... >
using CacheTypes = CacheContexts< T... >
 
using GlobalCache = typename CacheTypes::GlobalCache
 
using HasAbility = AbilityChecker< T... >
 
using InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache
 
using LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache
 
using LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache >
 
using LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache
 
using RunCache = typename CacheTypes::RunCache
 
using RunContext = RunContextT< RunCache, GlobalCache >
 
using RunSummaryCache = typename CacheTypes::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_
 
bool verbose_
 

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)
inline

Definition at line 15 of file TritonEDProducer.h.

Member Function Documentation

◆ endStream()

template<typename G , typename... Capabilities>
void TritonEDProducerT< G, Capabilities >::endStream ( )
inlinefinal

◆ 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.

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

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  }
std::string fullPath() const
Definition: FileInPath.cc:161
void addModel(const std::string &modelName, const std::string &path)

◆ tritonEndStream()

template<typename G , typename... Capabilities>
virtual void TritonEDProducerT< G, Capabilities >::tritonEndStream ( )
inlinevirtual

Definition at line 30 of file TritonEDProducer.h.

Referenced by TritonEDProducerT< G, Capabilities >::endStream().

30 {}