ATLAS Offline Software
LArCaliWaveSelector.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // ----------------------------------------------------------------------------
6 // Selecting a LArCaliWave according DAC
7 //
8 // Author: P. Strizenec
9 // September 2008
10 // ----------------------------------------------------------------------------
11 
12 #ifndef LARCALIWAVESELECTOR_H
13 #define LARCALIWAVESELECTOR_H
14 
18 
19 #include <vector>
20 #include <string>
21 #include <map>
22 
23 typedef std::pair< std::pair<int,int>, int> DetGain;
24 
25 class LArOnlineID;
26 class CaloCell_ID;
27 
29 {
30  public:
31  LArCaliWaveSelector(const std::string & name, ISvcLocator * pSvcLocator);
33 
35  StatusCode execute() { return StatusCode::SUCCESS;};
36  StatusCode stop();
37  StatusCode finalize(){ return StatusCode::SUCCESS;}
38 
39  private:
40 
41  SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"};
42 
43  void parseSelection();
44 
46 
47  std::map<DetGain, int> m_mapDAC;
48  unsigned short m_gmask;
49 
50  std::vector<std::string> m_keyList;
51  std::vector<std::string> m_selectionList;
52  std::string m_outputKey;
53  std::string m_groupingType;
54 
55 };
56 
57 #endif
LArCaliWaveSelector::m_selectionList
std::vector< std::string > m_selectionList
Definition: LArCaliWaveSelector.h:51
LArCaliWaveSelector::finalize
StatusCode finalize()
Definition: LArCaliWaveSelector.h:37
LArCaliWaveSelector
Definition: LArCaliWaveSelector.h:29
LArCaliWaveSelector::stop
StatusCode stop()
Definition: LArCaliWaveSelector.cxx:60
LArCaliWaveSelector::m_outputKey
std::string m_outputKey
Definition: LArCaliWaveSelector.h:52
LArCaliWaveSelector::m_groupingType
std::string m_groupingType
Definition: LArCaliWaveSelector.h:53
LArCaliWaveSelector::initialize
StatusCode initialize()
Definition: LArCaliWaveSelector.cxx:40
AthAlgorithm.h
LArCaliWaveSelector::m_cellID
const CaloCell_ID * m_cellID
Definition: LArCaliWaveSelector.h:45
LArOnOffIdMapping.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArCaliWaveSelector::~LArCaliWaveSelector
~LArCaliWaveSelector()
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
LArCaliWaveSelector::execute
StatusCode execute()
Definition: LArCaliWaveSelector.h:35
AthAlgorithm
Definition: AthAlgorithm.h:47
ReadCondHandleKey.h
LArCaliWaveSelector::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition: LArCaliWaveSelector.h:41
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
LArCaliWaveSelector::m_gmask
unsigned short m_gmask
Definition: LArCaliWaveSelector.h:48
LArCaliWaveSelector::LArCaliWaveSelector
LArCaliWaveSelector(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArCaliWaveSelector.cxx:23
LArCaliWaveSelector::m_mapDAC
std::map< DetGain, int > m_mapDAC
Definition: LArCaliWaveSelector.h:47
LArOnlineID
Definition: LArOnlineID.h:20
DetGain
std::pair< std::pair< int, int >, int > DetGain
Definition: LArCaliWaveSelector.h:23
SG::ReadCondHandleKey< LArOnOffIdMapping >
LArCaliWaveSelector::m_keyList
std::vector< std::string > m_keyList
Definition: LArCaliWaveSelector.h:50
LArCaliWaveSelector::parseSelection
void parseSelection()
Definition: LArCaliWaveSelector.cxx:141