CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
__class__< T > Class Template Reference

#include <c++11.h>

Inheritance diagram for __class__< T >:
TFWLiteSelector< __class__Worker > edm::eventsetup::EventSetupRecordImplementation< __class__ > edm::ESProducer edm::stream::EDProducer<> edm::ESProducerLooper edm::stream::EDFilter<> edm::one::EDAnalyzer< edm::one::SharedResources > edm::one::EDAnalyzerBase edm::stream::EDFilterBase edm::EDLooper edm::EventSetupRecordIntervalFinder edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::EventSetupRecord TFWLiteSelectorBasic

Public Member Functions

 __class__ ()
 
 __class__ ()
 
 __class__ ()
 
 __class__ ()
 
 __class__ (const edm::ParameterSet &)
 
 __class__ (const edm::ParameterSet &)
 
 __class__ (const edm::ParameterSet &)
 
 __class__ (const edm::ParameterSet &)
 
 __class__ (const edm::ParameterSet &)
 
void begin (TList *&)
 
if virtual len(__datatypes__) > 1 void beginOfJob ()
 
virtual Status duringLoop (const edm::Event &, const edm::EventSetup &)
 
virtual void endOfJob ()
 
virtual Status endOfLoop (const edm::EventSetup &)
 
virtual void startingNewLoop (unsigned int)
 
void terminate (TList &)
 
virtual ~__class__ ()
 
virtual ~__class__ ()
 
virtual ~__class__ ()
 
 ~__class__ ()
 
 ~__class__ ()
 
 ~__class__ ()
 
 ~__class__ ()
 
 ~__class__ ()
 
 ~__class__ ()
 
- Public Member Functions inherited from TFWLiteSelector< __class__Worker >
 TFWLiteSelector ()
 
 ~TFWLiteSelector () override
 
- Public Member Functions inherited from TFWLiteSelectorBasic
 TFWLiteSelectorBasic ()
 
 ~TFWLiteSelectorBasic () override
 
- Public Member Functions inherited from edm::eventsetup::EventSetupRecordImplementation< __class__ >
EventSetupRecordKey key () const override
 
- Public Member Functions inherited from edm::eventsetup::EventSetupRecord
bool add (DataKey const &iKey, DataProxy const *iProxy)
 
unsigned long long cacheIdentifier () const
 
void cacheReset ()
 
void clearProxies ()
 
bool doGet (DataKey const &aKey, bool aGetTransiently=false) const
 returns false if no data available for key More...
 
 EventSetupRecord ()
 
void fillReferencedDataKeys (std::map< DataKey, ComponentDescription const * > &referencedDataKeys)
 
void fillRegisteredDataKeys (std::vector< DataKey > &oToFill) const
 clears the oToFill vector and then fills it with the keys for all registered data keys More...
 
template<typename HolderT >
void get (HolderT &iHolder) const
 
template<typename HolderT >
void get (char const *iName, HolderT &iHolder) const
 
template<typename HolderT >
void get (std::string const &iName, HolderT &iHolder) const
 
template<typename HolderT >
void get (ESInputTag const &iTag, HolderT &iHolder) const
 
void getESProducers (std::vector< ComponentDescription const * > &esproducers)
 
ComponentDescription const * providerDescription (DataKey const &aKey) const
 
void set (ValidityInterval const &)
 
void setEventSetup (EventSetup const *iEventSetup)
 
bool transientReset ()
 returns 'true' if a transient request has occurred since the last call to transientReset. More...
 
ValidityInterval const & validityInterval () const
 
bool wasGotten (DataKey const &aKey) const
 
virtual ~EventSetupRecord ()
 
- Public Member Functions inherited from edm::ESProducer
 ESProducer ()
 
 ~ESProducer ()(false) override
 
- Public Member Functions inherited from edm::ESProxyFactoryProducer
 ESProxyFactoryProducer ()
 
void newInterval (const eventsetup::EventSetupRecordKey &iRecordType, const ValidityInterval &iInterval) override
 overrides DataProxyProvider method More...
 
 ~ESProxyFactoryProducer () noexcept(false) override
 
