ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
tauRecTools
src
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
"
17
#include "
CaloInterface/IHadronicCalibrationTool.h
"
18
#include "
CaloIdentifier/LArNeighbours.h
"
19
20
#include "
AsgMessaging/MessageCheck.h
"
21
#include "GaudiKernel/ToolHandle.h"
22
23
class
CaloCell_ID
;
24
25
namespace
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
MessageCheck.h
macros for messaging and checking status codes
ANA_MSG_HEADER
#define ANA_MSG_HEADER(NAME)
for standalone code this creates a new message category
Definition
Control/AthToolSupport/AsgMessaging/AsgMessaging/MessageCheck.h:113
IHadronicCalibrationTool.h
LArNeighbours.h
PFO.h
CaloCell_ID
Helper class for offline cell identifiers.
Definition
CaloCell_ID.h:34
LArNeighbours::neighbourOption
neighbourOption
Definition
LArNeighbours.h:12
TauShotVariableHelpers
implementation of photon shot variable calculation
Definition
TauShotVariableHelpers.cxx:17
TauShotVariableHelpers::getCellBlock
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.
Definition
TauShotVariableHelpers.cxx:48
TauShotVariableHelpers::getNeighbour
const CaloCell * getNeighbour(const CaloCell *cell, const CaloClusterCellLink &links, const CaloCell_ID *calo_id, const LArNeighbours::neighbourOption &option)
Obtain the required neighbour cell.
Definition
TauShotVariableHelpers.cxx:22
TauShotVariableHelpers::ptWindow
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
Definition
TauShotVariableHelpers.cxx:158
xAOD::PFO
PFO_v1 PFO
Definition of the current "pfo version".
Definition
PFO.h:17
Generated on
for ATLAS Offline Software by
1.17.0