CMS 3D CMS Logo

Public Member Functions | Static Public Member Functions | Private Member Functions

fltrname Class Reference

Inheritance diagram for fltrname:
edm::EDFilter edm::ProducerBase edm::ProductRegistryHelper

List of all members.

Public Member Functions

 fltrname (const edm::ParameterSet &)
 ~fltrname ()

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)

Private Member Functions

virtual void beginJob ()
virtual bool beginLuminosityBlock (edm::LuminosityBlock &, edm::EventSetup const &)
virtual bool beginRun (edm::Run &, edm::EventSetup const &)
virtual void endJob ()
virtual bool endLuminosityBlock (edm::LuminosityBlock &, edm::EventSetup const &)
virtual bool endRun (edm::Run &, edm::EventSetup const &)
virtual bool filter (edm::Event &, const edm::EventSetup &)

Detailed Description

Description: [one line class summary]

Implementation: [Notes on implementation]

Definition at line 37 of file edfilter.cc.


Constructor & Destructor Documentation

fltrname::fltrname ( const edm::ParameterSet iConfig) [explicit]

Definition at line 68 of file edfilter.cc.

{
   //now do what ever initialization is needed

}
fltrname::~fltrname ( )

Definition at line 75 of file edfilter.cc.

{
 
   // do anything here that needs to be done at desctruction time
   // (e.g. close files, deallocate resources etc.)

}

Member Function Documentation

void fltrname::beginJob ( void  ) [private, virtual]

Reimplemented from edm::EDFilter.

Definition at line 107 of file edfilter.cc.

{
}
bool fltrname::beginLuminosityBlock ( edm::LuminosityBlock ,
edm::EventSetup const &   
) [private, virtual]

Reimplemented from edm::EDFilter.

Definition at line 132 of file edfilter.cc.

{
  return true;
}
bool fltrname::beginRun ( edm::Run ,
edm::EventSetup const &   
) [private, virtual]

Reimplemented from edm::EDFilter.

Definition at line 118 of file edfilter.cc.

{ 
  return true;
}
void fltrname::endJob ( void  ) [private, virtual]

Reimplemented from edm::EDFilter.

Definition at line 113 of file edfilter.cc.

                 {
}
bool fltrname::endLuminosityBlock ( edm::LuminosityBlock ,
edm::EventSetup const &   
) [private, virtual]

Reimplemented from edm::EDFilter.

Definition at line 139 of file edfilter.cc.

{
  return true;
}
bool fltrname::endRun ( edm::Run ,
edm::EventSetup const &   
) [private, virtual]

Reimplemented from edm::EDFilter.

Definition at line 125 of file edfilter.cc.

{
  return true;
}
void fltrname::fillDescriptions ( edm::ConfigurationDescriptions descriptions) [static]

Reimplemented from edm::EDFilter.

Definition at line 146 of file edfilter.cc.

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

                                                                     {
  //The following says we do not know what parameters are allowed so do no validation
  // Please change this to state exactly what you do use, even if it is no parameters
  edm::ParameterSetDescription desc;
  desc.setUnknown();
  descriptions.addDefault(desc);
}
bool fltrname::filter ( edm::Event iEvent,
const edm::EventSetup iSetup 
) [private, virtual]

Implements edm::EDFilter.

Definition at line 90 of file edfilter.cc.

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

{
   using namespace edm;
#ifdef THIS_IS_AN_EVENT_EXAMPLE
   Handle<ExampleData> pIn;
   iEvent.getByLabel("example",pIn);
#endif

#ifdef THIS_IS_AN_EVENTSETUP_EXAMPLE
   ESHandle<SetupData> pSetup;
   iSetup.get<SetupRecord>().get(pSetup);
#endif
   return true;
}