CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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::stream::EDProducerBase 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 ()
 
virtual ~TFWLiteSelector ()
 
- Public Member Functions inherited from TFWLiteSelectorBasic
 TFWLiteSelectorBasic ()
 
virtual ~TFWLiteSelectorBasic ()
 
- Public Member Functions inherited from edm::eventsetup::EventSetupRecordImplementation< __class__ >
virtual EventSetupRecordKey key () const
 
- 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 ()
 
virtual ~ESProducer ()
 
- Public Member Functions inherited from edm::ESProxyFactoryProducer
 ESProxyFactoryProducer ()
 
virtual void newInterval (const eventsetup::EventSetupRecordKey &iRecordType, const ValidityInterval &iInterval)
 overrides DataProxyProvider method More...
 
virtual ~ESProxyFactoryProducer ()
 
- 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 ()
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
- Public Member Functions inherited from edm::stream::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducerBase ()
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 ProducerBase ()
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription
const &)> 
registrationCallback () const
 used by the fwk to register list of products More...
 
virtual ~ProducerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 
- Public Member Functions inherited from edm::ESProducerLooper
 ESProducerLooper ()
 
virtual std::set
< eventsetup::EventSetupRecordKey
modifyingRecords () const
 
- Public Member Functions inherited from edm::EventSetupRecordIntervalFinder
const
eventsetup::ComponentDescription
descriptionForFinder () const
 
 EventSetupRecordIntervalFinder ()
 
std::set
< eventsetup::EventSetupRecordKey
findingForRecords () const
 
const ValidityIntervalfindIntervalFor (const eventsetup::EventSetupRecordKey &, const IOVSyncValue &)
 
void setDescriptionForFinder (const eventsetup::ComponentDescription &iDescription)
 
virtual ~EventSetupRecordIntervalFinder ()
 
- Public Member Functions inherited from edm::EDLooper
 EDLooper ()
 
 EDLooper (EDLooper const &)=delete
 
EDLooperoperator= (EDLooper const &)=delete
 
virtual ~EDLooper ()
 
- 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 ()
 
- Public Member Functions inherited from edm::stream::EDFilter<>
 EDFilter ()=default
 
- Public Member Functions inherited from edm::stream::EDFilterBase
 EDFilterBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDFilterBase ()
 
- Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::SharedResources >
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::one::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDAnalyzerBase ()
 

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::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- 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 TH1D * histo
 
example_myparticle edm::InputTag muonTags_
 
example_track edm::InputTag trackTags_
 

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
< EventSetupRecordKey
Keys
 
typedef std::map
< EventSetupRecordKey,
KeyedProxies
RecordProxies
 
- 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, GlobalCache
LuminosityBlockContext
 
typedef
CacheTypes::LuminosityBlockSummaryCache 
LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache,
GlobalCache
RunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDProducerBase
typedef EDProducerAdaptorBase ModuleType
 
- Public Types inherited from edm::ProducerBase
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- 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, GlobalCache
LuminosityBlockContext
 
typedef
CacheTypes::LuminosityBlockSummaryCache 
LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache,
GlobalCache
RunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDFilterBase
typedef EDFilterAdaptorBase ModuleType
 
- 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::auto_ptr< TFactory > iFactory, const std::string &iLabel=std::string())
 
virtual void registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList)
 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::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)
 
- Protected Member Functions inherited from edm::ESProducerLooper
virtual void registerFactoryWithKey (const eventsetup::EventSetupRecordKey &iRecord, std::auto_ptr< eventsetup::ProxyFactoryBase > &iFactory, const std::string &iLabel=std::string())
 
void setIntervalFor (const eventsetup::EventSetupRecordKey &iKey, const IOVSyncValue &iTime, ValidityInterval &oInterval)
 
- 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...
 

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__ ( )

Definition at line 30 of file Skeleton.cc.

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

31 {
32 }
template<typename T>
__class__< T >::~__class__ ( )
virtual

Definition at line 89 of file EDAnalyzer.cc.

