ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TileCalorimeter
TileSimAlgs
TileSimAlgs
TileHitVecToCnt.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
//****************************************************************************
6
// Filename : TileHitVecToCnt.h
7
// Author : Alexandre Solodkov
8
// Created : Dec 2003
9
//
10
// DESCRIPTION
11
//
12
// TileHitVecToCnt copies all TileHits from TileHitVector (AthenaHitsVector)
13
// to TileHitContainer (identifiable container) without any corrections
14
// If pileup option is set, all hits are merged, if several hits have
15
// the same ID, energy and time from all of them is stored in vectors
16
// inside single TileHit
17
//
18
// Properties (JobOption Parameters):
19
//
20
// TileHitVectors string Name of TileHitVector to read
21
// TileHitContainer string Name of TileHitContainer to write
22
// TileInfoName string Name of object in TDS with all parameters
23
// PileUp bool Do or not pileup
24
// HitTimeFlag int Working with hit times
25
//
26
// BUGS:
27
//
28
// History:
29
// 10Jan04 Created from TileCellIDCToCell.
30
// 10Feb04 pileup flag added
32
//
33
//****************************************************************************
34
35
#ifndef TILESIMALGS_TILEHITVECTOCNT_H
36
#define TILESIMALGS_TILEHITVECTOCNT_H
37
38
#include "GaudiKernel/ToolHandle.h"
39
#include "
AthenaBaseComps/AthAlgorithm.h
"
40
41
class
IPileUpTool
;
42
44
class
TileHitVecToCnt
:
public
AthAlgorithm
{
45
46
public
:
47
49
TileHitVecToCnt
(
const
std::string &name,ISvcLocator *pSvcLocator);
50
51
virtual
~TileHitVecToCnt
() =
default
;
52
54
virtual
StatusCode
initialize
()
override
;
55
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
56
virtual
bool
isClonable
()
const
override final {
return
true
; }
57
58
private
:
59
ToolHandle<IPileUpTool>
m_digTool
{
this
,
"DigitizationTool"
,
"TileHitVecToCntTool"
,
"AthAlgTool which performs the conversion from TileHitVectors to TileHitContainers"
};
60
};
61
62
#endif
// TILESIMALGS_TILEHITVECTOCNT_H
AthAlgorithm.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
IPileUpTool
Definition
IPileUpTool.h:24
TileHitVecToCnt::initialize
virtual StatusCode initialize() override
Basic algorithm methods.
Definition
TileHitVecToCnt.cxx:33
TileHitVecToCnt::execute
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
TileHitVecToCnt.cxx:42
TileHitVecToCnt::TileHitVecToCnt
TileHitVecToCnt(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters.
Definition
TileHitVecToCnt.cxx:25
TileHitVecToCnt::m_digTool
ToolHandle< IPileUpTool > m_digTool
Definition
TileHitVecToCnt.h:59
TileHitVecToCnt::isClonable
virtual bool isClonable() const override final
Specify if the algorithm is clonable.
Definition
TileHitVecToCnt.h:56
TileHitVecToCnt::~TileHitVecToCnt
virtual ~TileHitVecToCnt()=default
const
Generated on
for ATLAS Offline Software by
1.17.0