ATLAS Offline Software
Loading...
Searching...
No Matches
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
11
12#include <vector>
13
14class ILArOFC {
23
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
50CLASS_DEF( ILArOFC, 204091343, 1)
51
52
53//ConditionsContainer clid for athenaMT"
54#include "AthenaKernel/CondCont.h"
55CLASS_DEF( CondCont<ILArOFC> , 136784899 , 1 )
56
57#endif
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Proxy for accessing a range of float values like a vector.
Hold mapping of ranges to condition objects.
Definition CondCont.h:889
virtual OFCRef_t OFC_b(const HWIdentifier &id, int gain, int tbin=0) const =0
virtual unsigned nTimeBins(const HWIdentifier &CellID, int gain) const =0
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)
virtual float timeBinWidth(const HWIdentifier &CellID, int gain) const =0
LArVectorProxy OFCRef_t
This class defines the interface for accessing Optimal Filtering coefficients for each channel provid...
Definition ILArOFC.h:26
virtual float timeOffset(const HWIdentifier &CellID, int gain) const =0
virtual ~ILArOFC()
Definition ILArOFC.h:28
Proxy for accessing a range of float values like a vector.