- Public Member Functions inherited from edm::eventsetup::DataProxyProvider
 DataProxyProvider ()
 
const ComponentDescriptiondescription () const
 
bool isUsingRecord (const EventSetupRecordKey &) const
 
const KeyedProxieskeyedProxies (const EventSetupRecordKey &iRecordKey) const
 
void resetProxies (const EventSetupRecordKey &iRecordType)
 
void resetProxiesIfTransient (const EventSetupRecordKey &iRecordType)
 
void setAppendToDataLabel (const edm::ParameterSet &)
 
void setDescription (const ComponentDescription &iDescription)
 
std::set< EventSetupRecordKeyusingRecords () const
 
virtual ~DataProxyProvider () noexcept(false)
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
bool hasAbilityToProduceInLumis () const final
 
bool hasAbilityToProduceInRuns () const final
 
- Public Member Functions inherited from edm::ESProducerLooper
 ESProducerLooper ()
 
std::set< eventsetup::EventSetupRecordKeymodifyingRecords () const override
 
- Public Member Functions inherited from edm::EventSetupRecordIntervalFinder
const eventsetup::ComponentDescriptiondescriptionForFinder () const
 
 EventSetupRecordIntervalFinder ()
 
std::set< eventsetup::EventSetupRecordKeyfindingForRecords () const
 
const ValidityIntervalfindIntervalFor (const eventsetup::EventSetupRecordKey &, const IOVSyncValue &)
 
void setDescriptionForFinder (const eventsetup::ComponentDescription &iDescription)
 
virtual ~EventSetupRecordIntervalFinder () noexcept(false)
 
- Public Member Functions inherited from edm::EDLooper
 EDLooper ()
 
 EDLooper (EDLooper const &)=delete
 
EDLooperoperator= (EDLooper const &)=delete
 
 ~EDLooper () override
 
- Public Member Functions inherited from edm::EDLooperBase
virtual void attachTo (ActivityRegistry &)
 Override this method if you need to monitor the state of the processing. More...
 
virtual void beginOfJob (EventSetup const &)
 
void copyInfo (ScheduleInfo const &)
 
void doBeginLuminosityBlock (LuminosityBlockPrincipal &, EventSetup const &, ProcessContext *)
 
void doBeginRun (RunPrincipal &, EventSetup const &, ProcessContext *)
 
Status doDuringLoop (EventPrincipal &eventPrincipal, EventSetup const &es, ProcessingController &, StreamContext *)
 
void doEndLuminosityBlock (LuminosityBlockPrincipal &, EventSetup const &, ProcessContext *)
 
Status doEndOfLoop (EventSetup const &es)
 
void doEndRun (RunPrincipal &, EventSetup const &, ProcessContext *)
 
void doStartingNewLoop ()
 
 EDLooperBase ()
 
 EDLooperBase (EDLooperBase const &)=delete
 
EDLooperBaseoperator= (EDLooperBase const &)=delete
 
void prepareForNextLoop (eventsetup::EventSetupProvider *esp)
 
void setActionTable (ExceptionToActionTable const *actionTable)
 
void setModuleChanger (ModuleChanger *)
 
virtual ~EDLooperBase () noexcept(false)
 
- Public Member Functions inherited from edm::stream::EDFilter<>
 EDFilter ()=default
 
bool hasAbilityToProduceInLumis () const final
 
bool hasAbilityToProduceInRuns () const final
 
- Public Member Functions inherited from edm::stream::EDFilterBase
 EDFilterBase ()
 
ModuleDescription const & moduleDescription () const
 
 ~EDFilterBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
 ~ProducerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 
- Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::SharedResources >
 EDAnalyzer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
- Public Member Functions inherited from edm::one::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDAnalyzerBase () override
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::eventsetup::EventSetupRecordImplementation< __class__ >
static EventSetupRecordKey keyForClass ()
 
- Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider
static void prevalidate (ConfigurationDescriptions &)
 
