Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

caf_util::EMJetMatching Class Reference

#include <EMJetMatching.hpp>

Inheritance diagram for caf_util::EMJetMatching:

cafe::SelectUserObjects< TMBJet > cafe::Processor List of all members.

Public Member Functions

 EMJetMatching (const char *name)
 ~EMJetMatching ()
bool processEvent (cafe::Event &event)
 Called for every event.

bool selectObject (const TMBJet &jet)
 Abstract select method to be overridden by user.

 ClassDef (EMJetMatching, 0)

Private Member Functions

void after (cafe::Collection< TMBJet > &accepted, cafe::Collection< TMBJet > &rejected)
 Called after the selection is done.


Private Attributes

std::string _electronBranch
std::string _jetBranch
bool _debug
float _dR_Jet_EM
cafe::Event_event
cafe::Variables _vars

Detailed Description

EMJetMatching matches EM with jets. Same matching as in d0correct (spatial matching). Overwrite the flag isEM of the input list of jets. Ouput: new jet branch

Required parameters:

Optional parameters:

Authors:
Frederic Deliot

Definition at line 32 of file EMJetMatching.hpp.


Constructor & Destructor Documentation

caf_util::EMJetMatching::EMJetMatching const char *  name  ) 
 

Definition at line 12 of file EMJetMatching.cpp.

References _debug, _dR_Jet_EM, _electronBranch, _jetBranch, cafe::Config::get(), and cafe::Processor::name().

caf_util::EMJetMatching::~EMJetMatching  )  [inline]
 

Definition at line 36 of file EMJetMatching.hpp.


Member Function Documentation

void caf_util::EMJetMatching::after cafe::Collection< TMBJet > &  input,
cafe::Collection< TMBJet > &  rejected
[private, virtual]
 

Called after the selection is done.

Reimplemented from cafe::SelectUserObjects< TMBJet >.

Definition at line 33 of file EMJetMatching.cpp.

References _dR_Jet_EM, _electronBranch, _event, _vars, cafe::Collection< T >::begin(), cafe::Collection< T >::end(), and cafe::EventBase::getCollection().

caf_util::EMJetMatching::ClassDef EMJetMatching  ,
 

bool caf_util::EMJetMatching::processEvent cafe::Event event  )  [virtual]
 

Called for every event.

Reimplemented from cafe::SelectUserObjects< TMBJet >.

Definition at line 21 of file EMJetMatching.cpp.

References _event.

bool caf_util::EMJetMatching::selectObject const TMBJet jet  )  [virtual]
 

Abstract select method to be overridden by user.

Each object for which this method returns true will be put into the result branch, rejected objected will be put in the rejected object branch

Implements cafe::SelectUserObjects< TMBJet >.

Definition at line 28 of file EMJetMatching.cpp.


Member Data Documentation

bool caf_util::EMJetMatching::_debug [private]
 

Reimplemented from cafe::Processor.

Definition at line 46 of file EMJetMatching.hpp.

Referenced by EMJetMatching().

float caf_util::EMJetMatching::_dR_Jet_EM [private]
 

Definition at line 47 of file EMJetMatching.hpp.

Referenced by after(), and EMJetMatching().

std::string caf_util::EMJetMatching::_electronBranch [private]
 

Definition at line 44 of file EMJetMatching.hpp.

Referenced by after(), and EMJetMatching().

cafe::Event* caf_util::EMJetMatching::_event [private]
 

Definition at line 49 of file EMJetMatching.hpp.

Referenced by after(), and processEvent().

std::string caf_util::EMJetMatching::_jetBranch [private]
 

Definition at line 45 of file EMJetMatching.hpp.

Referenced by EMJetMatching().

cafe::Variables caf_util::EMJetMatching::_vars [private]
 

Reimplemented from cafe::SelectUserObjects< TMBJet >.

Definition at line 50 of file EMJetMatching.hpp.

Referenced by after().


The documentation for this class was generated from the following files:
Generated on Tue Mar 28 10:13:09 2006 for CAF by doxygen 1.3.4