ATLAS Offline Software
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
35 
36 // Atlas includes
39 
40 class TileHWID;
41 
42 #include <string>
43 
51  public:
52 
53  TileRawChannelVerify(const std::string& name, ISvcLocator* pSvcLocator);
54 
55  virtual ~TileRawChannelVerify();
56 
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  double m_precision;
74 
76  bool m_sortFlag;
77 };
78 
79 #endif // not TILERECUTILS_TILERAWCHANNELVERIFY_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TileRawChannelVerify::m_sortFlag
bool m_sortFlag
if true=> TileRawChannels are sorted by amplitude
Definition: TileRawChannelVerify.h:76
TileRawChannelVerify::m_dumpRawChannels
bool m_dumpRawChannels
if true=> Differences found in the TileRawChannels are dumped on the screen
Definition: TileRawChannelVerify.h:75
TileRawChannelVerify::m_tileHWID
const TileHWID * m_tileHWID
Pointer to TileHWID
Definition: TileRawChannelVerify.h:63
TileRawChannelVerify::m_rawChannelContainer2Key
SG::ReadHandleKey< TileRawChannelContainer > m_rawChannelContainer2Key
Definition: TileRawChannelVerify.h:69
SG::ReadHandleKey< TileRawChannelContainer >
TileRawChannelVerify::m_precision
double m_precision
maximum difference between the amplitudes of the TileRawChannels to be compared
Definition: TileRawChannelVerify.h:73
AthAlgorithm.h
TileRawChannelContainer.h
TileHWID
Helper class for TileCal online (hardware) identifiers.
Definition: TileHWID.h:49
TileRawChannelVerify::execute
StatusCode execute()
execute method
Definition: TileRawChannelVerify.cxx:86
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TileRawChannelVerify
This class compares two sets of TileRawChannels.
Definition: TileRawChannelVerify.h:50
TileRawChannelVerify::m_rawChannelContainer1Key
SG::ReadHandleKey< TileRawChannelContainer > m_rawChannelContainer1Key
Definition: TileRawChannelVerify.h:65
TileRawChannelVerify::finalize
StatusCode finalize()
finalize method
Definition: TileRawChannelVerify.cxx:202
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TileRawChannelVerify::~TileRawChannelVerify
virtual ~TileRawChannelVerify()
Destructor
Definition: TileRawChannelVerify.cxx:69
TileRawChannelVerify::initialize
StatusCode initialize()
initialize method
Definition: TileRawChannelVerify.cxx:73
TileRawChannelVerify::TileRawChannelVerify
TileRawChannelVerify(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: TileRawChannelVerify.cxx:60