- Static Public Member Functions inherited from edm::stream::EDFilterBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::one::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Member Functions

 __class__ (const __class__ &src)
 
 __class__ (const __class__< T > &src)
 
 __class__ (__class__ &&src)
 
 __class__ (__class__< T > &&src)
 
 __class__ (const __class__ &)
 
 __class__ (__class__ const &)
 
virtual void analyze (const edm::Event &, const edm::EventSetup &) override
 
virtual void beginJob () override
 
virtual void beginStream (edm::StreamID) override
 
virtual void beginStream (edm::StreamID) override
 
virtual void endJob () override
 
virtual void endStream () override
 
virtual void endStream () override
 
virtual bool filter (edm::Event &, const edm::EventSetup &) override
 
const __class__operator= (const __class__ &rhs)
 
const __class__< T > & operator= (const __class__< T > &rhs)
 
__class__operator= (__class__ &&rhs)
 
const __class__operator= (const __class__ &)
 
__class__< T > & operator= (__class__< T > &&rhs)
 
__class__ operator= (__class__ const &)
 
virtual void produce (edm::Event &, const edm::EventSetup &) override
 

Private Attributes

example_myparticle edm::InputTag electronTags_
 
example_histo TH1I * histo
 
example_myparticle edm::InputTag muonTags_
 
edm::EDGetTokenT< TrackCollection > tracksToken_
 

Additional Inherited Members

- Public Types inherited from edm::eventsetup::DataProxyProvider
typedef std::vector< std::pair< DataKey, edm::propagate_const< std::shared_ptr< DataProxy > > > > KeyedProxies
 
typedef std::vector< EventSetupRecordKeyKeys
 
typedef std::map< EventSetupRecordKey, KeyedProxiesRecordProxies
 
- Public Types inherited from edm::stream::EDProducer<>
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
 
- Public Types inherited from edm::EDLooperBase
enum  Status { kContinue, kStop }
 
- Public Types inherited from edm::stream::EDFilter<>
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
 
- Public Types inherited from edm::stream::EDFilterBase
typedef EDFilterAdaptorBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >>
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Public Types inherited from edm::one::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- Protected Member Functions inherited from edm::eventsetup::EventSetupRecordImplementation< __class__ >
 EventSetupRecordImplementation ()
 
- Protected Member Functions inherited from edm::eventsetup::EventSetupRecord
void addTraceInfoToCmsException (cms::Exception &iException, char const *iName, ComponentDescription const *, DataKey const &) const
 
void changeStdExceptionToCmsException (char const *iExceptionWhatMessage, char const *iName, ComponentDescription const *, DataKey const &) const
 
EventSetup const & eventSetup () const
 
DataProxy const * find (DataKey const &aKey) const
 
void transientAccessRequested () const
 
void validate (ComponentDescription const *, ESInputTag const &) const
 
- Protected Member Functions inherited from edm::ESProducer
template<typename T >
void setWhatProduced (T *iThis, const es::Label &iLabel=es::Label())
 
template<typename T >
void setWhatProduced (T *iThis, const char *iLabel)
 
template<typename T >
void setWhatProduced (T *iThis, const std::string &iLabel)
 
template<typename T , typename TDecorator >
void setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel=es::Label())
 
template<typename T , typename TReturn , typename TRecord >
void setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel=es::Label())
 
template<typename T , typename TReturn , typename TRecord , typename TArg >
void setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel=es::Label())
 
- Protected Member Functions inherited from edm::ESProxyFactoryProducer
template<class TFactory >
void registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string())
 
void registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) override
 override DataProxyProvider method More...
 
- Protected Member Functions inherited from edm::eventsetup::DataProxyProvider
void eraseAll (const EventSetupRecordKey &iRecordKey)
 deletes all the Proxies in aStream More...
 
void invalidateProxies (const EventSetupRecordKey &iRecordKey)
 
template<class T >
void usingRecord ()
 
void usingRecordWithKey (const EventSetupRecordKey &)
 
- Protected Member Functions inherited from edm::ESProducerLooper
void registerFactoryWithKey (const eventsetup::EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) override
 
