ATLAS Offline Software
TileCalorimeter
TileRecAlgs
src
TileCellVerify.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 : TileCellVerify.h
7
// Author : UC-ATLAS TileCal group
8
// Created : May 2002
9
//
10
// DESCRIPTION
11
// to verify the cells reconstructed from different route or data source.
12
// For example, hit->cell, hit->rawchannel->cell,
13
// hit->digits->rawchannel->cell, rawcell->cell, digits->rawchannel->cel
14
// etc.
15
// Every time it can only compare the results from two routes.
16
// Print out the different on the console.
17
//
18
// Properties (JobOption Parameters):
19
//
20
// TileCellContainer1 string Name of CaloCellContainer created by the
21
// first route for read
22
// TileCellContainer2 string Name of CaloCellContainer created by the
23
// second route for read
24
//
25
// BUGS:
26
//
27
// History:
28
//
29
//
30
//****************************************************************************
31
32
#ifndef TILERECALGS_TILECELLVERIFY_H
33
#define TILERECALGS_TILECELLVERIFY_H
34
35
// Calo includes
36
#include "
CaloEvent/CaloCellContainer.h
"
37
38
// Atlas includes
39
#include "
AthenaBaseComps/AthAlgorithm.h
"
40
#include "
StoreGate/ReadHandleKey.h
"
41
42
#include <string>
43
44
class
TileID
;
45
46
class
TileCellVerify
:
public
AthAlgorithm
{
47
public
:
48
// Constructor
49
TileCellVerify
(
const
std::string&
name
, ISvcLocator* pSvcLocator);
50
51
//Destructor
52
virtual
~TileCellVerify
();
53
54
//Gaudi Hooks
55
StatusCode
initialize
();
56
StatusCode
execute
();
57
StatusCode
finalize
();
58
59
private
:
60
61
SG::ReadHandleKey<CaloCellContainer>
m_cellContainer1Key
{
this
,
"TileCellContainer1"
,
62
"TileCellContainer1"
,
63
"Input Calo cell container 1 key"
};
64
65
SG::ReadHandleKey<CaloCellContainer>
m_cellContainer2Key
{
this
,
"TileCellContainer2"
,
66
"TileCellContainer1"
,
67
"Input Calo cell container 2 key"
};
68
69
70
const
TileID
*
m_tileID
;
71
72
bool
m_dumpCells
;
73
bool
m_sortFlag
;
74
};
75
76
#endif // TILERECALGS_TILECELLVERIFY_H
77
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TileCellVerify::TileCellVerify
TileCellVerify(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
TileCellVerify.cxx:49
TileCellVerify::execute
StatusCode execute()
Definition:
TileCellVerify.cxx:77
TileCellVerify::m_cellContainer1Key
SG::ReadHandleKey< CaloCellContainer > m_cellContainer1Key
Definition:
TileCellVerify.h:61
TileCellVerify::finalize
StatusCode finalize()
Definition:
TileCellVerify.cxx:175
SG::ReadHandleKey< CaloCellContainer >
AthAlgorithm.h
TileCellVerify::~TileCellVerify
virtual ~TileCellVerify()
Definition:
TileCellVerify.cxx:60
TileID
Helper class for TileCal offline identifiers.
Definition:
TileID.h:68
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgorithm
Definition:
AthAlgorithm.h:47
TileCellVerify::m_tileID
const TileID * m_tileID
Definition:
TileCellVerify.h:70
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
CaloCellContainer.h
TileCellVerify
Definition:
TileCellVerify.h:46
TileCellVerify::initialize
StatusCode initialize()
Definition:
TileCellVerify.cxx:64
TileCellVerify::m_dumpCells
bool m_dumpCells
Definition:
TileCellVerify.h:72
TileCellVerify::m_sortFlag
bool m_sortFlag
Definition:
TileCellVerify.h:73
TileCellVerify::m_cellContainer2Key
SG::ReadHandleKey< CaloCellContainer > m_cellContainer2Key
Definition:
TileCellVerify.h:65
Generated on Thu Nov 7 2024 21:28:03 for ATLAS Offline Software by
1.8.18