ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
(
const
EventContext& ctx);
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
AthAlgorithm.h
LArDigitContainer.h
LArEM_ID.h
LArOnOffIdMapping.h
LArOnlineID.h
a
static Double_t a
Definition
LArPhysWaveHECTool.cxx:38
ReadCondHandleKey.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
DumpLArDigits::mySort
Definition
DumpLArDigits.h:37
DumpLArDigits::mySort::operator()
bool operator()(const LArDigit *a, const LArDigit *b)
Definition
DumpLArDigits.cxx:156
DumpLArDigits::finalize
StatusCode finalize()
Definition
DumpLArDigits.cxx:149
DumpLArDigits::m_FileName
std::string m_FileName
Definition
DumpLArDigits.h:35
DumpLArDigits::m_emId
const LArEM_ID * m_emId
Definition
DumpLArDigits.h:33
DumpLArDigits::initialize
StatusCode initialize()
Definition
DumpLArDigits.cxx:28
DumpLArDigits::m_outfile
std::ofstream m_outfile
Definition
DumpLArDigits.h:34
DumpLArDigits::execute
StatusCode execute(const EventContext &ctx)
Execute method.
Definition
DumpLArDigits.cxx:51
DumpLArDigits::~DumpLArDigits
~DumpLArDigits()
Definition
DumpLArDigits.cxx:24
DumpLArDigits::DumpLArDigits
DumpLArDigits(const std::string &name, ISvcLocator *pSvcLocator)
Definition
DumpLArDigits.cxx:14
DumpLArDigits::m_chan
int m_chan
Definition
DumpLArDigits.h:30
DumpLArDigits::m_onlineHelper
const LArOnlineID * m_onlineHelper
Definition
DumpLArDigits.h:32
DumpLArDigits::m_count
int m_count
Definition
DumpLArDigits.h:30
DumpLArDigits::m_key
std::string m_key
Definition
DumpLArDigits.h:35
DumpLArDigits::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition
DumpLArDigits.h:29
LArDigit
Liquid Argon digit base class.
Definition
LArDigit.h:25
LArEM_ID
Helper class for LArEM offline identifiers.
Definition
LArEM_ID.h:111
LArOnlineID
Definition
LArOnlineID.h:21
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
Generated on
for ATLAS Offline Software by
1.17.0