ATLAS Offline Software
Loading...
Searching...
No Matches
LArShapeP2.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef LARRAWCONDITIONS_LARSHAPEP2
6#define LARRAWCONDITIONS_LARSHAPEP2
7
10#include <vector>
11
14
18
20 : public LAr2DWaveBase
21{
22public:
23
25
28 float timeBinWidth,
29 const std::vector<std::vector<float> >& vShape,
30 const std::vector<std::vector<float> >& vShapeDer);
32 float timeBinWidth,
33 unsigned int nPhases,
34 unsigned int nSamples,
35 const std::vector<float>& shape,
36 const std::vector<float>& shapeDer,
37 unsigned int index);
40
41 size_t shapeSize() const { return waveSize(0); }
42 size_t shapeDerSize() const { return waveSize(1); }
43
44 ShapeRef_t shape (size_t tbin) const { return wave(0, tbin); }
45 ShapeRef_t shapeDer (size_t tbin) const { return wave(1, tbin); }
46};
47
48
49
53
56
57
58template <>
90
91
92#endif
93
Per-channel class holding wave information in time bins.
A more compact way of storing shape/ofc data.
This file defines the template class used for I/O of conditions data.
LArVectorProxy ShapeRef_t
This class defines the interface for accessing Shape (Nsample variable, Dt = 25 ns fixed) @stereotype...
Definition ILArShape.h:26
float timeBinWidth() const
Return the time bin width for this channel.
LAr2DWaveBase()
Default constructor.
size_t waveSize(unsigned int which) const
Return the number of time bins for a wave.
LArVectorProxy wave(unsigned int which, size_t tbin) const
Return wave data.
float timeOffset() const
Return the time offset for this channel.
This acts as a pointer to a LArCompactSubsetChannelProxy.
A more compact way of storing shape/ofc data — non-const portion.
This acts as a pointer to a LArCompactSubsetChannelVector.
This acts like a vector of channel objects.
A more compact way of storing shape/ofc data — const portion.
This acts like a vector of channel objects — const version.
This acts like a FEB ID/channel vector pair.
This acts like a vector of FEB ID / channel vector pairs.
static void copySubset(OTHERIT otherBeg, OTHERIT otherEnd, LArCompactSubsetVector &to, COPIER copier)
Helper used by LArConditionsSubset::assign.
LArCompactSubsetChannelVector ChannelVector
Definition LArShapeP2.h:67
LArCompactSubsetChannelPointer ConstPointer
Definition LArShapeP2.h:66
static void copySubset(OTHERIT otherBeg, OTHERIT otherEnd, SubsetVector &to, COPIER copier)
Definition LArShapeP2.h:81
LArCompactSubsetConstChannelVector ConstChannelVector
Definition LArShapeP2.h:68
LArCompactSubsetVector SubsetVector
Definition LArShapeP2.h:72
LArCompactSubsetChannelVectorPointer ChannelVectorPointer
Definition LArShapeP2.h:69
LArCompactSubsetFebPair FebPair
Definition LArShapeP2.h:70
LArCompactSubsetConstChannelProxy ConstReference
Definition LArShapeP2.h:64
LArCompactSubsetChannelProxy Reference
Definition LArShapeP2.h:63
LArCompactSubsetChannelPointer Pointer
Definition LArShapeP2.h:65
Traits class giving the types to use for the objects contained within the subset.
c-struct reproducing the structure of the persistent data
Definition LArShapeP2.h:21
ShapeRef_t shapeDer(size_t tbin) const
Definition LArShapeP2.h:45
ILArShape::ShapeRef_t ShapeRef_t
Definition LArShapeP2.h:24
size_t shapeSize() const
Definition LArShapeP2.h:41
size_t shapeDerSize() const
Definition LArShapeP2.h:42
ShapeRef_t shape(size_t tbin) const
Definition LArShapeP2.h:44
Definition index.py:1