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::EDProducer edm::ESProducerLooper edm::EDFilter edm::EDAnalyzer edm::EDConsumerBase edm::EDConsumerBase edm::ProducerBase edm::EDLooper edm::EventSetupRecordIntervalFinder edm::ESProducer edm::EDConsumerBase edm::ProducerBase 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::EDProducer
 EDProducer ()
 
virtual ~EDProducer ()
 
- Public Member Functions inherited from edm::ProducerBase
 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
 EDConsumerBase ()
 
ProductHolderIndex indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) 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 &)
 
void doBeginRun (RunPrincipal &, EventSetup const &)
 
Status doDuringLoop (EventPrincipal &eventPrincipal, EventSetup const &es, ProcessingController &)
 
void doEndLuminosityBlock (LuminosityBlockPrincipal &, EventSetup const &)
 
Status doEndOfLoop (EventSetup const &es)
 
void doEndRun (RunPrincipal &, EventSetup const &)
 
void doStartingNewLoop ()
 
 EDLooperBase ()
 
 EDLooperBase (EDLooperBase const &)=delete
 
EDLooperBaseoperator= (EDLooperBase const &)=delete
 
void prepareForNextLoop (eventsetup::EventSetupProvider *esp)
 
void setActionTable (ActionTable const *actionTable)
 
void setModuleChanger (ModuleChanger const *)
 
virtual ~EDLooperBase ()
 
- Public Member Functions inherited from edm::EDFilter
 EDFilter ()
 
virtual ~EDFilter ()
 
- Public Member Functions inherited from edm::EDAnalyzer
 EDAnalyzer ()
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 

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::EDProducer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::EDFilter
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 

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 beginJob () override
 
virtual void beginJob () override
 
virtual void endJob () override
 
virtual void endJob () override
 
virtual void endJob () 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)
 
__class__< T > & operator= (__class__< T > &&rhs)
 
const __class__operator= (const __class__ &)
 
__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, boost::shared_ptr
< DataProxy > > > 
KeyedProxies
 
typedef std::vector
< EventSetupRecordKey
Keys
 
typedef std::map
< EventSetupRecordKey,
KeyedProxies
RecordProxies
 
- Public Types inherited from edm::EDProducer
typedef EDProducer ModuleType
 
typedef WorkerT< EDProducerWorkerType
 
- Public Types inherited from edm::ProducerBase
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 
- Public Types inherited from edm::EDLooperBase
enum  Status { kContinue, kStop }
 
- Public Types inherited from edm::EDFilter
typedef EDFilter ModuleType
 
typedef WorkerT< EDFilterWorkerType
 
- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
typedef WorkerT< EDAnalyzerWorkerType
 
- 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::EDProducer
CurrentProcessingContext const * currentContext () const
 
- Protected Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
- 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
ModuleChanger const * moduleChanger () const
 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::EDFilter
CurrentProcessingContext const * currentContext () const
 
- Protected Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
CurrentProcessingContext const * currentContext () const
 

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 88 of file EDAnalyzer.cc.

89 {
90 
91  // do anything here that needs to be done at desctruction time
92  // (e.g. close files, deallocate resources etc.)
93 
94 }
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 python.seqvaluedict.seqdict::__add__(), python.seqvaluedict.seqdict::__getitem__(), python.seqvaluedict.seqdict::__getslice__(), python.seqvaluedict.seqdict::__radd__(), BeautifulSoup.UnicodeDammit::_ebcdic_to_ascii(), BeautifulSoup.Tag::_invert(), python.seqvaluedict.seqdict::copy(), python.seqvaluedict.seqdict::filter(), python.seqvaluedict.seqdict::map(), python.seqvaluedict.seqdict::split(), and python.seqvaluedict.seqdict::swap().

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

Definition at line 103 of file EDAnalyzer.cc.

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

