5#ifndef LARRAWCONDITIONS_LAROFC
6#define LARRAWCONDITIONS_LAROFC
28 bool setOFC(
const IdentifierHash& hid,
const int gain, std::pair<std::vector<float>,std::vector<float>> ofcab);
56 typedef std::vector<std::vector<float> >
vecOFCa;
57 typedef std::vector<std::vector<float> >
vecOFCb;
61 std::array<vecOFCa, CaloGain::LARNGAIN>
m_OFCa;
62 std::array<vecOFCa, CaloGain::LARNGAIN>
m_OFCb;
71#include "AthenaKernel/CondCont.h"
#define CONDCONT_DEF(...)
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
LArVectorProxy OFCRef_t
This class defines the interface for accessing Optimal Filtering coefficients for each channel provid...
This is a "hash" representation of an Identifier.
std::array< vecOFCa, CaloGain::LARNGAIN > m_OFCb
virtual ILArOFC::OFCRef_t OFC_b(const HWIdentifier &id, int gain, int tbin=0) const
bool setOFC(const IdentifierHash &hid, const int gain, std::pair< std::vector< float >, std::vector< float > > ofcab)
const LArOnOffIdMapping * m_cabling
std::vector< std::vector< float > > vecOFCa
std::vector< std::vector< float > > vecOFCb
virtual ILArOFC::OFCRef_t OFC_a(const HWIdentifier &id, int gain, int tbin=0) const
access to OFCs by online ID, gain, and tbin (!=0 for testbeam)
const LArOnlineID_Base * m_onlineID
LArOFC(const LArOnlineID_Base *onlineID, const LArOnOffIdMapping *cabling, const size_t nGains)
virtual unsigned nTimeBins(const HWIdentifier &id, int gain) const
virtual float timeOffset(const HWIdentifier &id, int gain) const
std::array< vecOFCa, CaloGain::LARNGAIN > m_OFCa
virtual float timeBinWidth(const HWIdentifier &id, int gain) const
Helper for the Liquid Argon Calorimeter cell identifiers.