ATLAS Offline Software
Generators
GeneratorFilters
GeneratorFilters
LeptonFilter.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// --------------------------------------------------
6
//
7
// File: GeneratorFilters/LeptonFilter.h
8
// Description: Filters based on presence of charged leptons
9
//
10
// Authors:
11
// I Hinchliffe: December 2001
12
// A Buckley: April 2009
13
14
#ifndef GENERATORFILTERSLEPTONFILTER_H
15
#define GENERATORFILTERSLEPTONFILTER_H
16
17
#include "
GeneratorModules/GenFilter.h
"
18
19
21
class
LeptonFilter
:
public
GenFilter
{
22
23
public
:
24
26
LeptonFilter
(
const
std::string&
name
, ISvcLocator* pSvcLocator);
27
29
virtual
~LeptonFilter
() { }
30
32
virtual
StatusCode
filterInitialize
() {
33
return
StatusCode::SUCCESS;
34
}
35
37
virtual
StatusCode
filterFinalize
() {
38
return
StatusCode::SUCCESS;
39
}
40
42
virtual
StatusCode
filterEvent
();
43
44
45
private
:
46
47
// Minimum pT for a lepton to count
48
double
m_Ptmin
;
49
50
// Maximum pT for a lepton to veto the event
51
double
m_Ptmax
;
52
53
// Minimum |pseudorapidity| for a lepton to count
54
double
m_EtaRange
;
55
56
};
57
58
#endif
LeptonFilter
Definition:
LeptonFilter.py:1
LeptonFilter::filterInitialize
virtual StatusCode filterInitialize()
Initialize.
Definition:
LeptonFilter.h:32
LeptonFilter::~LeptonFilter
virtual ~LeptonFilter()
Destructor.
Definition:
LeptonFilter.h:29
GenFilter.h
LeptonFilter::filterEvent
virtual StatusCode filterEvent()
Do the filtering.
Definition:
LeptonFilter.cxx:28
LeptonFilter::m_Ptmax
double m_Ptmax
Definition:
LeptonFilter.h:51
GenFilter
Base class for event generator filtering modules.
Definition:
GenFilter.h:30
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LeptonFilter::LeptonFilter
LeptonFilter(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition:
LeptonFilter.cxx:19
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:195
LeptonFilter::m_EtaRange
double m_EtaRange
Definition:
LeptonFilter.h:54
LeptonFilter::filterFinalize
virtual StatusCode filterFinalize()
Finalize.
Definition:
LeptonFilter.h:37
LeptonFilter::m_Ptmin
double m_Ptmin
Definition:
LeptonFilter.h:48
Generated on Fri Jul 5 2024 21:20:59 for ATLAS Offline Software by
1.8.18