ATLAS Offline Software
Loading...
Searching...
No Matches
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
23typedef std::pair< std::pair<int,int>, int> DetGain;
24
25class LArOnlineID;
26class CaloCell_ID;
27
29{
30 public:
31 LArCaliWaveSelector(const std::string & name, ISvcLocator * pSvcLocator);
33
34 StatusCode initialize();
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
std::pair< std::pair< int, int >, int > DetGain
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
std::map< DetGain, int > m_mapDAC
std::vector< std::string > m_keyList
std::vector< std::string > m_selectionList
const CaloCell_ID * m_cellID
LArCaliWaveSelector(const std::string &name, ISvcLocator *pSvcLocator)