ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetCalibAlgs
SCT_CalibAlgs
src
SCT_CalibLbTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
10
11
#ifndef SCT_CalibLbTool_h
12
#define SCT_CalibLbTool_h
13
14
//Athena includes
15
#include "
AthenaBaseComps/AthAlgTool.h
"
16
#include "
StoreGate/ReadHandleKey.h
"
17
#include "
SCT_CalibAlgs/ISCT_CalibEvtInfo.h
"
18
#include "
InDetRawData/SCT_RDO_Container.h
"
19
20
//Inner detector includes
21
#include "
InDetIdentifier/SCT_ID.h
"
22
23
//local includes
24
#include "
SCT_CalibAlgs/ISCT_CalibHistoTool.h
"
25
26
//Gaudi includes
27
#include "GaudiKernel/ToolHandle.h"
28
29
//STL includes
30
#include <string>
31
32
//fwd declarations
33
34
class
StatusCode
;
35
class
ISvcLocator;
36
class
IdentifierHash
;
37
38
class
SCT_CalibLbTool
:
public
extends<AthAlgTool, ISCT_CalibHistoTool>
39
{
40
41
public
:
42
//@name Tool methods, reimplemented
44
SCT_CalibLbTool
(
const
std::string&,
const
std::string&,
const
IInterface*);
45
virtual
~SCT_CalibLbTool
() =
default
;
46
virtual
StatusCode
initialize
();
48
//@name ISCT_CalibHistoTool methods, reimplemented
50
virtual
bool
book
();
51
virtual
bool
fill
(
const
bool
fromData=
false
);
52
virtual
bool
read
(
const
std::string& fileName);
53
virtual
bool
fillFromData
();
55
56
private
:
57
ToolHandle<ISCT_CalibEvtInfo>
m_evtInfo
{
this
,
"SCT_CalibEventInfo"
,
"SCT_CalibEventInfo"
};
58
59
const
SCT_ID
*
m_pSCTHelper
{
nullptr
};
60
SCT_ID::const_id_iterator
m_waferItrBegin
;
61
SCT_ID::const_id_iterator
m_waferItrEnd
;
62
typedef
std::vector<int>
VecInt
;
63
VecInt
*
m_sct_waferHash
{
nullptr
};
64
VecInt
*
m_sct_firstStrip
{
nullptr
};
65
VecInt
*
m_sct_rdoGroupSize
{
nullptr
};
66
67
//private use in this class
68
int
m_LbRange
{0};
69
int
m_LbsToMerge
{0};
70
72
std::vector<bool>
m_swapPhiReadoutDirection
{};
73
74
SG::ReadHandleKey<SCT_RDO_Container>
m_rdoContainerKey
{
this
,
"RDOContainer"
,
"SCT_RDOs"
};
75
76
void
fillLbForWafer
(
const
IdentifierHash
& waferHash,
const
int
theFirstStrip,
const
int
groupSize);
77
78
};
79
#endif
AthAlgTool.h
ISCT_CalibEvtInfo.h
interface for SCT_CalibEvtInfo
ISCT_CalibHistoTool.h
Header file to interface class for histograms in the SCT_CalibAlgs package.
SCT_ID.h
This is an Identifier helper class for the SCT subdetector.
SCT_RDO_Container.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
IdentifierHash
This is a "hash" representation of an Identifier.
Definition
IdentifierHash.h:25
SCT_CalibLbTool::m_sct_rdoGroupSize
VecInt * m_sct_rdoGroupSize
Definition
SCT_CalibLbTool.h:65
SCT_CalibLbTool::read
virtual bool read(const std::string &fileName)
Definition
SCT_CalibLbTool.cxx:136
SCT_CalibLbTool::m_pSCTHelper
const SCT_ID * m_pSCTHelper
Definition
SCT_CalibLbTool.h:59
SCT_CalibLbTool::m_rdoContainerKey
SG::ReadHandleKey< SCT_RDO_Container > m_rdoContainerKey
Definition
SCT_CalibLbTool.h:74
SCT_CalibLbTool::book
virtual bool book()
Definition
SCT_CalibLbTool.cxx:83
SCT_CalibLbTool::m_LbsToMerge
int m_LbsToMerge
Definition
SCT_CalibLbTool.h:69
SCT_CalibLbTool::m_LbRange
int m_LbRange
Definition
SCT_CalibLbTool.h:68
SCT_CalibLbTool::VecInt
std::vector< int > VecInt
Definition
SCT_CalibLbTool.h:62
SCT_CalibLbTool::m_evtInfo
ToolHandle< ISCT_CalibEvtInfo > m_evtInfo
Definition
SCT_CalibLbTool.h:57
SCT_CalibLbTool::~SCT_CalibLbTool
virtual ~SCT_CalibLbTool()=default
SCT_CalibLbTool::m_waferItrBegin
SCT_ID::const_id_iterator m_waferItrBegin
Definition
SCT_CalibLbTool.h:60
SCT_CalibLbTool::m_waferItrEnd
SCT_ID::const_id_iterator m_waferItrEnd
Definition
SCT_CalibLbTool.h:61
SCT_CalibLbTool::m_sct_firstStrip
VecInt * m_sct_firstStrip
Definition
SCT_CalibLbTool.h:64
SCT_CalibLbTool::initialize
virtual StatusCode initialize()
Definition
SCT_CalibLbTool.cxx:48
SCT_CalibLbTool::m_swapPhiReadoutDirection
std::vector< bool > m_swapPhiReadoutDirection
Swap phi readout direction.
Definition
SCT_CalibLbTool.h:72
SCT_CalibLbTool::m_sct_waferHash
VecInt * m_sct_waferHash
Definition
SCT_CalibLbTool.h:63
SCT_CalibLbTool::SCT_CalibLbTool
SCT_CalibLbTool(const std::string &, const std::string &, const IInterface *)
Definition
SCT_CalibLbTool.cxx:42
SCT_CalibLbTool::fill
virtual bool fill(const bool fromData=false)
Definition
SCT_CalibLbTool.cxx:187
SCT_CalibLbTool::fillLbForWafer
void fillLbForWafer(const IdentifierHash &waferHash, const int theFirstStrip, const int groupSize)
Definition
SCT_CalibLbTool.cxx:258
SCT_CalibLbTool::fillFromData
virtual bool fillFromData()
Definition
SCT_CalibLbTool.cxx:214
SCT_ID
This is an Identifier helper class for the SCT subdetector.
Definition
SCT_ID.h:68
SCT_ID::const_id_iterator
std::vector< Identifier >::const_iterator const_id_iterator
Definition
SCT_ID.h:73
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Generated on
for ATLAS Offline Software by
1.17.0