ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TileCalorimeter
TileRecUtils
TileRecUtils
TileRawChannelVerify.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//****************************************************************************
6
// Filename : TileRawChannelVerify.h
7
// Author : UC-ATLAS TileCal group
8
// Created : May 2002
9
//
10
// DESCRIPTION
11
// to verify the rawChannels reconstructed from different route or data
12
// source, for example, hit->rawchannel, hit->digits->rawchannel, etc.
13
// Every time it can only compare the results from two routes.
14
// Print out the different on the console.
15
//
16
// Properties (JobOption Parameters):
17
//
18
// TileRawChannelContainer1 string Name of RawChannel Container created
19
// by the first route for read
20
// TileRawChannelContainer2 string Name of RawChannel Container created
21
// by the second route for read
22
//
23
// BUGS:
24
//
25
// History:
26
//
27
//
28
//****************************************************************************
29
30
#ifndef TILERECUTILS_TILERAWCHANNELVERIFY_H
31
#define TILERECUTILS_TILERAWCHANNELVERIFY_H
32
33
// Tile includes
34
#include "
TileEvent/TileRawChannelContainer.h
"
35
36
// Atlas includes
37
#include "
AthenaBaseComps/AthAlgorithm.h
"
38
#include "
StoreGate/ReadHandleKey.h
"
39
40
class
TileHWID
;
41
42
#include <string>
43
50
class
TileRawChannelVerify
:
public
AthAlgorithm
{
51
public
:
52
53
TileRawChannelVerify
(
const
std::string& name, ISvcLocator* pSvcLocator);
54
55
virtual
~TileRawChannelVerify
();
56
57
StatusCode
initialize
();
58
StatusCode
execute
(
const
EventContext& ctx);
59
StatusCode
finalize
();
60
61
private
:
62
63
const
TileHWID
*
m_tileHWID
;
64
65
SG::ReadHandleKey<TileRawChannelContainer>
m_rawChannelContainer1Key
{
this
,
"TileRawChannelContainer1"
,
66
""
,
"Input Tile raw channel container 1 key"
};
67
68
69
SG::ReadHandleKey<TileRawChannelContainer>
m_rawChannelContainer2Key
{
this
,
"TileRawChannelContainer2"
,
70
""
,
"Input Tile raw channel container 2 key"
};
71
72
73
double
m_precision
;
74
75
bool
m_dumpRawChannels
;
76
bool
m_sortFlag
;
77
};
78
79
#endif
// not TILERECUTILS_TILERAWCHANNELVERIFY_H
AthAlgorithm.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TileRawChannelContainer.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
TileHWID
Helper class for TileCal online (hardware) identifiers.
Definition
TileHWID.h:49
TileRawChannelVerify::finalize
StatusCode finalize()
finalize method
Definition
TileRawChannelVerify.cxx:202
TileRawChannelVerify::m_rawChannelContainer1Key
SG::ReadHandleKey< TileRawChannelContainer > m_rawChannelContainer1Key
Definition
TileRawChannelVerify.h:65
TileRawChannelVerify::m_rawChannelContainer2Key
SG::ReadHandleKey< TileRawChannelContainer > m_rawChannelContainer2Key
Definition
TileRawChannelVerify.h:69
TileRawChannelVerify::m_dumpRawChannels
bool m_dumpRawChannels
if true=> Differences found in the TileRawChannels are dumped on the screen
Definition
TileRawChannelVerify.h:75
TileRawChannelVerify::execute
StatusCode execute(const EventContext &ctx)
execute method
Definition
TileRawChannelVerify.cxx:86
TileRawChannelVerify::m_precision
double m_precision
maximum difference between the amplitudes of the TileRawChannels to be compared
Definition
TileRawChannelVerify.h:73
TileRawChannelVerify::~TileRawChannelVerify
virtual ~TileRawChannelVerify()
Destructor.
Definition
TileRawChannelVerify.cxx:69
TileRawChannelVerify::m_tileHWID
const TileHWID * m_tileHWID
Pointer to TileHWID.
Definition
TileRawChannelVerify.h:63
TileRawChannelVerify::TileRawChannelVerify
TileRawChannelVerify(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
TileRawChannelVerify.cxx:60
TileRawChannelVerify::m_sortFlag
bool m_sortFlag
if true=> TileRawChannels are sorted by amplitude
Definition
TileRawChannelVerify.h:76
TileRawChannelVerify::initialize
StatusCode initialize()
initialize method
Definition
TileRawChannelVerify.cxx:73
Generated on
for ATLAS Offline Software by
1.17.0