CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Attributes
edm::AnalyzerWrapper< T > Class Template Reference

#include <EDAnalyzerWrapper.h>

Inheritance diagram for edm::AnalyzerWrapper< T >:
edm::EDAnalyzer

Public Member Functions

virtual void analyze (edm::Event const &event, const edm::EventSetup &eventSetup)
 everything which has to be done during the event loop. NOTE: We can't use the eventSetup in FWLite so ignore it More...
 
 AnalyzerWrapper (const edm::ParameterSet &cfg)
 default contructor More...
 
virtual void beginJob ()
 everything which has to be done before the event loop More...
 
virtual void endJob ()
 everything which has to be done after the event loop More...
 
virtual ~AnalyzerWrapper ()
 default destructor More...
 
- Public Member Functions inherited from edm::EDAnalyzer
 EDAnalyzer ()
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 

Protected Attributes

boost::shared_ptr< Tanalyzer_
 shared pointer to analysis class of type BasicAnalyzer More...
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
typedef WorkerT< EDAnalyzerWorkerType
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Member Functions inherited from edm::EDAnalyzer
CurrentProcessingContext const * currentContext () const
 

Detailed Description

template<class T>
class edm::AnalyzerWrapper< T >

Definition at line 48 of file EDAnalyzerWrapper.h.

Constructor & Destructor Documentation

template<class T >
edm::AnalyzerWrapper< T >::AnalyzerWrapper ( const edm::ParameterSet cfg)

default contructor

Definition at line 69 of file EDAnalyzerWrapper.h.

References loadConditions::analyzer_, and fileService.

69  {
70  // defined TFileService
72  // create analysis class of type BasicAnalyzer
73  analyzer_ = boost::shared_ptr<T>( new T( cfg, *fileService) );
74  }
edm::Service< TFileService > fileService
boost::shared_ptr< T > analyzer_
shared pointer to analysis class of type BasicAnalyzer
long double T
template<class T >
virtual edm::AnalyzerWrapper< T >::~AnalyzerWrapper ( )
inlinevirtual

default destructor

Definition at line 54 of file EDAnalyzerWrapper.h.

54 {};

Member Function Documentation

template<class T >
virtual void edm::AnalyzerWrapper< T >::analyze ( edm::Event const &  event,
const edm::EventSetup eventSetup 
)
inlinevirtual

everything which has to be done during the event loop. NOTE: We can't use the eventSetup in FWLite so ignore it

Implements edm::EDAnalyzer.

Definition at line 58 of file EDAnalyzerWrapper.h.

References edm::AnalyzerWrapper< T >::analyzer_.

58 { analyzer_->analyze(event); }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
boost::shared_ptr< T > analyzer_
shared pointer to analysis class of type BasicAnalyzer
template<class T >
virtual void edm::AnalyzerWrapper< T >::beginJob ( void  )
inlinevirtual

everything which has to be done before the event loop

Reimplemented from edm::EDAnalyzer.

Definition at line 56 of file EDAnalyzerWrapper.h.

References edm::AnalyzerWrapper< T >::analyzer_.

56 { analyzer_->beginJob(); }
boost::shared_ptr< T > analyzer_
shared pointer to analysis class of type BasicAnalyzer
template<class T >
virtual void edm::AnalyzerWrapper< T >::endJob ( void  )
inlinevirtual

everything which has to be done after the event loop

Reimplemented from edm::EDAnalyzer.

Definition at line 60 of file EDAnalyzerWrapper.h.

References edm::AnalyzerWrapper< T >::analyzer_.

60 { analyzer_->endJob(); }
boost::shared_ptr< T > analyzer_
shared pointer to analysis class of type BasicAnalyzer

Member Data Documentation

template<class T >
boost::shared_ptr<T> edm::AnalyzerWrapper< T >::analyzer_
protected

shared pointer to analysis class of type BasicAnalyzer

Definition at line 64 of file EDAnalyzerWrapper.h.

Referenced by edm::AnalyzerWrapper< T >::analyze(), edm::AnalyzerWrapper< T >::beginJob(), and edm::AnalyzerWrapper< T >::endJob().