void setIntervalFor (const eventsetup::EventSetupRecordKey &iKey, const IOVSyncValue &iTime, ValidityInterval &oInterval) override
 
- Protected Member Functions inherited from edm::EventSetupRecordIntervalFinder
template<class T >
void findingRecord ()
 
void findingRecordWithKey (const eventsetup::EventSetupRecordKey &)
 
- Protected Member Functions inherited from edm::EDLooperBase
ModuleChangermoduleChanger ()
 This only returns a non-zero value during the call to endOfLoop. More...
 
ScheduleInfo const * scheduleInfo () const
 This returns a non-zero value after the constructor has been called. More...
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

template<typename T>
class __class__< T >

Description: [one line class summary]

Implementation: [Notes on implementation]

Description: [one line class summary]

Usage: <usage>

Definition at line 13 of file c++11.h.

Constructor & Destructor Documentation

template<typename T>
__class__< T >::__class__ ( )
template<typename T>
__class__< T >::~__class__ ( )
virtual

Definition at line 87 of file DQMEDAnalyzer.cc.

References analyze(), DQMStore::IBooker::book1D(), DQMStore::ConcurrentBooker::book1D(), bookHistograms(), dqmAnalyze(), example_global, folder_, Histograms___class__, plotFactory::histos, iEvent, findQualityFiles::run, and DQMStore::IBooker::setCurrentFolder().

Referenced by __class__< T >::__class__(), and __class__Worker::postProcess().

88 {
89  // do anything here that needs to be done at desctruction time
90  // (e.g. close files, deallocate resources etc.)
91 }
template<typename T>
__class__< T >::__class__ ( const __class__< T > &  src)
private
template<typename T>
__class__< T >::__class__ ( __class__< T > &&  src)
private
template<typename T>
__class__< T >::__class__ ( )
template<typename T>
virtual __class__< T >::~__class__ ( )
virtual
template<typename T>
__class__< T >::__class__ ( const __class__< T > &  src)
private
template<typename T>
__class__< T >::__class__ ( __class__< T > &&  src)
private
template<typename T>
__class__< T >::__class__ ( const edm::ParameterSet iConfig)
explicit

Definition at line 80 of file DQMEDAnalyzer.cc.

Referenced by BeautifulSoup.Tag::__getattr__(), and BeautifulSoup.UnicodeDammit::_ebcdic_to_ascii().

81  : folder_(iConfig.getUntrackedParameter<std::string>("folder"))
82 {
83  //now do what ever initialization is needed
84 }
T getUntrackedParameter(std::string const &, T const &) const
std::string folder_
template<typename T>
__class__< T >::~__class__ ( )
template<typename T>
__class__< T >::__class__ ( const edm::ParameterSet )
explicit
template<typename T>
__class__< T >::~__class__ ( )
template<typename T>
__class__< T >::__class__ ( const edm::ParameterSet )
template<typename T>
__class__< T >::~__class__ ( )
template<typename T>
__class__< T >::__class__ ( const edm::ParameterSet )
explicit
template<typename T>
__class__< T >::~__class__ ( )
template<typename T>
__class__< T >::__class__ ( const edm::ParameterSet )
template<typename T>
__class__< T >::~__class__ ( )
template<typename T>
__class__< T >::__class__ ( )
template<typename T>
virtual __class__< T >::~__class__ ( )
virtual
template<typename T>
__class__< T >::__class__ ( const __class__< T > &  )
private
template<typename T>
__class__< T >::__class__ ( )
template<typename T>
__class__< T >::~__class__ ( )
template<typename T>
__class__< T >::__class__ ( __class__< T > const &  )
private

Member Function Documentation

template<typename T>
void __class__< T >::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Definition at line 106 of file EDAnalyzer.cc.

References edm::EventSetup::get(), edm::Event::getByLabel(), edm::Event::getByToken(), __class__< T >::histo, l1t::tracks, and __class__< T >::tracksToken_.

