|
ATLAS Offline Software
|
Go to the documentation of this file.
21 AthAlgorithm(
name, svcLoc), m_sgKeyPhotons(
"Photons"), m_sgKeyElectrons(
"Electrons"), m_sgKeyMuons(
"Muons") {
32 return StatusCode::SUCCESS;
38 for (
auto x : *photons) {
39 if (
x->pt() > 7000.) {
40 if (
x->caloCluster() !=
nullptr) {
41 if (fabs(
x->caloCluster()->eta()) < 2.47) {
51 if (
x->pt() > 7000.) {
52 if (
x->caloCluster() !=
nullptr) {
53 if (fabs(
x->caloCluster()->eta()) < 2.47) {
62 for (
auto x : *muons) {
63 if (
x->pt() > 7000.) {
64 if (fabs(
x->eta()) < 2.5) {
71 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual StatusCode initialize()
Function initialising the algorithm.
Select isolated Photons, Electrons and Muons.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
std::string m_sgKeyElectrons
::StatusCode StatusCode
StatusCode definition for legacy code.
std::string m_sgKeyPhotons
ToolHandle< CP::IIsolationSelectionTool > m_isoTool
virtual StatusCode execute()
Function executing the algorithm.
TestIsolationAthenaAlg(const std::string &name, ISvcLocator *svcLoc)