ATLAS Offline Software
LArCalorimeter
LArTest
LArEventTest
LArEventTest
DumpLArDigits.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef DUMPLARDIGITS_H
6
#define DUMPLARDIGITS_H
7
#include "
AthenaBaseComps/AthAlgorithm.h
"
8
#include "
LArRawEvent/LArDigitContainer.h
"
9
#include "
CaloIdentifier/LArEM_ID.h
"
10
#include "
LArIdentifier/LArOnlineID.h
"
11
#include "
LArCabling/LArOnOffIdMapping.h
"
12
#include "
StoreGate/ReadCondHandleKey.h
"
13
14
//#include "LArDetDescr/LArDetDescrManager.h"
15
#include <fstream>
16
17
class
DumpLArDigits
:
public
AthAlgorithm
18
{
19
public
:
20
DumpLArDigits
(
const
std::string &
name
, ISvcLocator * pSvcLocator);
21
22
~DumpLArDigits
();
23
24
//standart algorithm methods
25
StatusCode
initialize
();
26
StatusCode
execute
();
27
StatusCode
finalize
();
28
private
:
29
SG::ReadCondHandleKey<LArOnOffIdMapping>
m_cablingKey
{
this
,
"CablingKey"
,
"LArOnOffIdMap"
,
"SG Key of LArOnOffIdMapping object"
};
30
int
m_count
,
m_chan
;
31
//LArDigitContainer* m_larDigitCont;
32
const
LArOnlineID
*
m_onlineHelper
;
33
const
LArEM_ID
*
m_emId
;
34
std::ofstream
m_outfile
;
35
std::string
m_key
,
m_FileName
;
36
private
:
37
class
mySort
{
38
public
:
39
bool
operator()
(
const
LArDigit
*
a
,
const
LArDigit
*
b
);
40
};
41
};
42
43
#endif
DumpLArDigits::mySort::operator()
bool operator()(const LArDigit *a, const LArDigit *b)
Definition:
DumpLArDigits.cxx:156
LArEM_ID.h
DumpLArDigits::m_chan
int m_chan
Definition:
DumpLArDigits.h:30
DumpLArDigits::m_key
std::string m_key
Definition:
DumpLArDigits.h:35
DumpLArDigits::m_emId
const LArEM_ID * m_emId
Definition:
DumpLArDigits.h:33
DumpLArDigits
Definition:
DumpLArDigits.h:18
AthAlgorithm.h
LArOnOffIdMapping.h
LArDigit
Liquid Argon digit base class.
Definition:
LArDigit.h:25
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DumpLArDigits::mySort
Definition:
DumpLArDigits.h:37
DumpLArDigits::m_onlineHelper
const LArOnlineID * m_onlineHelper
Definition:
DumpLArDigits.h:32
DumpLArDigits::finalize
StatusCode finalize()
Definition:
DumpLArDigits.cxx:149
AthAlgorithm
Definition:
AthAlgorithm.h:47
DumpLArDigits::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition:
DumpLArDigits.h:29
ReadCondHandleKey.h
DumpLArDigits::execute
StatusCode execute()
Definition:
DumpLArDigits.cxx:51
DumpLArDigits::m_outfile
std::ofstream m_outfile
Definition:
DumpLArDigits.h:34
DumpLArDigits::m_FileName
std::string m_FileName
Definition:
DumpLArDigits.h:35
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
plotBeamSpotMon.b
b
Definition:
plotBeamSpotMon.py:77
LArOnlineID
Definition:
LArOnlineID.h:20
LArDigitContainer.h
SG::ReadCondHandleKey< LArOnOffIdMapping >
a
TList * a
Definition:
liststreamerinfos.cxx:10
LArEM_ID
Helper class for LArEM offline identifiers.
Definition:
LArEM_ID.h:118
DumpLArDigits::~DumpLArDigits
~DumpLArDigits()
Definition:
DumpLArDigits.cxx:24
DumpLArDigits::initialize
StatusCode initialize()
Definition:
DumpLArDigits.cxx:28
DumpLArDigits::m_count
int m_count
Definition:
DumpLArDigits.h:30
LArOnlineID.h
DumpLArDigits::DumpLArDigits
DumpLArDigits(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
DumpLArDigits.cxx:14
Generated on Thu Nov 7 2024 21:13:53 for ATLAS Offline Software by
1.8.18