107 {
108  using namespace edm;
109 
111  iEvent.getByToken(tracksToken_, tracks);
112  for(TrackCollection::const_iterator itTrack = tracks->begin();
113  itTrack != tracks->end();
114  ++itTrack) {
115  // do something with track parameters, e.g, plot the charge.
116  // int charge = itTrack->charge();
117 @example_histo histo->Fill( itTrack->charge() );
118  }
119 
120 #ifdef THIS_IS_AN_EVENT_EXAMPLE
122  iEvent.getByLabel("example",pIn);
123 #endif
124 
125 #ifdef THIS_IS_AN_EVENTSETUP_EXAMPLE
126  ESHandle<SetupData> pSetup;
127  iSetup.get<SetupRecord>().get(pSetup);
128 #endif
129 }
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:519
edm::EDGetTokenT< TrackCollection > tracksToken_
Definition: EDAnalyzer.cc:63
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:475
const T & get() const
Definition: EventSetup.h:59
HLT enums.
example_histo TH1I * histo
Definition: EDAnalyzer.cc:64
template<typename T>
void __class__< T >::begin ( TList *&  in)
virtual

Called each time the 'client' begins processing (remote 'slaves' do not see this message)

Parameters
inan assignable pointer to a list of objects you want passed to 'preProcessing'. This list is used to communicate with remote slaves. NOTE: you are responsible for deleting this TList and its content once you are done with it.

Implements TFWLiteSelectorBasic.

Definition at line 100 of file TSelector.cc.

101 {
102 }
template<typename T>
void __class__< T >::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 134 of file EDAnalyzer.cc.

135 {
136 }
template<typename T>
void __class__< T >::beginOfJob ( )
virtual

Reimplemented from edm::EDLooperBase.

Definition at line 116 of file EDLooper.cc.

117 {
118 }
template<typename T>
void __class__< T >::beginStream ( edm::StreamID  )
overrideprivatevirtual

Reimplemented from edm::stream::EDFilterBase.

Definition at line 107 of file EDFilter.cc.

108 {
109 }
template<typename T>
virtual void __class__< T >::beginStream ( edm::StreamID  )
overrideprivatevirtual

Reimplemented from edm::stream::EDFilterBase.

template<typename T>
__class__::Status __class__< T >::duringLoop ( const edm::Event ,
const edm::EventSetup  
)
virtual

Called after all event modules have had a chance to process the edm::Event.

Implements edm::EDLooper.

Definition at line 129 of file EDLooper.cc.

References edm::EDLooperBase::kContinue.

130 {
131  return kContinue;
132 }
template<typename T>
void __class__< T >::endJob ( void  )
overrideprivatevirtual
template<typename T>
void __class__< T >::endOfJob ( )
virtual

Reimplemented from edm::EDLooperBase.

Definition at line 144 of file EDLooper.cc.

References DEFINE_FWK_LOOPER.

145 {
146 }
template<typename T>
__class__::Status __class__< T >::endOfLoop ( const edm::EventSetup )
virtual

Definition at line 137 of file EDLooper.cc.

References edm::EDLooperBase::kStop.

138 {
139  return kStop;
140 }
template<typename T>
void __class__< T >::endStream ( )
overrideprivatevirtual
template<typename T>
virtual void __class__< T >::endStream ( )
overrideprivatevirtual

Reimplemented from edm::stream::EDFilterBase.

template<typename T>
static void __class__< T >::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static
template<typename T>
static void __class__< T >::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static
template<typename T>
void __class__< T >::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 134 of file DQMEDAnalyzer.cc.

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), DEFINE_FWK_MODULE, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by __class__< T >::endJob(), and __class__< T >::endStream().

134  {
135  //The following says we do not know what parameters are allowed so do no validation
136  // Please change this to state exactly what you do use, even if it is no parameters
138  desc.add<std::string>("folder", "MY_FOLDER");
139  descriptions.add("__class_lowercase__", desc);
140 }
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
template<typename T>
bool __class__< T >::filter ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Definition at line 90 of file EDFilter.cc.

References edm::EventSetup::get(), and edm::Event::getByLabel().

