ATLAS Offline Software
Loading...
Searching...
No Matches
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"
40
41class IPileUpTool;
42
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() 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(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual StatusCode initialize() override
Basic algorithm methods.
TileHitVecToCnt(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters.
ToolHandle< IPileUpTool > m_digTool
virtual bool isClonable() const override final
virtual StatusCode execute() override
virtual ~TileHitVecToCnt()=default