ATLAS Offline Software
Loading...
Searching...
No Matches
LArOFCP1.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_LAROFCP1
6#define LARRAWCONDITIONS_LAROFCP1
7
10#include <vector>
11
14
18
19
21 : public LAr2DWaveBase
22{
23public:
24
26
28 LArOFCP1(float timeOffset,
29 float timeBinWidth,
30 const std::vector<std::vector<float> >& vOFC_a,
31 const std::vector<std::vector<float> >& vOFC_b);
32 LArOFCP1(float timeOffset,
33 float timeBinWidth,
34 unsigned int nPhases,
35 unsigned int nSamples,
36 const std::vector<float>& ofc_a,
37 const std::vector<float>& ofc_b,
38 unsigned int index);
41
42 size_t OFC_aSize() const { return waveSize(0); }
43 size_t OFC_bSize() const { return waveSize(1); }
44
45 OFCRef_t OFC_a (size_t tbin) const { return wave(0, tbin); }
46 OFCRef_t OFC_b (size_t tbin) const { return wave(1, tbin); }
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 OFCRef_t
This class defines the interface for accessing Optimal Filtering coefficients for each channel provid...
Definition ILArOFC.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.
static ConstReference empty()
Definition LArOFCP1.h:74
LArCompactSubsetConstChannelVector ConstChannelVector
Definition LArOFCP1.h:68
LArCompactSubsetChannelProxy Reference
Definition LArOFCP1.h:63
static void copySubset(OTHERIT otherBeg, OTHERIT otherEnd, SubsetVector &to, COPIER copier)
Definition LArOFCP1.h:81
LArCompactSubsetVector SubsetVector
Definition LArOFCP1.h:72
LArCompactSubsetFebPair FebPair
Definition LArOFCP1.h:70
LArCompactSubsetChannelVector ChannelVector
Definition LArOFCP1.h:67
LArCompactSubsetChannelVectorPointer ChannelVectorPointer
Definition LArOFCP1.h:69
LArCompactSubsetChannelPointer Pointer
Definition LArOFCP1.h:65
LArCompactSubsetChannelPointer ConstPointer
Definition LArOFCP1.h:66
LArCompactSubsetConstChannelProxy ConstReference
Definition LArOFCP1.h:64
Traits class giving the types to use for the objects contained within the subset.
c-struct reproducing the structure of the persistent data
Definition LArOFCP1.h:22
ILArOFC::OFCRef_t OFCRef_t
Definition LArOFCP1.h:25
size_t OFC_aSize() const
Definition LArOFCP1.h:42
OFCRef_t OFC_a(size_t tbin) const
Definition LArOFCP1.h:45
size_t OFC_bSize() const
Definition LArOFCP1.h:43
OFCRef_t OFC_b(size_t tbin) const
Definition LArOFCP1.h:46
LArOFCP1()
Definition LArOFCP1.h:27
Definition index.py:1