91 {
92  using namespace edm;
93 #ifdef THIS_IS_AN_EVENT_EXAMPLE
95  iEvent.getByLabel("example",pIn);
96 #endif
97 
98 #ifdef THIS_IS_AN_EVENTSETUP_EXAMPLE
99  ESHandle<SetupData> pSetup;
100  iSetup.get<SetupRecord>().get(pSetup);
101 #endif
102  return true;
103 }
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:475
const T & get() const
Definition: EventSetup.h:59
HLT enums.
template<typename T>
const __class__& __class__< T >::operator= ( const __class__< T > &  rhs)
private
template<typename T>
const __class__<T>& __class__< T >::operator= ( const __class__< T > &  rhs)
private
template<typename T>
__class__& __class__< T >::operator= ( __class__< T > &&  rhs)
private
template<typename T>
const __class__& __class__< T >::operator= ( const __class__< T > &  )
private
template<typename T>
__class__<T>& __class__< T >::operator= ( __class__< T > &&  rhs)
private
template<typename T>
__class__ __class__< T >::operator= ( __class__< T > const &  )
private
template<typename T>
__class__::ReturnType __class__< T >::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Definition at line 98 of file EDLooper.cc.

References runTauDisplay::dtype, recoMuon::in, convertSQLitetoXML_cfg::output, and edm::print().

99 {
100  using namespace edm::es;
101 #python_begin
102  out1 = []
103  out2 = []
104  for dtype in __datatypes__:
105  out1.append(" std::unique_ptr<%s> p%s;" % (dtype, dtype))
106  out2.append("p%s" % dtype)
107  output = '\n'.join(out1)
108  output += "\n return products(%s);\n" % ','.join(out2)
109  print output
110 #python_end
111 }
S & print(S &os, JobReport::InputFile const &f)
Definition: JobReport.cc:65
template<typename T>
void __class__< T >::startingNewLoop ( unsigned  int)
virtual

Called before system starts to loop over the events. The argument is a count of how many loops have been processed. For the first time through the events the argument will be 0.

Implements edm::EDLooperBase.

Definition at line 123 of file EDLooper.cc.

124 {
125 }
template<typename T>
void __class__< T >::terminate ( TList &  out)
virtual

Called each time the 'client' has finished processing.

Parameters
outcontains the accumulated output of all slaves.

Implements TFWLiteSelectorBasic.

Definition at line 106 of file TSelector.cc.

References svgfig::canvas(), gather_cfg::cout, create_public_lumi_plots::hist, and kPt.

106  {
107  using namespace std;
108  auto canvas = std::make_unique<TCanvas>();
109 // {
110 // TObject* hist = fromWorkers.FindObject(kA);
111 // if(0!=hist) {
112 // hist->Draw();
113 // canvas->SaveAs( "a.jpg" );
114 // } else {
115 // cout <<"no '"<<kA<<"' histogram"<<endl;
116 // }
117  // }
118 
119 @example_track {
120 @example_track TObject* hist = fromWorkers.FindObject(kPt);
121 @example_track if(0!=hist) {
122 @example_track hist->Draw();
123 @example_track canvas->SaveAs( "pt.jpg" );
124 @example_track } else {
125 @example_track cout <<"no '"<<kPt<<"' histogram"<<endl;
126 @example_track }
127 @example_track }
128 
129 }
example_track example_track const char *const kPt
Definition: TSelector.cc:34
def canvas(sub, attr)
Definition: svgfig.py:481

Member Data Documentation

template<typename T>
example_myparticle edm::InputTag __class__< T >::electronTags_
private

Definition at line 62 of file EDProducer.cc.

template<typename T>
example_histo TH1I* __class__< T >::histo
private

Definition at line 64 of file EDAnalyzer.cc.

Referenced by __class__< T >::analyze().

template<typename T>
example_myparticle edm::InputTag __class__< T >::muonTags_
private

Definition at line 61 of file EDProducer.cc.

template<typename T>
edm::EDGetTokenT<TrackCollection> __class__< T >::tracksToken_
private

Definition at line 63 of file EDAnalyzer.cc.

Referenced by __class__< T >::analyze().