104 {
105  using namespace edm;
106 
107 @example_track using reco::TrackCollection;
108 
109 @example_track Handle<TrackCollection> tracks;
110 @example_track iEvent.getByLabel(trackTags_,tracks);
111 @example_track for(TrackCollection::const_iterator itTrack = tracks->begin();
112 @example_track itTrack != tracks->end();
113 @example_track ++itTrack) {
114 @example_track int charge = 0;
115 @example_track charge = itTrack->charge();
116 @example_histo histo->Fill( charge );
117 @example_track }
118 
119 #ifdef THIS_IS_AN_EVENT_EXAMPLE
121  iEvent.getByLabel("example",pIn);
122 #endif
123 
124 #ifdef THIS_IS_AN_EVENTSETUP_EXAMPLE
125  ESHandle<SetupData> pSetup;
126  iSetup.get<SetupRecord>().get(pSetup);
127 #endif
128 }
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:10
example_track edm::InputTag trackTags_
Definition: EDAnalyzer.cc:61
double charge(const std::vector< uint8_t > &Ampls)
example_histo TH1D * histo
Definition: EDAnalyzer.cc:62
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:361
tuple tracks
Definition: testEve_cfg.py:39
const T & get() const
Definition: EventSetup.h:55
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 101 of file TSelector.cc.

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

Reimplemented from edm::EDAnalyzer.

template<typename T>
virtual void __class__< T >::beginJob ( )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

template<typename T>
void __class__< T >::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 133 of file EDAnalyzer.cc.

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

Reimplemented from edm::EDLooperBase.

Definition at line 118 of file EDLooper.cc.

119 {
120 }
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 131 of file EDLooper.cc.

References edm::EDLooperBase::kContinue.

132 {
133  return kContinue;
134 }
template<typename T>
virtual void __class__< T >::endJob ( )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

template<typename T>
virtual void __class__< T >::endJob ( )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

template<typename T>
void __class__< T >::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 139 of file EDAnalyzer.cc.

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

Reimplemented from edm::EDLooperBase.

Definition at line 146 of file EDLooper.cc.

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

Definition at line 139 of file EDLooper.cc.

References edm::EDLooperBase::kStop.

140 {
141  return kStop;
142 }
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 177 of file EDAnalyzer.cc.

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

177  {
178  //The following says we do not know what parameters are allowed so do no validation
179  // Please change this to state exactly what you do use, even if it is no parameters
181  desc.setUnknown();
182  descriptions.addDefault(desc);
183 @example_track
184 @example_track //Specify that only 'tracks' is allowed
185 @example_track //To use, remove the default given above and uncomment below
186 @example_track //ParameterSetDescription desc;
187 @example_track //desc.addUntracked<edm::InputTag>("tracks","ctfWithMaterialTracks");
188 @example_track //descriptions.addDefault(desc);
189 }
void addDefault(ParameterSetDescription const &psetDescription)
template<typename T>
static void __class__< T >::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static
template<typename T>
bool __class__< T >::filter ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::EDFilter.

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:361
const T & get() const
Definition: EventSetup.h:55
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>
__class__<T>& __class__< T >::operator= ( __class__< T > &&  rhs)
private
template<typename T>
const __class__& __class__< T >::operator= ( const __class__< T > &  )
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::EDProducer.

Definition at line 100 of file EDLooper.cc.

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

101 {
102  using namespace edm::es;
103 #python_begin
104  out1 = []
105  out2 = []
106  for dtype in __datatypes__:
107  out1.append(" std::auto_ptr<%s> p%s;" % (dtype, dtype))
108  out2.append("p%s" % dtype)
109  output = '\n'.join(out1)
110  output += "\n return products(%s);\n" % ','.join(out2)
111  print output
112 #python_end
113 }
std::string print(const Track &, edm::Verbosity=edm::Concise)
Track print utility.
Definition: print.cc:8
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 125 of file EDLooper.cc.

126 {
127 }
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 107 of file TSelector.cc.

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

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

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