90 {
91 
92  // do anything here that needs to be done at desctruction time
93  // (e.g. close files, deallocate resources etc.)
94 
95 }
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 76 of file EDAnalyzer.cc.

References timingPdfMaker::histo.

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

77  :
78 @example_track trackTags_(iConfig.getUntrackedParameter<edm::InputTag>("tracks"))
79 
80 {
81  //now do what ever initialization is needed
82  usesResource("TFileService");
83 @example_histo edm::Service<TFileService> fs;
84 @example_histo histo = fs->make<TH1D>("charge" , "Charges" , 200 , -2 , 2 );
85 
86 }
T getUntrackedParameter(std::string const &, T const &) const
example_track edm::InputTag trackTags_
Definition: EDAnalyzer.cc:61
example_histo TH1D * histo
Definition: EDAnalyzer.cc:62
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

Implements edm::one::EDAnalyzerBase.

Definition at line 104 of file EDAnalyzer.cc.

References RecoTauCleanerPlugins::charge, edm::EventSetup::get(), edm::Event::getByLabel(), __class__< T >::histo, testEve_cfg::tracks, and __class__< T >::trackTags_.

105 {
106  using namespace edm;
107 
108 @example_track using reco::TrackCollection;
109 
110 @example_track Handle<TrackCollection> tracks;
111 @example_track iEvent.getByLabel(trackTags_,tracks);
112 @example_track for(TrackCollection::const_iterator itTrack = tracks->begin();
113 @example_track itTrack != tracks->end();
114 @example_track ++itTrack) {
115 @example_track int charge = 0;
116 @example_track charge = itTrack->charge();
117 @example_histo histo->Fill( charge );
118 @example_track }
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 }
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:14
example_track edm::InputTag trackTags_
Definition: EDAnalyzer.cc:61
example_histo TH1D * histo
Definition: EDAnalyzer.cc:62
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:418
tuple tracks
Definition: testEve_cfg.py:39
const T & get() const
Definition: EventSetup.h:56
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

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 140 of file EDAnalyzer.cc.

141 {
142 }
template<typename T>
void __class__< T >::endOfJob ( )
virtual

Reimplemented from edm::EDLooperBase.

Definition at line 144 of file EDLooper.cc.

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

Reimplemented from edm::stream::EDFilterBase.

Definition at line 113 of file EDFilter.cc.

113  {
114 }
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 146 of file EDAnalyzer.cc.

References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().

146  {
147  //The following says we do not know what parameters are allowed so do no validation
148  // Please change this to state exactly what you do use, even if it is no parameters
150  desc.setUnknown();
151  descriptions.addDefault(desc);
152 @example_track
153 @example_track //Specify that only 'tracks' is allowed
154 @example_track //To use, remove the default given above and uncomment below
155 @example_track //ParameterSetDescription desc;
156 @example_track //desc.addUntracked<edm::InputTag>("tracks","ctfWithMaterialTracks");
157 @example_track //descriptions.addDefault(desc);
158 }
void addDefault(ParameterSetDescription const &psetDescription)
template<typename T>
bool __class__< T >::filter ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::stream::EDFilterBase.

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:418
const T & get() const
Definition: EventSetup.h:56
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

Implements edm::stream::EDProducerBase.

Definition at line 98 of file EDLooper.cc.

References recoMuon::in, convertSQLitetoXML_cfg::output, and reco::print().

99 {
100  using namespace edm::es;
101 #python_begin
102  out1 = []
103  out2 = []
104  for dtype in __datatypes__:
105  out1.append(" std::auto_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 }
std::string print(const Track &, edm::Verbosity=edm::Concise)
Track print utility.
Definition: print.cc:10
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, estimatePileup::hist, and kPt.

106  {
107  using namespace std;
108  std::auto_ptr<TCanvas> canvas( new 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
Definition: svgfig.py:481
tuple cout
Definition: gather_cfg.py:145

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 TH1D* __class__< T >::histo
private

Definition at line 62 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>
example_track edm::InputTag __class__< T >::trackTags_
private

Definition at line 61 of file EDAnalyzer.cc.

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