ATLAS Offline Software
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
31 
32  private:
33  int m_count;
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 
40  const LArEM_ID* m_emId;
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
LArCablingChecker::m_emId
const LArEM_ID * m_emId
Definition: LArCablingChecker.h:40
LArCablingChecker::execute
StatusCode execute()
Definition: LArCablingChecker.cxx:76
LArCablingChecker::m_count
int m_count
Definition: LArCablingChecker.h:33
LArCablingChecker::m_CLKey
SG::ReadCondHandleKey< LArCalibLineMapping > m_CLKey
Definition: LArCablingChecker.h:37
LArOnlineID::size_type
Identifier::size_type size_type
Definition: LArOnlineID.h:23
LArCablingChecker::initialize
StatusCode initialize()
Definition: LArCablingChecker.cxx:44
LArCablingChecker::m_PrintAllCellsAndEvents
bool m_PrintAllCellsAndEvents
Definition: LArCablingChecker.h:55
LArCablingChecker::m_DACMediumGainThreshold
int m_DACMediumGainThreshold
Definition: LArCablingChecker.h:59
LArCablingChecker::m_numberOfEventsWithThisErrorState
int m_numberOfEventsWithThisErrorState
Definition: LArCablingChecker.h:51
AthAlgorithm.h
LArBadChannelCont.h
LArCablingChecker::LArCablingChecker
LArCablingChecker(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArCablingChecker.cxx:14
LArOnOffIdMapping.h
LArCablingChecker::m_onlineHelper
const LArOnlineID * m_onlineHelper
Definition: LArCablingChecker.h:39
LArCablingChecker::m_BCKey
SG::ReadCondHandleKey< LArBadChannelCont > m_BCKey
Definition: LArCablingChecker.h:36
LArCablingChecker::m_outFileName
std::string m_outFileName
Definition: LArCablingChecker.h:44
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArCablingChecker::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition: LArCablingChecker.h:35
LArCablingChecker::m_PrintDisconnectedCells
bool m_PrintDisconnectedCells
Definition: LArCablingChecker.h:56
LArCablingChecker::m_outfile
std::ofstream m_outfile
Definition: LArCablingChecker.h:42
LArCablingChecker::m_errorcellsThisEvent
std::vector< bool > * m_errorcellsThisEvent
Definition: LArCablingChecker.h:47
AthAlgorithm
Definition: AthAlgorithm.h:47
LArCablingChecker::m_key
std::string m_key
Definition: LArCablingChecker.h:43
ReadCondHandleKey.h
LArCablingChecker::m_errorCounterThisEvent
int m_errorCounterThisEvent
Definition: LArCablingChecker.h:48
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
LArCablingChecker::m_DACLowGainThreshold
int m_DACLowGainThreshold
Definition: LArCablingChecker.h:60
LArCablingChecker::~LArCablingChecker
~LArCablingChecker()
Definition: LArCablingChecker.cxx:40
LArOnlineID
Definition: LArOnlineID.h:20
LArDigitContainer.h
SG::ReadCondHandleKey< LArOnOffIdMapping >
LArCablingChecker::m_DACHighGainThreshold
int m_DACHighGainThreshold
Definition: LArCablingChecker.h:58
LArCablingChecker::m_useBadChannelTool
bool m_useBadChannelTool
Definition: LArCablingChecker.h:62
LArCablingChecker::finalize
StatusCode finalize()
Definition: LArCablingChecker.cxx:375
LArEM_ID
Helper class for LArEM offline identifiers.
Definition: LArEM_ID.h:118
LArCablingChecker::m_channelHashMax
LArOnlineID::size_type m_channelHashMax
Definition: LArCablingChecker.h:52
LArCablingChecker
Definition: LArCablingChecker.h:21
LArCalibLineMapping.h
LArCablingChecker::m_errorCounterPreviousEvent
int m_errorCounterPreviousEvent
Definition: LArCablingChecker.h:50
LArOnlineID.h
LArCablingChecker::m_printEventSummary
bool m_printEventSummary
Definition: LArCablingChecker.h:61
LArCablingChecker::m_ADCThreshold
int m_ADCThreshold
Definition: LArCablingChecker.h:57
LArCablingChecker::m_errorcellsPreviousEvent
std::vector< bool > * m_errorcellsPreviousEvent
Definition: LArCablingChecker.h:49