CMS 3D CMS Logo

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

#include <PileUp.h>

Public Member Functions

void operator() (EventPrincipal const &eventPrincipal)
 
 PassEventID (T &eventOperator)
 

Private Attributes

int eventCount
 
TeventOperator_
 

Detailed Description

template<typename T>
class edm::PassEventID< T >

Definition at line 144 of file PileUp.h.

Constructor & Destructor Documentation

template<typename T>
edm::PassEventID< T >::PassEventID ( T eventOperator)
inline

Definition at line 150 of file PileUp.h.

151  : eventOperator_(eventOperator), eventCount( 0 ) {}
T & eventOperator_
Definition: PileUp.h:147

Member Function Documentation

template<typename T>
void edm::PassEventID< T >::operator() ( EventPrincipal const &  eventPrincipal)
inline

Definition at line 152 of file PileUp.h.

References edm::PassEventID< T >::eventCount, and edm::PassEventID< T >::eventOperator_.

152  {
153  eventOperator_(eventPrincipal, ++eventCount);
154  }
T & eventOperator_
Definition: PileUp.h:147

Member Data Documentation

template<typename T>
int edm::PassEventID< T >::eventCount
private

Definition at line 148 of file PileUp.h.

Referenced by edm::PassEventID< T >::operator()().

template<typename T>
T& edm::PassEventID< T >::eventOperator_
private

Definition at line 147 of file PileUp.h.

Referenced by edm::PassEventID< T >::operator()().