ATLAS Offline Software
CaloCellFilterAlg.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id$
8 #ifndef CALOD3PDMAKER_CALOCELLFILTERALG_H
9 #define CALOD3PDMAKER_CALOCELLFILTERALG_H
10 
11 // STL include(s):
12 #include <string>
13 #include <vector>
14 
15 // Gaudi/Athena include(s):
16 #include "GaudiKernel/ToolHandle.h"
20 
21 // Forward declaration(s):
22 class LArEM_ID;
23 class LArFCAL_ID;
24 class LArHEC_ID;
25 class TileID;
26 
36 
37 public:
39  CaloCellFilterAlg( const std::string& name, ISvcLocator* pSvcLocator );
40 
42  virtual StatusCode initialize();
44  virtual StatusCode execute();
45 
46 private:
47 
48  std::string m_cellsName;
49  std::string m_outputCellsName;
51  std::vector< unsigned int > m_caloNums;
53  // if negative symmetric
54  float m_sigmaCut;
55  std::vector< unsigned int > m_caloSamplings;
56 
57  const LArEM_ID *m_emid;
60  const TileID *m_tileid;
61 
67  "CaloNoise", "", "Calo noise object name"};
68 
71 
72 }; // class CaloCellFilterAlg
73 
74 #endif // CALOD3PDMAKER_CALOCELLFILTERALG_H
CaloCellFilterAlg::m_maxNCells
int m_maxNCells
Maximum number of cells to accept.
Definition: CaloCellFilterAlg.h:50
CaloCellFilterAlg::CaloCellFilterAlg
CaloCellFilterAlg(const std::string &name, ISvcLocator *pSvcLocator)
Regular Gaudi Algorithm constructor.
Definition: CaloCellFilterAlg.cxx:22
CaloCellFilterAlg
Algorithm to filter CaloCellContainer.
Definition: CaloCellFilterAlg.h:35
CaloCellFilterAlg::m_caloSelection
bool m_caloSelection
Definition: CaloCellFilterAlg.h:69
CaloCellFilterAlg::m_cellEnergyThreshold
float m_cellEnergyThreshold
threshold on cell energy for ntuple
Definition: CaloCellFilterAlg.h:52
CaloCellFilterAlg::m_fcalid
const LArFCAL_ID * m_fcalid
Definition: CaloCellFilterAlg.h:58
LArHEC_ID
Helper class for LArHEC offline identifiers.
Definition: LArHEC_ID.h:85
CaloCellFilterAlg::m_outputCellsName
std::string m_outputCellsName
output Cell container
Definition: CaloCellFilterAlg.h:49
AthAlgorithm.h
CaloCellFilterAlg::execute
virtual StatusCode execute()
Function executed for each event.
Definition: CaloCellFilterAlg.cxx:134
CaloCellFilterAlg::m_caloNoiseKey
SG::ReadCondHandleKey< CaloNoise > m_caloNoiseKey
Key of the CaloNoise Conditions data object.
Definition: CaloCellFilterAlg.h:66
TileID
Helper class for TileCal offline identifiers.
Definition: TileID.h:68
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CaloCellFilterAlg::m_sigmaCut
float m_sigmaCut
cut on abs(E)/sigmaNoise (no cut if <0 )
Definition: CaloCellFilterAlg.h:54
AthAlgorithm
Definition: AthAlgorithm.h:47
ReadCondHandleKey.h
CaloCellFilterAlg::m_emid
const LArEM_ID * m_emid
Definition: CaloCellFilterAlg.h:57
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
CaloNoise.h
SG::ReadCondHandleKey< CaloNoise >
CaloCellFilterAlg::m_tileid
const TileID * m_tileid
Definition: CaloCellFilterAlg.h:60
CaloCellFilterAlg::m_hecid
const LArHEC_ID * m_hecid
Definition: CaloCellFilterAlg.h:59
LArEM_ID
Helper class for LArEM offline identifiers.
Definition: LArEM_ID.h:118
LArFCAL_ID
Helper class for LArFCAL offline identifiers.
Definition: LArFCAL_ID.h:60
CaloCellFilterAlg::m_cellsName
std::string m_cellsName
Cell container.
Definition: CaloCellFilterAlg.h:48
CaloCellFilterAlg::m_caloNums
std::vector< unsigned int > m_caloNums
which calo to treat
Definition: CaloCellFilterAlg.h:51
CaloCellFilterAlg::initialize
virtual StatusCode initialize()
Function executed before the event loop starts.
Definition: CaloCellFilterAlg.cxx:51
CaloCellFilterAlg::m_caloSamplingSelection
bool m_caloSamplingSelection
Definition: CaloCellFilterAlg.h:70
CaloCellFilterAlg::m_caloSamplings
std::vector< unsigned int > m_caloSamplings
which calo samplings to treat
Definition: CaloCellFilterAlg.h:55