ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCOOLConditions
LArCOOLConditions
LArShapeSC.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//Dear emacs, this is -*-c++-*-
6
#ifndef LARCOOLCONDITIONS_LARSHAPESC_H
7
#define LARCOOLCONDITIONS_LARSHAPESC_H
8
9
#include "
LArElecCalib/ILArShape.h
"
10
#include "
LArCOOLConditions/LArCondSuperCellBase.h
"
11
#include "
LArCOOLConditions/LArShapeBlob.h
"
12
#include "
LArElecCalib/LArCalibErrorCode.h
"
13
#include <vector>
14
15
class
CondAttrListCollection
;
16
17
class
LArShapeSC
:
public
ILArShape
,
18
public
LArShapeBlob
,
19
public
LArCondSuperCellBase
{
20
21
private
:
22
LArShapeSC
();
23
24
public
:
25
LArShapeSC
(
const
CondAttrListCollection
* attrList);
26
virtual
~LArShapeSC
( );
27
28
bool
good
()
const
{
return
m_isInitialized
&&
m_nChannels
>0; }
29
30
31
// retrieving coefficients using online ID
32
33
virtual
ShapeRef_t
Shape
(
const
HWIdentifier
& CellID,
34
int
gain,
35
int
tbin=0,
36
int
mode=0)
const
;
37
38
virtual
ShapeRef_t
ShapeDer
(
const
HWIdentifier
& CellID,
39
int
gain,
40
int
tbin=0,
41
int
mode=0)
const
;
42
43
// retrieving time offset using online/offline ID
44
45
virtual
float
timeOffset
(
const
HWIdentifier
& CellID,
int
gain)
const
;
46
47
//For the TB / cosmic case: retrieve the number of time-bins (aka "phases")
48
virtual
unsigned
nTimeBins
(
const
HWIdentifier
& CellID,
int
gain)
const
;
49
50
//For the TB / cosmic case: retrieve the witdth of the time bin (default 24 bins in 25 ns)
51
virtual
float
timeBinWidth
(
const
HWIdentifier
& CellID,
int
gain)
const
;
52
53
};
54
55
#include "
AthenaKernel/CondCont.h
"
56
CLASS_DEF
(
LArShapeSC
, 125125776 , 1 )
57
CONDCONT_DEF
(
LArShapeSC
, 70096552,
ILArShape
);
58
#endif
CondCont.h
Hold mappings of ranges to condition objects.
CONDCONT_DEF
#define CONDCONT_DEF(...)
Definition
CondCont.h:1413
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
ILArShape.h
LArCalibErrorCode.h
Defines a common ERRORCODE enum for LAr-Calibration objects.
LArCondSuperCellBase.h
LArShapeBlob.h
CondAttrListCollection
This class is a collection of AttributeLists where each one is associated with a channel number.
Definition
CondAttrListCollection.h:51
HWIdentifier
Definition
HWIdentifier.h:13
ILArShape
Definition
ILArShape.h:13
ILArShape::ShapeRef_t
LArVectorProxy ShapeRef_t
This class defines the interface for accessing Shape (Nsample variable, Dt = 25 ns fixed) @stereotype...
Definition
ILArShape.h:26
LArCondSuperCellBase::m_isInitialized
bool m_isInitialized
Definition
LArCondSuperCellBase.h:22
LArCondSuperCellBase::LArCondSuperCellBase
LArCondSuperCellBase(const std::string &name)
Definition
LArCondSuperCellBase.cxx:14
LArShapeBlob::LArShapeBlob
LArShapeBlob()
Definition
LArShapeBlob.cxx:9
LArShapeBlob::m_nChannels
unsigned m_nChannels
Definition
LArShapeBlob.h:52
LArShapeSC
Definition
LArShapeSC.h:19
LArShapeSC::~LArShapeSC
virtual ~LArShapeSC()
Definition
LArShapeSC.cxx:13
LArShapeSC::good
bool good() const
Definition
LArShapeSC.h:28
LArShapeSC::nTimeBins
virtual unsigned nTimeBins(const HWIdentifier &CellID, int gain) const
Definition
LArShapeSC.cxx:43
LArShapeSC::Shape
virtual ShapeRef_t Shape(const HWIdentifier &CellID, int gain, int tbin=0, int mode=0) const
Definition
LArShapeSC.cxx:27
LArShapeSC::ShapeDer
virtual ShapeRef_t ShapeDer(const HWIdentifier &CellID, int gain, int tbin=0, int mode=0) const
Definition
LArShapeSC.cxx:32
LArShapeSC::timeOffset
virtual float timeOffset(const HWIdentifier &CellID, int gain) const
Definition
LArShapeSC.cxx:37
LArShapeSC::timeBinWidth
virtual float timeBinWidth(const HWIdentifier &CellID, int gain) const
Definition
LArShapeSC.cxx:48
LArShapeSC::LArShapeSC
LArShapeSC()
Definition
LArShapeSC.cxx:9
Generated on
for ATLAS Offline Software by
1.17.0