15#include "CaloEvent/CaloCluster.h"
29 (
const std::string&
type,
30 const std::string& name,
31 const IInterface* parent)
42 return StatusCode::SUCCESS;
55 "Cluster seed eta position in local calorimeter coordinates") );
57 "Cluster seed phi position in local calorimeter coordinates") );
61 "Cluster eta position in local calorimeter coordinates") );
63 "Cluster phi position in local calorimeter coordinates") );
66 return StatusCode::SUCCESS;
81 return StatusCode::SUCCESS;
96 return StatusCode::SUCCESS;
112 if (p.inBarrel() && !p.inEndcap())
113 sam = CaloCell_ID::EMB2;
114 else if (!p.inBarrel() && p.inEndcap())
115 sam = CaloCell_ID::EME2;
117 if (p.eSample(CaloSampling::EMB2) > p.eSample(CaloSampling::EME2)) sam=CaloCell_ID::EMB2;
118 else sam = CaloCell_ID::EME2;
133 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
Helpers for checking error return status codes and reporting errors.
#define CHECK(...)
Evaluate an expression and check for errors.
static bool getDetPosition(const CaloDetDescrManager &mgr, CaloCell_ID::CaloSample sam, double etaAtlas, double phiAtlas, double &etaDet, double &phiDet)
get Detector level eta-phi position from Atlas level (aligned) position
CaloSampling::CaloSample CaloSample
Principal data class for CaloCell clusters.
virtual StatusCode addVariable(const std::string &name, const std::type_info &ti, void *&ptr, const std::string &docstring="", const void *defval=0)
Block filler tool for noisy FEB information.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.