ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCOOLConditions
LArCOOLConditions
LArShapeFlat.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_LARSHAPEFLAT_H
7
#define LARCOOLCONDITIONS_LARSHAPEFLAT_H
8
9
#include "
LArElecCalib/ILArShape.h
"
10
#include "
LArCOOLConditions/LArCondFlatBase.h
"
11
#include "
LArCOOLConditions/LArShapeBlob.h
"
12
#include "
LArElecCalib/LArCalibErrorCode.h
"
13
#include <vector>
14
15
class
CondAttrListCollection
;
16
17
class
LArShapeFlat
:
public
ILArShape
,
18
public
LArShapeBlob
,
19
public
LArCondFlatBase
{
20
21
private
:
22
LArShapeFlat
();
23
24
public
:
25
LArShapeFlat
(
const
CondAttrListCollection
* attrList);
26
virtual
~LArShapeFlat
( );
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
#include "
AthenaKernel/CondCont.h
"
55
CLASS_DEF
(
LArShapeFlat
, 192810633 , 1 )
56
CONDCONT_DEF
(
LArShapeFlat
, 264124099,
ILArShape
);
57
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.
LArCondFlatBase.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
LArCondFlatBase::LArCondFlatBase
LArCondFlatBase(const std::string &name)
Definition
LArCondFlatBase.cxx:19
LArCondFlatBase::m_isInitialized
bool m_isInitialized
Definition
LArCondFlatBase.h:24
LArShapeBlob::LArShapeBlob
LArShapeBlob()
Definition
LArShapeBlob.cxx:9
LArShapeBlob::m_nChannels
unsigned m_nChannels
Definition
LArShapeBlob.h:52
LArShapeFlat
Definition
LArShapeFlat.h:19
LArShapeFlat::timeBinWidth
virtual float timeBinWidth(const HWIdentifier &CellID, int gain) const
Definition
LArShapeFlat.cxx:48
LArShapeFlat::timeOffset
virtual float timeOffset(const HWIdentifier &CellID, int gain) const
Definition
LArShapeFlat.cxx:36
LArShapeFlat::LArShapeFlat
LArShapeFlat()
Definition
LArShapeFlat.cxx:10
LArShapeFlat::nTimeBins
virtual unsigned nTimeBins(const HWIdentifier &CellID, int gain) const
Definition
LArShapeFlat.cxx:43
LArShapeFlat::good
bool good() const
Definition
LArShapeFlat.h:28
LArShapeFlat::~LArShapeFlat
virtual ~LArShapeFlat()
Definition
LArShapeFlat.cxx:14
LArShapeFlat::Shape
virtual ShapeRef_t Shape(const HWIdentifier &CellID, int gain, int tbin=0, int mode=0) const
Definition
LArShapeFlat.cxx:26
LArShapeFlat::ShapeDer
virtual ShapeRef_t ShapeDer(const HWIdentifier &CellID, int gain, int tbin=0, int mode=0) const
Definition
LArShapeFlat.cxx:31
Generated on
for ATLAS Offline Software by
1.17.0