ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArElecCalib
LArElecCalib
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
"
9
#include "
LArElecCalib/LArVectorProxy.h
"
10
#include "
Identifier/HWIdentifier.h
"
11
12
#include <vector>
13
14
class
ILArOFC
{
23
24
public
:
25
26
typedef
LArVectorProxy
OFCRef_t
;
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
CLASS_DEF.h
macros to associate a CLID to a type
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:67
HWIdentifier.h
LArVectorProxy.h
Proxy for accessing a range of float values like a vector.
CondCont
Hold mapping of ranges to condition objects.
Definition
CondCont.h:889
HWIdentifier
Definition
HWIdentifier.h:13
ILArOFC
Definition
ILArOFC.h:14
ILArOFC::OFC_b
virtual OFCRef_t OFC_b(const HWIdentifier &id, int gain, int tbin=0) const =0
ILArOFC::nTimeBins
virtual unsigned nTimeBins(const HWIdentifier &CellID, int gain) const =0
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::timeBinWidth
virtual float timeBinWidth(const HWIdentifier &CellID, int gain) const =0
ILArOFC::OFCRef_t
LArVectorProxy OFCRef_t
This class defines the interface for accessing Optimal Filtering coefficients for each channel provid...
Definition
ILArOFC.h:26
ILArOFC::timeOffset
virtual float timeOffset(const HWIdentifier &CellID, int gain) const =0
ILArOFC::~ILArOFC
virtual ~ILArOFC()
Definition
ILArOFC.h:28
LArVectorProxy
Proxy for accessing a range of float values like a vector.
Definition
LArVectorProxy.h:38
Generated on
for ATLAS Offline Software by
1.17.0