ATLAS Offline Software
Loading...
Searching...
No Matches
SCT_SensorCondData.h
Go to the documentation of this file.
1// -*- C++ -*-
2
3/*
4 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5*/
6
13
14#ifndef SCT_SENSORCONDDATA_H
15#define SCT_SENSORCONDDATA_H
16
18
19#include <string>
20
26public:
30 virtual ~SCT_SensorCondData() = default;
31
33 bool setTruncatedSerialNumber(const CondAttrListCollection::ChanNum truncatedSerialNumber);
36
38 bool setManufacturer(const std::string& manufacturer);
40 const std::string& getManufacturer() const;
41
43 bool setDepletionVoltage(const unsigned int sensor, const float depletionVoltage);
45 float getDepletionVoltage(const unsigned int sensor) const;
46
48 bool setCrystalOrientation(const unsigned int sensor, const int crystalOrientation);
50 int getCrystalOrientation(const unsigned int sensor) const;
51
53
54private:
56 std::string m_manufacturer;
59};
60
61// Class definition for StoreGate
63CLASS_DEF( SCT_SensorCondData , 144247573 , 1 )
64
65#endif // SCT_SENSORDATA_H
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Class for data object used in SCT_SensorsCondAlg and SCT_SensorsTool.
int m_crystalOrientation[NUM_SENSORS]
int getCrystalOrientation(const unsigned int sensor) const
Get depletion voltage.
virtual ~SCT_SensorCondData()=default
Destructor.
const std::string & getManufacturer() const
Get manufacturer.
bool setTruncatedSerialNumber(const CondAttrListCollection::ChanNum truncatedSerialNumber)
Set truncated serial number.
SCT_SensorCondData()
Constructor.
CondAttrListCollection::ChanNum getTruncatedSerialNumber() const
Get truncated serial number.
CondAttrListCollection::ChanNum m_truncatedSerialNumber
bool setDepletionVoltage(const unsigned int sensor, const float depletionVoltage)
Set depletion voltage.
float m_depletionVoltage[NUM_SENSORS]
float getDepletionVoltage(const unsigned int sensor) const
Get depletion voltage.
bool setManufacturer(const std::string &manufacturer)
Set manufacturer.
bool setCrystalOrientation(const unsigned int sensor, const int crystalOrientation)
Set depletion voltage.