ATLAS Offline Software
PixeldEdxAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
12 #ifndef PIXELDEDXALG_H
13 #define PIXELDEDXALG_H
14 
16 
19 
22 
24 
25 #include "Gaudi/Property.h"
26 
27 class PixeldEdxAlg : public AthAlgorithm {
28  public:
29  PixeldEdxAlg(const std::string& name, ISvcLocator* pSvcLocator);
30  virtual ~PixeldEdxAlg() = default;
31 
32  virtual StatusCode initialize() override;
33  virtual StatusCode execute() override;
34 
35  private:
36 
38 
39  Gaudi::Property<std::string> m_filename
40  {this, "CalibrationFile", "mcpar_signed_234.txt","Read dEdx from this file"};
41 
42  Gaudi::Property<bool> m_readfromcool
43  {this, "ReadFromCOOL", false, "Read from COOL database"};
44 
45  Gaudi::Property<double> m_mindedxformass
46  {this, "MinimumdEdxForMass", 1.8, "Minimum dEdx for mass"};
47 
49  {this, "ReadKey", "/PIXEL/PixdEdx", "Input readout folder"};
50 
52  {this, "WriteKey", "PixeldEdxData", "Output data"};
53 
54 };
55 
56 #endif
PixelID.h
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
PixeldEdxAlg::m_pixelID
const PixelID * m_pixelID
Definition: PixeldEdxAlg.h:37
PixeldEdxAlg::m_readKey
SG::ReadCondHandleKey< AthenaAttributeList > m_readKey
Definition: PixeldEdxAlg.h:49
PixeldEdxAlg::m_mindedxformass
Gaudi::Property< double > m_mindedxformass
Definition: PixeldEdxAlg.h:46
PixeldEdxAlg::m_readfromcool
Gaudi::Property< bool > m_readfromcool
Definition: PixeldEdxAlg.h:43
PixeldEdxAlg::execute
virtual StatusCode execute() override
Definition: PixeldEdxAlg.cxx:29
PixeldEdxAlg::initialize
virtual StatusCode initialize() override
Definition: PixeldEdxAlg.cxx:18
WriteCondHandleKey.h
PixeldEdxAlg::m_writeKey
SG::WriteCondHandleKey< PixeldEdxData > m_writeKey
Definition: PixeldEdxAlg.h:52
PixeldEdxAlg::~PixeldEdxAlg
virtual ~PixeldEdxAlg()=default
AthenaAttributeList.h
AthAlgorithm.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PixeldEdxData.h
Store pixel dEdx data in PixeldEdxData.
AthAlgorithm
Definition: AthAlgorithm.h:47
ReadCondHandleKey.h
PixeldEdxAlg::m_filename
Gaudi::Property< std::string > m_filename
Definition: PixeldEdxAlg.h:40
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
PixeldEdxAlg::PixeldEdxAlg
PixeldEdxAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: PixeldEdxAlg.cxx:14
PixeldEdxAlg
Definition: PixeldEdxAlg.h:27
SG::ReadCondHandleKey< AthenaAttributeList >
SG::WriteCondHandleKey< PixeldEdxData >
PixelID
Definition: PixelID.h:67