|
ATLAS Offline Software
|
Go to the documentation of this file.
21 declareInterface<DerivationFramework::IAugmentationTool>(
this);
30 "No SG name provided for the output of EGCrackVetoCleaningTool!");
31 return StatusCode::FAILURE;
36 return StatusCode::SUCCESS;
44 const EventContext& ctx = Gaudi::Hive::currentContext();
54 const std::vector<const xAOD::CaloCluster*> assocC =
56 double dRsatMax = -1.;
57 if (assocC.size() > 1) {
60 if (not sclu)
continue;
61 double dR = clu->
p4().DeltaR(sclu->p4());
66 decoratorPass(*
eg) = !maybeBug || assocC.size() <= 1 ||
70 return StatusCode::SUCCESS;
std::vector< const xAOD::CaloCluster * > getAssociatedTopoClusters(const xAOD::CaloCluster *cluster)
Return a vector of all the topo clusters associated with the egamma cluster.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Description of a calorimeter cluster.
::StatusCode StatusCode
StatusCode definition for legacy code.
Handle class for adding a decoration to an object.
virtual FourMom_t p4() const
The full 4-momentum of the particle.
bool hasSampling(const CaloSample s) const
Checks if certain smapling contributes to cluster.