ATLAS Offline Software
Loading...
Searching...
No Matches
TauShotVariableHelpers.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
12
13#ifndef TAURECTOOLS_TAUSHOTVARIABLEHELPERS_H
14#define TAURECTOOLS_TAUSHOTVARIABLEHELPERS_H
15
16#include "xAODPFlow/PFO.h"
19
21#include "GaudiKernel/ToolHandle.h"
22
23class CaloCell_ID;
24
25namespace TauShotVariableHelpers {
26
27 ANA_MSG_HEADER(msgHelperFunction)
28
29
30 const CaloCell* getNeighbour(const CaloCell* cell,
31 const CaloClusterCellLink& links,
32 const CaloCell_ID* calo_id,
33 const LArNeighbours::neighbourOption& option);
34
36 std::vector<std::vector<const CaloCell*>> getCellBlock(const xAOD::PFO& shot,
37 const CaloCell_ID* calo_id);
38
40 float ptWindow(const std::vector<std::vector<const CaloCell*>>& shotCells,
41 int windowSize,
42 const ToolHandle<IHadronicCalibrationTool>& caloWeightTool);
43
44}
45
46#endif // TAURECTOOLS_TAUSHOTVARIABLEHELPERS_H
macros for messaging and checking status codes
#define ANA_MSG_HEADER(NAME)
for standalone code this creates a new message category
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
implementation of photon shot variable calculation
std::vector< std::vector< const CaloCell * > > getCellBlock(const xAOD::PFO &shot, const CaloCell_ID *calo_id)
Get cell block with (currently) 2 x 5 cells in correct order for variable calculations.
const CaloCell * getNeighbour(const CaloCell *cell, const CaloClusterCellLink &links, const CaloCell_ID *calo_id, const LArNeighbours::neighbourOption &option)
Obtain the required neighbour cell.
float ptWindow(const std::vector< std::vector< const CaloCell * > > &shotCells, int windowSize, const ToolHandle< IHadronicCalibrationTool > &caloWeightTool)
pt in a window of (currently) 2 x windowSize cells
PFO_v1 PFO
Definition of the current "pfo version".
Definition PFO.h:17