ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
AthPyEx::MyCutClass Class Reference

#include <MyCutClass.h>

Collaboration diagram for AthPyEx::MyCutClass:

Public Member Functions

 MyCutClass (double thr)
 
virtual ~MyCutClass ()
 
bool isAccepted (const Analysis::Electron &e)
 

Private Attributes

double m_Thr
 

Detailed Description

Definition at line 15 of file MyCutClass.h.

Constructor & Destructor Documentation

◆ MyCutClass()

AthPyEx::MyCutClass::MyCutClass ( double  thr)
inline

Definition at line 18 of file MyCutClass.h.

18 : m_Thr(thr) {}

◆ ~MyCutClass()

virtual AthPyEx::MyCutClass::~MyCutClass ( )
inlinevirtual

Definition at line 19 of file MyCutClass.h.

19 {}

Member Function Documentation

◆ isAccepted()

bool AthPyEx::MyCutClass::isAccepted ( const Analysis::Electron e)
inline

Definition at line 21 of file MyCutClass.h.

22  {
23  MsgStream log(Athena::getMessageSvc(), "MyCutClass");
24  log << MSG::DEBUG << e.pt() << endmsg;
25  if (e.pt() > m_Thr) return true;
26  return false;
27  }

Member Data Documentation

◆ m_Thr

double AthPyEx::MyCutClass::m_Thr
private

Definition at line 30 of file MyCutClass.h.


The documentation for this class was generated from the following file:
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
AthPyEx::MyCutClass::m_Thr
double m_Thr
Definition: MyCutClass.h:30
Athena::getMessageSvc
IMessageSvc * getMessageSvc(bool quiet=false)
Definition: getMessageSvc.cxx:20
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20