ATLAS Offline Software
ILArOFC.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LARELECCALIB_ILAROFC_H
6 #define LARELECCALIB_ILAROFC_H
7 
8 #include "AthenaKernel/CLASS_DEF.h"
11 
12 #include <vector>
13 
14 class ILArOFC {
24  public:
25 
27 
28  virtual ~ILArOFC() {};
29 
32  virtual OFCRef_t OFC_a(const HWIdentifier& id,
33  int gain,
34  int tbin=0) const =0 ;
35 
36  virtual OFCRef_t OFC_b(const HWIdentifier& id,
37  int gain,
38  int tbin=0) const =0 ;
39 
40 
41  virtual float timeOffset(const HWIdentifier& CellID, int gain) const =0; //Useful only in the TB case
42 
43  //For the TB / cosmic case: retrieve the number of time-bins (aka "phases")
44  virtual unsigned nTimeBins(const HWIdentifier& CellID, int gain) const =0;
45 
46  //For the TB / cosmic case: retrieve the witdth of the time bin (default 24 bins in 25 ns)
47  virtual float timeBinWidth(const HWIdentifier& CellID, int gain) const=0;
48 } ;
49 
50 CLASS_DEF( ILArOFC, 204091343, 1)
51 
52 
53 //ConditionsContainer clid for athenaMT"
54 #include "AthenaKernel/CondCont.h"
55 CLASS_DEF( CondCont<ILArOFC> , 136784899 , 1 )
56 
57 #endif
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
ILArOFC::OFC_b
virtual OFCRef_t OFC_b(const HWIdentifier &id, int gain, int tbin=0) const =0
LArVectorProxy.h
Proxy for accessing a range of float values like a vector.
ILArOFC::OFCRef_t
LArVectorProxy OFCRef_t
This class defines the interface for accessing Optimal Filtering coefficients for each channel provid...
Definition: ILArOFC.h:26
HWIdentifier
Definition: HWIdentifier.h:13
ILArOFC::~ILArOFC
virtual ~ILArOFC()
Definition: ILArOFC.h:28
ILArOFC::timeOffset
virtual float timeOffset(const HWIdentifier &CellID, int gain) const =0
ILArOFC::timeBinWidth
virtual float timeBinWidth(const HWIdentifier &CellID, int gain) const =0
ILArOFC
Definition: ILArOFC.h:14
HWIdentifier.h
CondCont< ILArOFC >
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
ILArOFC::OFC_a
virtual OFCRef_t OFC_a(const HWIdentifier &id, int gain, int tbin=0) const =0
access to OFCs by online ID, gain, and tbin (!=0 for testbeam)
ILArOFC::nTimeBins
virtual unsigned nTimeBins(const HWIdentifier &CellID, int gain) const =0
CLASS_DEF.h
macros to associate a CLID to a type
LArVectorProxy
Proxy for accessing a range of float values like a vector.
Definition: LArVectorProxy.h:38