#include <LArOFC.h>
|
| typedef LArVectorProxy | OFCRef_t |
| | This class defines the interface for accessing Optimal Filtering coefficients for each channel provide both offline and online ID access.
|
|
| | LArOFC (const LArOnlineID_Base *onlineID, const LArOnOffIdMapping *cabling, const size_t nGains) |
| virtual | ~LArOFC () |
| bool | setOFC (const IdentifierHash &hid, const int gain, std::pair< std::vector< float >, std::vector< float > > ofcab) |
| 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)
|
| virtual ILArOFC::OFCRef_t | OFC_b (const HWIdentifier &id, int gain, int tbin=0) const |
| virtual ILArOFC::OFCRef_t | OFC_a (const Identifier &id, int gain, int tbin=0) const |
| virtual ILArOFC::OFCRef_t | OFC_b (const Identifier &id, int gain, int tbin=0) const |
| virtual float | timeOffset (const HWIdentifier &id, int gain) const |
| virtual float | timeOffset (const Identifier &CellID, int gain) const |
| virtual unsigned | nTimeBins (const HWIdentifier &id, int gain) const |
| virtual unsigned | nTimeBins (const Identifier &CellID, int gain) const |
| virtual float | timeBinWidth (const HWIdentifier &id, int gain) const |
| virtual float | timeBinWidth (const Identifier &CellID, int gain) const |
|
| typedef std::vector< std::vector< float > > | vecOFCa |
| typedef std::vector< std::vector< float > > | vecOFCb |
Definition at line 19 of file LArOFC.h.
◆ OFCRef_t
This class defines the interface for accessing Optimal Filtering coefficients for each channel provide both offline and online ID access.
- Author
- W.Lampl, S.Laplace
- Version
- 0-0-1 , 10/12/2003
History:
- 08/02/2004, S. Laplace: new online ID
Definition at line 26 of file ILArOFC.h.
◆ vecOFCa
◆ vecOFCb
◆ LArOFC()
Definition at line 10 of file LArOFC.cxx.
10 :
13
15 assert(nGains<=CaloGain::LARNGAIN && nGains>0);
16
17 for (
size_t i=0;
i<nGains;++
i) {
20 }
21
22}
std::array< vecOFCa, CaloGain::LARNGAIN > m_OFCb
const LArOnOffIdMapping * m_cabling
const LArOnlineID_Base * m_onlineID
std::array< vecOFCa, CaloGain::LARNGAIN > m_OFCa
size_type channelHashMax() const
Define channel hash tables max size.
◆ ~LArOFC()
◆ nTimeBins() [1/2]
| unsigned LArOFC::nTimeBins |
( |
const HWIdentifier & | id, |
|
|
int | gain ) const |
|
virtual |
◆ nTimeBins() [2/2]
| unsigned LArOFC::nTimeBins |
( |
const Identifier & | CellID, |
|
|
int | gain ) const |
|
virtual |
◆ OFC_a() [1/2]
access to OFCs by online ID, gain, and tbin (!=0 for testbeam)
Implements ILArOFC.
Definition at line 33 of file LArOFC.cxx.
33 {
34 const IdentifierHash hid =
m_onlineID->channel_Hash(hwid);
36}
◆ OFC_a() [2/2]
Definition at line 38 of file LArOFC.cxx.
38 {
39 const HWIdentifier hwid =
m_cabling->createSignalChannelID(
id);
40 return this->
OFC_a(hwid, gain);
41}
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)
◆ OFC_b() [1/2]
◆ OFC_b() [2/2]
Definition at line 48 of file LArOFC.cxx.
48 {
49 const HWIdentifier hwid =
m_cabling->createSignalChannelID(
id);
50 return this->
OFC_b(hwid, gain);
51}
virtual ILArOFC::OFCRef_t OFC_b(const HWIdentifier &id, int gain, int tbin=0) const
◆ setOFC()
| bool LArOFC::setOFC |
( |
const IdentifierHash & | hid, |
|
|
const int | gain, |
|
|
std::pair< std::vector< float >, std::vector< float > > | ofcab ) |
◆ timeBinWidth() [1/2]
| float LArOFC::timeBinWidth |
( |
const HWIdentifier & | id, |
|
|
int | gain ) const |
|
virtual |
◆ timeBinWidth() [2/2]
| float LArOFC::timeBinWidth |
( |
const Identifier & | CellID, |
|
|
int | gain ) const |
|
virtual |
◆ timeOffset() [1/2]
| float LArOFC::timeOffset |
( |
const HWIdentifier & | id, |
|
|
int | gain ) const |
|
virtual |
◆ timeOffset() [2/2]
| float LArOFC::timeOffset |
( |
const Identifier & | CellID, |
|
|
int | gain ) const |
|
virtual |
◆ m_cabling
◆ m_OFCa
◆ m_OFCb
◆ m_onlineID
The documentation for this class was generated from the following files: