ATLAS Offline Software
Loading...
Searching...
No Matches
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
13#include <vector>
14
16
17class LArShapeSC: public ILArShape,
18 public LArShapeBlob,
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
56CLASS_DEF( LArShapeSC , 125125776 , 1 )
58#endif
Hold mappings of ranges to condition objects.
#define CONDCONT_DEF(...)
Definition CondCont.h:1413
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Defines a common ERRORCODE enum for LAr-Calibration objects.
This class is a collection of AttributeLists where each one is associated with a channel number.
LArVectorProxy ShapeRef_t
This class defines the interface for accessing Shape (Nsample variable, Dt = 25 ns fixed) @stereotype...
Definition ILArShape.h:26
LArCondSuperCellBase(const std::string &name)
unsigned m_nChannels
virtual ~LArShapeSC()
bool good() const
Definition LArShapeSC.h:28
virtual unsigned nTimeBins(const HWIdentifier &CellID, int gain) const
virtual ShapeRef_t Shape(const HWIdentifier &CellID, int gain, int tbin=0, int mode=0) const
virtual ShapeRef_t ShapeDer(const HWIdentifier &CellID, int gain, int tbin=0, int mode=0) const
virtual float timeOffset(const HWIdentifier &CellID, int gain) const
virtual float timeBinWidth(const HWIdentifier &CellID, int gain) const