ATLAS Offline Software
HIEventShape_v1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // Local include(s):
9 
10 
11 
12 namespace xAOD {
13 
15  : SG::AuxElement() {
16 
17  }
18 
23  AUXSTORE_OBJECT_SETTER_AND_GETTER( HIEventShape_v1, std::vector<float>, Et_cos, setEt_cos )
24  AUXSTORE_OBJECT_SETTER_AND_GETTER( HIEventShape_v1, std::vector<float>, Et_sin, setEt_sin )
28 
29 
31  linkAcc( "HIsubEventLink" );
33 
34  // Check if the ElementLink variable is available, and writable:
35  if( linkAcc.isAvailableWritable( *this ) ) {
36  // Prepare the ElementLink objects for ROOT I/O:
37  std::vector< ElementLink< HIEventShapeContainer_v1 > >::iterator
38  el_itr = linkAcc( *this ).begin();
39  std::vector< ElementLink< HIEventShapeContainer_v1 > >::iterator
40  el_end = linkAcc( *this ).end();
41  for( ; el_itr != el_end; ++el_itr ) {
42  el_itr->toPersistent();
43  }
44  }
45 
46  return;
47  }
48 
49 
50 
51 } // namespace xAOD
52 
xAOD::AUXSTORE_PRIMITIVE_SETTER_AND_GETTER
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1, float, IP2D_pb, setIP2D_pb) AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1
HIEventShape_v1.h
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
xAOD::HIEventShape_v1::toPersistent
void toPersistent()
Definition: HIEventShape_v1.cxx:32
SG::Accessor
Helper class to provide type-safe access to aux data.
Definition: Control/AthContainers/AthContainers/Accessor.h:68
AuxStoreAccessorMacros.h
xAOD::HIEventShape_v1
Definition: HIEventShape_v1.h:22
xAOD::etaMax
etaMax
Definition: HIEventShape_v2.cxx:46
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::nCells
setRawEt setRawPhi nCells
Definition: TrigCaloCluster_v1.cxx:33
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
HIEventShapeContainer_v1.h
LArCellBinning.etaMin
etaMin
Definition: LArCellBinning.py:84
xAOD::JetConstituentVector::iterator
Definition: JetConstituentVector.h:121
area
double area(double R)
Definition: ConvertStaveServices.cxx:42
xAOD::HIEventShape_v1::HIEventShape_v1
HIEventShape_v1()
Default constructor.
Definition: HIEventShape_v1.cxx:14
fitman.rho
rho
Definition: fitman.py:532
xAOD::AUXSTORE_OBJECT_SETTER_AND_GETTER
AUXSTORE_OBJECT_SETTER_AND_GETTER(CaloRings_v1, RingSetLinks, ringSetLinks, setRingSetLinks) unsigned CaloRings_v1
Definition: CaloRings_v1.cxx:27