|
ATLAS Offline Software
|
Go to the documentation of this file.
43 nameAcc( "nameOfComponent" );
45 exAcc( "exComponent" );
47 eyAcc( "eyComponent" );
49 ezAcc( "ezComponent" );
51 sumEtAcc( "sumEtComponent" );
53 sumEAcc( "sumEComponent" );
55 calib0Acc( "calib0Component" );
57 calib1Acc( "calib1Component" );
59 sumOfSignsAcc( "sumOfSignsComponent" );
61 statusAcc( "statusComponent" );
63 usedchannelsAcc( "usedChannelsComponent" );
67 defineComponents(
const std::
vector< std::
string >& componentNames ) {
70 if( !nameAcc( *this ).empty()) {
71 throw std::runtime_error(
"Attempt to redefine component list for "
72 "xAOD::TrigMissingET object" );
76 nameAcc( *
this ) = componentNames;
79 exAcc( *this ).resize( componentNames.size(), 0.0 );
80 eyAcc( *this ).resize( componentNames.size(), 0.0 );
81 ezAcc( *this ).resize( componentNames.size(), 0.0 );
82 sumEtAcc( *this ).resize( componentNames.size(), 0.0 );
83 sumEAcc( *this ).resize( componentNames.size(), 0.0 );
84 calib0Acc( *this ).resize( componentNames.size(), 0.0 );
85 calib1Acc( *this ).resize( componentNames.size(), 1.0 );
86 sumOfSignsAcc( *this ).resize( componentNames.size(), 1.0 );
87 statusAcc( *this ).resize( componentNames.size(), 0 );
88 usedchannelsAcc( *this ).resize( componentNames.size(), 1 );
96 const std::string&
str ) {
104 return nameAcc( *this ).size();
110 return nameAcc( *this ).at(
index );
121 return exAcc( *this ).at(
index );
132 return eyAcc( *this ).at(
index );
143 return ezAcc( *this ).at(
index );
148 sumEtAcc( *this ).at(
index ) =
val;
154 return sumEtAcc( *this ).at(
index );
165 return sumEAcc( *this ).at(
index );
170 calib0Acc( *this ).at(
index ) =
val;
176 return calib0Acc( *this ).at(
index );
181 calib1Acc( *this ).at(
index ) =
val;
187 return calib1Acc( *this ).at(
index );
192 sumOfSignsAcc( *this ).at(
index ) =
val;
198 return sumOfSignsAcc( *this ).at(
index );
203 statusAcc( *this ).at(
index ) =
val;
209 return statusAcc( *this ).at(
index );
214 usedchannelsAcc( *this ).at(
index ) =
val;
220 return usedchannelsAcc( *this ).at(
index );
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1, float, IP2D_pb, setIP2D_pb) AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1
float exComponent(unsigned int index) const
Get the x component fo the energy of a component.
float sumEComponent(unsigned int index) const
Get SumE.
void setEzComponent(unsigned int index, float value)
Set the z component fo the energy of a component.
void setSumOfSignsComponent(unsigned int index, float value)
Set SumOfSigns.
short statusComponent(unsigned int index) const
Get Status.
void setCalib0Component(unsigned int index, float value)
Set Calib0.
void setExComponent(unsigned int index, float value)
Set the x component fo the energy of a component.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
bool const RAWDATA *ch2 const
float sumOfSignsComponent(unsigned int index) const
Get SumOfSigns.
void setNameOfComponent(unsigned int index, const std::string &str)
Set the name of a component.
void setStatusComponent(unsigned int index, float value)
Set Status.
SG::AuxElement::Accessor< T > Accessor
float calib0Component(unsigned int index) const
Get Calib0.
void setSumEtComponent(unsigned int index, float value)
Set SumEt.
float sumEtComponent(unsigned int index) const
Get SumEt.
float ezComponent(unsigned int index) const
Get the z component fo the energy of a component.
void setFlag(TrigPassFlags *flags, const T *obj, const CONTAINER *container, const std::vector< bool > &flag)
Set the flag at index position.
std::string str(const TrigT2MbtsBits_v1 &trigT2MbtsBits)
void setSumEComponent(unsigned int index, float value)
Set SumE.
void setCalib1Component(unsigned int index, float value)
Set Calib1.
float calib1Component(unsigned int index) const
Get Calib1.
void setUsedChannelsComponent(unsigned int index, float value)
Set used Channels.
unsigned short usedChannelsComponent(unsigned int index) const
Get used Channels.
Class holding the Missing ET trigger fex results.
void setEyComponent(unsigned int index, float value)
Set the y component fo the energy of a component.
float eyComponent(unsigned int index) const
Get the y component fo the energy of a component.
TrigMissingET_v1()
Defaut constructor.
unsigned int getNumberOfComponents() const
Get the number of components.
const std::string & nameOfComponent(unsigned int index) const
Get the name of a component.