ATLAS Offline Software
PixelDeadMapCondAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
11 #ifndef PIXELDEADMAPCONDALG_H
12 #define PIXELDEADMAPCONDALG_H
13 
15 
18 
21 
23 
24 #include "Gaudi/Property.h"
25 
27  public:
28  PixelDeadMapCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
29 
30  virtual StatusCode initialize() override final;
31  virtual StatusCode execute(const EventContext& ctx) const override final;
32  virtual bool isReEntrant() const override final { return false; }
33 
34  private:
35 
36  // To convert from identifier to identifier hash
37  const PixelID *m_pixelID{nullptr};
38 
39  // Readkey takes precedence over the jsonPath. If readKey not empty json is ignored
41  {this, "ReadKey", "/PIXEL/PixelModuleFeMask", "Input deadmap folder"};
42 
44  {this, "WriteKey", "PixelDeadMapCondData", "Output deadmap data"};
45 
46  Gaudi::Property<std::string> m_JsonLocation{this,"JsonPath","","Path to the JSON file containing list of modules to be masked"};
47 
48 
49 };
50 
51 #endif
PixelID.h
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
PixelDeadMapCondData.h
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
PixelDeadMapCondAlg::m_pixelID
const PixelID * m_pixelID
Definition: PixelDeadMapCondAlg.h:37
WriteCondHandleKey.h
PixelDeadMapCondAlg::isReEntrant
virtual bool isReEntrant() const override final
Definition: PixelDeadMapCondAlg.h:32
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
PixelDeadMapCondAlg::PixelDeadMapCondAlg
PixelDeadMapCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: PixelDeadMapCondAlg.cxx:18
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PixelDeadMapCondAlg::m_writeKey
SG::WriteCondHandleKey< PixelDeadMapCondData > m_writeKey
Definition: PixelDeadMapCondAlg.h:44
PixelDeadMapCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: PixelDeadMapCondAlg.cxx:33
PixelDeadMapCondAlg::m_readKey
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey
Definition: PixelDeadMapCondAlg.h:41
PixelDeadMapCondAlg::m_JsonLocation
Gaudi::Property< std::string > m_JsonLocation
Definition: PixelDeadMapCondAlg.h:46
PixelDeadMapCondAlg
Definition: PixelDeadMapCondAlg.h:26
PixelDeadMapCondAlg::initialize
virtual StatusCode initialize() override final
Definition: PixelDeadMapCondAlg.cxx:23
ReadCondHandleKey.h
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
SG::ReadCondHandleKey< CondAttrListCollection >
SG::WriteCondHandleKey< PixelDeadMapCondData >
PixelID
Definition: PixelID.h:67