ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TestBeam
TBRec
src
TBBPCRec.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TBREC_TBBPCREC_H
6
#define TBREC_TBBPCREC_H
8
// //
9
// This algorithm controls event flow and reconstruction and monitoring //
10
// tasks. //
11
// //
13
14
#include "
AthenaBaseComps/AthAlgorithm.h
"
15
16
#include <string>
17
#include <vector>
18
#include "
TBEvent/TBBPCCont.h
"
19
#include "
TBEvent/TBBPCRawCont.h
"
20
21
22
class
TBBPCRec
:
public
AthAlgorithm
23
{
24
25
26
27
public
:
28
29
TBBPCRec
(
const
std::string& name, ISvcLocator* pSvcLocator);
30
virtual
~TBBPCRec
();
31
32
virtual
StatusCode
initialize
()
override
;
33
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
34
virtual
StatusCode
finalize
()
override
;
35
36
StatusCode
getnewcalib
();
37
38
private
:
39
40
42
// Properties //
44
45
Gaudi::Property<std::string>
m_SGkey
{
this
,
"SGkey"
,
"BPCRawCont"
,
"input BPC raw container key"
};
46
Gaudi::Property<std::string>
m_SGrecordkey
{
this
,
"SGrecordkey"
,
"BPCCont"
,
"output BPC container key"
};
47
Gaudi::Property<std::string>
m_calib_filename
{
this
,
"CalibFileName"
,
"H6BPCCalib.txt"
,
"BPC calibration constants file"
};
48
49
unsigned
int
m_runnumber
{0};
50
52
// Calib consts //
54
55
Gaudi::Property<std::vector<std::string>>
m_bpc_names
{
this
,
"BPCnames"
, {},
"BPC names"
};
56
57
Gaudi::Property<std::vector<float>>
m_bpc_calibX
{
this
,
"BPCcalibX"
, {},
"BPC X calibration"
};
58
Gaudi::Property<std::vector<float>>
m_bpc_calibY
{
this
,
"BPCcalibY"
, {},
"BPC Y calibration"
};
59
Gaudi::Property<std::vector<float>>
m_bpc_leftright
{
this
,
"BPCleftright"
, {},
"BPC left/right coefficient"
};
60
Gaudi::Property<std::vector<float>>
m_bpc_updown
{
this
,
"BPCupdown"
, {},
"BPC up/down coefficient"
};
61
Gaudi::Property<std::vector<float>>
m_bpc_udoffset
{
this
,
"BPCudoffset"
, {},
"BPC up/down offset"
};
62
Gaudi::Property<std::vector<float>>
m_bpc_lroffset
{
this
,
"BPClroffset"
, {},
"BPC left/right offset"
};
63
64
Gaudi::Property<std::vector<float>>
m_bpc_invX
{
this
,
"BPCinvX"
, {},
"BPC X inversion"
};
65
Gaudi::Property<std::vector<float>>
m_bpc_invY
{
this
,
"BPCinvY"
, {},
"BPC Y inversion"
};
66
67
Gaudi::Property<std::vector<float>>
m_tdccutmin
{
this
,
"TDCmin"
, {},
"minimum TDC cut"
};
68
Gaudi::Property<std::vector<float>>
m_tdccutmax
{
this
,
"TDCmax"
, {},
"maximum TDC cut"
};
69
Gaudi::Property<std::vector<float>>
m_tdccutlr
{
this
,
"TDClrcut"
, {},
"TDC left+right sum cut"
};
70
Gaudi::Property<std::vector<float>>
m_tdccutud
{
this
,
"TDCudcut"
, {},
"TDC up+down sum cut"
};
71
72
Gaudi::Property<std::vector<float>>
m_rotation
{
this
,
"BPCRotation"
, {},
"BPC rotation angle"
};
73
74
};
75
76
#endif
AthAlgorithm.h
TBBPCCont.h
TBBPCRawCont.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
TBBPCRec::~TBBPCRec
virtual ~TBBPCRec()
Definition
TBBPCRec.cxx:26
TBBPCRec::m_tdccutud
Gaudi::Property< std::vector< float > > m_tdccutud
Definition
TBBPCRec.h:70
TBBPCRec::m_bpc_lroffset
Gaudi::Property< std::vector< float > > m_bpc_lroffset
Definition
TBBPCRec.h:62
TBBPCRec::m_rotation
Gaudi::Property< std::vector< float > > m_rotation
Definition
TBBPCRec.h:72
TBBPCRec::m_bpc_calibX
Gaudi::Property< std::vector< float > > m_bpc_calibX
Definition
TBBPCRec.h:57
TBBPCRec::getnewcalib
StatusCode getnewcalib()
Definition
TBBPCRec.cxx:190
TBBPCRec::m_SGkey
Gaudi::Property< std::string > m_SGkey
Definition
TBBPCRec.h:45
TBBPCRec::m_bpc_updown
Gaudi::Property< std::vector< float > > m_bpc_updown
Definition
TBBPCRec.h:60
TBBPCRec::m_bpc_names
Gaudi::Property< std::vector< std::string > > m_bpc_names
Definition
TBBPCRec.h:55
TBBPCRec::initialize
virtual StatusCode initialize() override
Definition
TBBPCRec.cxx:30
TBBPCRec::m_SGrecordkey
Gaudi::Property< std::string > m_SGrecordkey
Definition
TBBPCRec.h:46
TBBPCRec::finalize
virtual StatusCode finalize() override
Definition
TBBPCRec.cxx:185
TBBPCRec::m_bpc_invX
Gaudi::Property< std::vector< float > > m_bpc_invX
Definition
TBBPCRec.h:64
TBBPCRec::m_bpc_udoffset
Gaudi::Property< std::vector< float > > m_bpc_udoffset
Definition
TBBPCRec.h:61
TBBPCRec::m_bpc_leftright
Gaudi::Property< std::vector< float > > m_bpc_leftright
Definition
TBBPCRec.h:59
TBBPCRec::m_tdccutmin
Gaudi::Property< std::vector< float > > m_tdccutmin
Definition
TBBPCRec.h:67
TBBPCRec::m_runnumber
unsigned int m_runnumber
Definition
TBBPCRec.h:49
TBBPCRec::m_tdccutlr
Gaudi::Property< std::vector< float > > m_tdccutlr
Definition
TBBPCRec.h:69
TBBPCRec::TBBPCRec
TBBPCRec(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TBBPCRec.cxx:21
TBBPCRec::m_calib_filename
Gaudi::Property< std::string > m_calib_filename
Definition
TBBPCRec.h:47
TBBPCRec::execute
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
TBBPCRec.cxx:36
TBBPCRec::m_bpc_invY
Gaudi::Property< std::vector< float > > m_bpc_invY
Definition
TBBPCRec.h:65
TBBPCRec::m_tdccutmax
Gaudi::Property< std::vector< float > > m_tdccutmax
Definition
TBBPCRec.h:68
TBBPCRec::m_bpc_calibY
Gaudi::Property< std::vector< float > > m_bpc_calibY
Definition
TBBPCRec.h:58
Generated on
for ATLAS Offline Software by
1.17.0