ATLAS Offline Software
Loading...
Searching...
No Matches
LArCablingChecker.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#ifndef LARCABLINGCHECKER
6#define LARCABLINGCHECKER
9//#include "CaloIdentifier/LArEM_ID.h"
11
16
17#include <fstream>
18#include <vector>
19
21{
22 public:
23 LArCablingChecker(const std::string & name, ISvcLocator * pSvcLocator);
24
26
27 //standard algorithm methods
28 StatusCode initialize();
29 StatusCode execute();
30 StatusCode finalize();
31
32 private:
34
35 SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"};
36 SG::ReadCondHandleKey<LArBadChannelCont> m_BCKey{this, "BadChanKey", "LArBadChannel", "SG bad channels key"};
37 SG::ReadCondHandleKey<LArCalibLineMapping> m_CLKey{this, "CalibLineKey", "LArCalibLineMap", "SG calib line key"};
38
41
42 std::ofstream m_outfile;
43 std::string m_key;
44 std::string m_outFileName;
45 //std::vector<unsigned> m_vPattern;
46
47 std::vector<bool> *m_errorcellsThisEvent;
49 std::vector<bool> *m_errorcellsPreviousEvent;
53
54 // Properties
63};
64
65#endif
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
std::string m_outFileName
const LArOnlineID * m_onlineHelper
LArCablingChecker(const std::string &name, ISvcLocator *pSvcLocator)
const LArEM_ID * m_emId
SG::ReadCondHandleKey< LArCalibLineMapping > m_CLKey
std::ofstream m_outfile
SG::ReadCondHandleKey< LArBadChannelCont > m_BCKey
std::vector< bool > * m_errorcellsThisEvent
std::vector< bool > * m_errorcellsPreviousEvent
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
LArOnlineID::size_type m_channelHashMax
Helper class for LArEM offline identifiers.
Definition LArEM_ID.h:111
Identifier::size_type size_type
Definition LArOnlineID.h:24