ATLAS Offline Software
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkCalo
src
ClustersInCone.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef DERIVATIONFRAMEWORK_CLUSTERSINCONE_H
6
#define DERIVATIONFRAMEWORK_CLUSTERSINCONE_H
7
8
#include "
xAODBase/IParticle.h
"
9
#include "
xAODCaloEvent/CaloClusterFwd.h
"
10
#include "
xAODEgamma/EgammaFwd.h
"
11
#include "
xAODMuon/Muon.h
"
12
class
MsgStream;
13
14
namespace
DerivationFramework
{
15
namespace
ClustersInCone
{
16
// Select for generic IParticle
17
void
18
select
(
const
xAOD::IParticle
* particle,
19
const
float
coneSize,
20
const
xAOD::CaloClusterContainer
* clusters,
21
std::vector<bool>& mask);
22
// Overload for Egamma
23
void
24
select
(
const
xAOD::Egamma
* particle,
25
const
float
coneSize,
26
const
xAOD::CaloClusterContainer
* clusters,
27
std::vector<bool>& mask);
28
// Overload for Muons
29
void
30
select
(
const
xAOD::Muon
* particle,
31
const
float
coneSize,
32
const
xAOD::CaloClusterContainer
* clusters,
33
std::vector<bool>& mask,
34
MsgStream&
msg
);
35
// Helper for the muon overload
36
bool
37
GetExtrapEtaPhi
(
const
xAOD::Muon
* mu,
float
&
eta
,
float
&
phi
);
38
}
39
}
40
41
#endif
eta
Scalar eta() const
pseudorapidity method
Definition
AmgMatrixBasePlugin.h:83
phi
Scalar phi() const
phi method
Definition
AmgMatrixBasePlugin.h:67
CaloClusterFwd.h
EgammaFwd.h
IParticle.h
Muon.h
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
DerivationFramework::ClustersInCone
Definition
ClustersInCone.h:15
DerivationFramework::ClustersInCone::GetExtrapEtaPhi
bool GetExtrapEtaPhi(const xAOD::Muon *mu, float &eta, float &phi)
Definition
ClustersInCone.cxx:60
DerivationFramework::ClustersInCone::select
void select(const xAOD::IParticle *particle, const float coneSize, const xAOD::CaloClusterContainer *clusters, std::vector< bool > &mask)
Definition
ClustersInCone.cxx:14
DerivationFramework
THE reconstruction tool.
Definition
ParticleSortingAlg.h:24
xAOD::Egamma
Egamma_v1 Egamma
Definition of the current "egamma version".
Definition
Egamma.h:17
xAOD::Muon
Muon_v1 Muon
Reference the current persistent version:
Definition
Event/xAOD/xAODMuon/xAODMuon/Muon.h:13
xAOD::CaloClusterContainer
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloClusterContainer.h:17
msg
MsgStream & msg
Definition
testRead.cxx:32
Generated on
for ATLAS Offline Software by
1.14.0