CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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, bool verbose=true)
 
 ~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="", bool verbose=true)
 
 ~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

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.

17  cfg, debugName, cfg.getParameterSet("Client").getUntrackedParameter<bool>("verbose")) {}
tuple cfg
Definition: looper.py:296

Member Function Documentation

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

Definition at line 28 of file TritonEDProducer.h.

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

Definition at line 20 of file TritonEDProducer.h.

References TritonService::addModel(), edm::FileInPath::fullPath(), edm::ParameterSet::getParameterSet(), and AlCaHLTBitMon_QueryRunRegistry::string.

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