ATLAS Offline Software
Loading...
Searching...
No Matches
TileRawChannelVerify.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//****************************************************************************
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
35
36// Atlas includes
39
40class TileHWID;
41
42#include <string>
43
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
64
66 "", "Input Tile raw channel container 1 key"};
67
68
70 "", "Input Tile raw channel container 2 key"};
71
72
73 Gaudi::Property<double> m_precision{this, "Precision", 0,
74 "Maximum difference between the amplitudes of the TileRawChannels to be compared"};
75
76 Gaudi::Property<bool> m_dumpRawChannels{this, "DumpRawChannels", false,
77 "If true => Differences found in the TileRawChannels are dumped on the screen"};
78 Gaudi::Property<bool> m_sortFlag{this, "SortFlag", false,
79 "If true => TileRawChannels are sorted by amplitude"};
80};
81
82#endif // not TILERECUTILS_TILERAWCHANNELVERIFY_H
Property holding a SG store/key/clid from which a ReadHandle is made.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Property holding a SG store/key/clid from which a ReadHandle is made.
Helper class for TileCal online (hardware) identifiers.
Definition TileHWID.h:49
StatusCode finalize()
finalize method
SG::ReadHandleKey< TileRawChannelContainer > m_rawChannelContainer1Key
SG::ReadHandleKey< TileRawChannelContainer > m_rawChannelContainer2Key
Gaudi::Property< double > m_precision
StatusCode execute(const EventContext &ctx)
execute method
Gaudi::Property< bool > m_dumpRawChannels
Gaudi::Property< bool > m_sortFlag
virtual ~TileRawChannelVerify()
Destructor.
const TileHWID * m_tileHWID
Pointer to TileHWID.
TileRawChannelVerify(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
StatusCode initialize()
initialize method