ATLAS Offline Software
LArBadChannel2Ascii.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //Dear emacs, this is -*-c++-*-
6 
7 #ifndef LArBadChannel2Ascii_H
8 #define LArBadChannel2Ascii_H
9 
14 #include <string>
15 
17 {
18 public:
19 
20  //Delegate constructor
22 
24 
25  virtual StatusCode initialize() final;
26  virtual StatusCode execute() final;
27 
28 private:
29 
30  SG::ReadCondHandleKey<LArBadChannelCont> m_BCKey{this,"BCKey","LArBadChannel"};
31  SG::ReadCondHandleKey<LArBadFebCont> m_BFKey{this,"BFKey","LArBadFeb"};
32  SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"LArOnOffIdMapKey","LArOnOffIdMap"};
33 
34  Gaudi::Property<std::string> m_fileName{this,"FileName",""};
35  Gaudi::Property<std::string> m_executiveSummaryFile{this,"ExecutiveSummaryFile",""};
36  Gaudi::Property<bool> m_wMissing{this,"WithMissing",false};
37  Gaudi::Property<bool> m_skipDisconnected{this,"SkipDisconnected",true};
38  Gaudi::Property<bool> m_isSC{"SuperCell",false};
39 
40  enum DetPart {
41  EMB=0,
43  HEC,
45  nParts
46  };
47 
48 
61  };
62 
63  void writeSum(std::ofstream& exeFile, const std::vector<unsigned>& probs, const std::vector<unsigned> nChans) const ;
64 };
65 
66 #endif
LArBadChannel2Ascii::CoarseProblemType
CoarseProblemType
Definition: LArBadChannel2Ascii.h:49
LArBadChannel2Ascii::GrandTotalDead
@ GrandTotalDead
Definition: LArBadChannel2Ascii.h:59
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
LArBadChannel2Ascii::m_BFKey
SG::ReadCondHandleKey< LArBadFebCont > m_BFKey
Definition: LArBadChannel2Ascii.h:31
LArBadChannel2Ascii::m_skipDisconnected
Gaudi::Property< bool > m_skipDisconnected
Definition: LArBadChannel2Ascii.h:37
LArBadChannel2Ascii::nParts
@ nParts
Definition: LArBadChannel2Ascii.h:45
LArBadXCont
Conditions-Data class holding LAr Bad Channel or Bad Feb information.
Definition: LArBadChannelCont.h:28
LArBadChannel2Ascii::DeadPhys
@ DeadPhys
Definition: LArBadChannel2Ascii.h:51
LArBadChannel2Ascii::Distorted
@ Distorted
Definition: LArBadChannel2Ascii.h:56
LArBadChannel2Ascii::Noisy
@ Noisy
Definition: LArBadChannel2Ascii.h:54
LArBadChannel2Ascii::nProblemTypes
@ nProblemTypes
Definition: LArBadChannel2Ascii.h:60
LArBadChannel2Ascii::EMB
@ EMB
Definition: LArBadChannel2Ascii.h:41
LArBadChannel2Ascii::PeakReco
@ PeakReco
Definition: LArBadChannel2Ascii.h:57
LArBadChannel2Ascii::DeadFEB
@ DeadFEB
Definition: LArBadChannel2Ascii.h:53
AthAlgorithm.h
LArBadChannel2Ascii::initialize
virtual StatusCode initialize() final
Definition: LArBadChannel2Ascii.cxx:14
LArBadChannelCont.h
LArOnOffIdMapping.h
LArBadChannel2Ascii::m_fileName
Gaudi::Property< std::string > m_fileName
Definition: LArBadChannel2Ascii.h:34
LArBadChannel2Ascii::writeSum
void writeSum(std::ofstream &exeFile, const std::vector< unsigned > &probs, const std::vector< unsigned > nChans) const
Definition: LArBadChannel2Ascii.cxx:244
LArBadChannel2Ascii::DeadCalib
@ DeadCalib
Definition: LArBadChannel2Ascii.h:52
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArBadChannel2Ascii::m_isSC
Gaudi::Property< bool > m_isSC
Definition: LArBadChannel2Ascii.h:38
LArBadChannel2Ascii::EMEC
@ EMEC
Definition: LArBadChannel2Ascii.h:42
LArBadChannel2Ascii::execute
virtual StatusCode execute() final
Definition: LArBadChannel2Ascii.cxx:28
AthAlgorithm
Definition: AthAlgorithm.h:47
ReadCondHandleKey.h
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
LArBadChannel2Ascii::~LArBadChannel2Ascii
~LArBadChannel2Ascii()=default
SG::ReadCondHandleKey
Definition: ReadCondHandleKey.h:20
LArBadChannel2Ascii::Fibre
@ Fibre
Definition: LArBadChannel2Ascii.h:58
LArBadChannel2Ascii::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition: LArBadChannel2Ascii.h:32
LArBadChannel2Ascii::DeadReadout
@ DeadReadout
Definition: LArBadChannel2Ascii.h:50
LArBadChannel2Ascii::m_executiveSummaryFile
Gaudi::Property< std::string > m_executiveSummaryFile
Definition: LArBadChannel2Ascii.h:35
LArBadChannel2Ascii::m_BCKey
SG::ReadCondHandleKey< LArBadChannelCont > m_BCKey
Definition: LArBadChannel2Ascii.h:30
LArBadChannel2Ascii::Sporadic
@ Sporadic
Definition: LArBadChannel2Ascii.h:55
LArBadChannel2Ascii::FCAL
@ FCAL
Definition: LArBadChannel2Ascii.h:44
LArBadChannel2Ascii::DetPart
DetPart
Definition: LArBadChannel2Ascii.h:40
AthAlgorithm::AthAlgorithm
AthAlgorithm()
Default constructor:
LArBadChannel2Ascii
Definition: LArBadChannel2Ascii.h:17
LArBadChannel2Ascii::HEC
@ HEC
Definition: LArBadChannel2Ascii.h:43
LArBadChannel2Ascii::m_wMissing
Gaudi::Property< bool > m_wMissing
Definition: LArBadChannel2Ascii.h:36