18 static const size_t SIZE = CaloSampling::CaloSample::Unknown;
36 clusterQuality, setClusterQuality )
39 static const Accessor< std::vector <float > > eAcc(
"rawEnergySample");
40 const std::vector<float>& var = eAcc( *
this );
41 if( var.size() <=
static_cast< size_t >( sampling ) ) {
42 std::cerr <<
"xAOD::TrigCaloCluster_v1::rawEnergy ERROR Invalid/unknown "
43 <<
"sampling (" << sampling <<
") requested" << std::endl;
46 return var[ sampling ];
50 const float theEnergy) {
52 std::vector<float>& var = eAcc( *
this );
53 if( var.size() <
SIZE ) var.resize(
SIZE );
54 if( var.size() <=
static_cast< size_t >( sampling ) ) {
55 std::cerr <<
"xAOD::TrigCaloCluster_v1::setRawEnergy ERROR "
56 <<
"Invalid/unknown sampling (" << sampling
57 <<
") requested" << std::endl;
#define AUXSTORE_OBJECT_GETTER(CL, TYPE, NAME)
Macro creating the reader function for a complex auxiliary property.
#define AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of primitive auxiliary properties.
CaloCell_ID::CaloSample CaloSample
SG::Accessor< T, ALLOC > Accessor
Description of a trigger calorimeter cluster.
void setRawEnergy(float)
set Raw Energy (no calibration)
TrigCaloCluster_v1()
Constructor.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1, float, IP2D_pb, setIP2D_pb) AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1
setRawEt setRawPhi nCells