ATLAS Offline Software
LArShapeCompleteMakerAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
10 #ifndef LArShapeCompleteMakerAlg_H
11 #define LArShapeCompleteMakerAlg_H
12 
14 #include "GaudiKernel/ToolHandle.h"
15 
18 
25 #include "LArCafJobs/DataStore.h"
28 #include <string>
29 
30 class MsgStream;
31 class StoreGateSvc;
32 class ILArShape;
33 class HWIdentifier;
34 class Identifier;
35 class LArOnlineID;
36 
38 {
39  public:
40  LArShapeCompleteMakerAlg(const std::string & name, ISvcLocator* pSvcLocator);
41  virtual ~LArShapeCompleteMakerAlg();
42 
43  //standart algorithm methods
44  virtual StatusCode initialize() override final;
45  virtual StatusCode execute() override final;
46  virtual StatusCode finalize() override final;
47 
48  //virtual StatusCode fillHistograms(const EventContext& ctx) const override final;
49 
50  private:
51 
52  const LArOnlineID* m_onlineHelper = nullptr; //good
53 
55 
56  ToolHandle<ILArShapeDumperTool> m_dumperTool;
57 
58  unsigned int m_nSamples = 0U;
59  unsigned int m_nPhases = 0U;
60  unsigned int m_iPhase = 0U;
61  //unsigned int m_nSamples, m_nPhases, m_iPhase;
62  //
63  Gaudi::Property<int> m_minNPulses{this,"minNPulses",0}; //default
64  Gaudi::Property<std::string> m_shapeErrorFileName{this,"shapeErrorFileName", {} };
65  Gaudi::Property<std::string> m_outputTemplateFileName{this,"outputTemplateFileName", {} };
66  Gaudi::Property<std::string> m_outputFileName{this,"outputFileName", {} };
67  Gaudi::Property<std::string> m_sgKey{this,"sgKey", {} };
68  Gaudi::Property<std::string> m_groupingType{this,"groupingType", {} };
69  //int m_minNPulses;
70  //std::string m_shapeErrorFileName, m_outputFileName, m_outputTemplateFileName, m_sgKey;
71  //std::string m_groupingType;
72 
74  { this, "LArOnOffIdMappingKey", "LArOnOffIdMapping", "LArOnOffIdMapping key" };
75 };
76 
77 #endif
TreeShapeErrorGetter.h
python.tests.PyTestsLib.finalize
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
Definition: PyTestsLib.py:53
LArEM_ID.h
ILArShapeDumperTool.h
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition: checker_macros.h:212
DataStore.h
initialize
void initialize()
Definition: run_EoverP.cxx:894
LArHEC_ID.h
HWIdentifier
Definition: HWIdentifier.h:13
LArG4FSStartPointFilterLegacy.execute
execute
Definition: LArG4FSStartPointFilterLegacy.py:20
AthAlgorithm.h
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:128
LArOnOffIdMapping.h
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
LArShapeCompleteMakerAlg::m_template
LArSamples::DataStore * m_template
Definition: LArShapeCompleteMakerAlg.h:54
LArShapeCompleteMakerAlg::m_dumperTool
ToolHandle< ILArShapeDumperTool > m_dumperTool
Definition: LArShapeCompleteMakerAlg.h:56
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
AthAlgorithm
Definition: AthAlgorithm.h:47
ReadCondHandleKey.h
LArShapeCompleteMakerAlg
Definition: LArShapeCompleteMakerAlg.h:38
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
LArOnlineID
Definition: LArOnlineID.h:20
LArSamples::DataStore
storage of the time histories of all the cells
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/DataStore.h:32
SG::ReadCondHandleKey< LArOnOffIdMapping >
LArFCAL_ID.h
CaloGain.h
ILArShape
Definition: ILArShape.h:13