ATLAS Offline Software
Loading...
Searching...
No Matches
xAOD::JEMEtSums_v1 Class Reference

Description of JEMEtSums_v1. More...

#include <JEMEtSums_v1.h>

Inheritance diagram for xAOD::JEMEtSums_v1:
Collaboration diagram for xAOD::JEMEtSums_v1:

Public Member Functions

 JEMEtSums_v1 ()
int crate () const
 get crate number
void setCrate (int)
 set crate number
int module () const
 get module
void setModule (int)
 set module
int peak () const
 get peak
void setPeak (int)
 set peak
const std::vector< unsigned int > & etVec () const
 Please note that in the context of JEMEtSums, et is total energy, not transverse energy For transverse energy, please use Pythagoras' theorem on ex and ey.
void setEtVec (const std::vector< unsigned int > &)
 set etVec - et for all time slices
const std::vector< unsigned int > & exVec () const
 get exVec - ex for all time slices
void setExVec (const std::vector< unsigned int > &)
 set exVec - ex for all time slices
const std::vector< unsigned int > & eyVec () const
 get eyVec - ey for all time slices
void setEyVec (const std::vector< unsigned int > &)
 set eyVec - ey for all time slices
unsigned int forward () const
 Is this JEMEtSums forward?
unsigned int et () const
 get et for etVec[peak] - time slice that (hopefully) contains the collision
unsigned int ex () const
 get ex for exVec[peak] - time slice that (hopefully) contains the collision
unsigned int ey () const
 get ey for eyVec[peak] - time slice that (hopefully) contains the collision
void addEt (const std::vector< unsigned int > &Et)
 Backwards Compatibility with Trigger/TrigT1/TrigT1CaloEvent Run1 EDM did not strictly follow camelCaseNotation See above for description.
void addEx (const std::vector< unsigned int > &Ex)
void addEy (const std::vector< unsigned int > &Ey)
unsigned int Et () const
unsigned int Ex () const
unsigned int Ey () const
const std::vector< unsigned int > & EtVec () const
const std::vector< unsigned int > & ExVec () const
const std::vector< unsigned int > & EyVec () const

Detailed Description

Description of JEMEtSums_v1.

Author
John Morris john..nosp@m.morr.nosp@m.is@ce.nosp@m.rn.c.nosp@m.h
Revision
631127
Date
2014-11-26 10:54:48 +0100 (Wed, 26 Nov 2014)

Definition at line 23 of file JEMEtSums_v1.h.

Constructor & Destructor Documentation

◆ JEMEtSums_v1()

xAOD::JEMEtSums_v1::JEMEtSums_v1 ( )

Definition at line 18 of file JEMEtSums_v1.cxx.

18 :
20 {
21 }
AuxElement(SG::AuxVectorData *container, size_t index)
Base class for elements of a container that can have aux data.

Member Function Documentation

◆ addEt()

void xAOD::JEMEtSums_v1::addEt ( const std::vector< unsigned int > & Et)
inline

Backwards Compatibility with Trigger/TrigT1/TrigT1CaloEvent Run1 EDM did not strictly follow camelCaseNotation See above for description.

Definition at line 74 of file JEMEtSums_v1.h.

74{this->setEtVec( Et );}
unsigned int Et() const
void setEtVec(const std::vector< unsigned int > &)
set etVec - et for all time slices

◆ addEx()

void xAOD::JEMEtSums_v1::addEx ( const std::vector< unsigned int > & Ex)
inline

Definition at line 75 of file JEMEtSums_v1.h.

75{this->setExVec( Ex );}
void setExVec(const std::vector< unsigned int > &)
set exVec - ex for all time slices
unsigned int Ex() const

◆ addEy()

void xAOD::JEMEtSums_v1::addEy ( const std::vector< unsigned int > & Ey)
inline

Definition at line 76 of file JEMEtSums_v1.h.

76{this->setEyVec( Ey );}
void setEyVec(const std::vector< unsigned int > &)
set eyVec - ey for all time slices
unsigned int Ey() const

◆ crate()

int xAOD::JEMEtSums_v1::crate ( ) const

get crate number

◆ Et()

unsigned int xAOD::JEMEtSums_v1::Et ( ) const
inline

Definition at line 77 of file JEMEtSums_v1.h.

77{return this->et();}
unsigned int et() const
get et for etVec[peak] - time slice that (hopefully) contains the collision

◆ et()

unsigned int xAOD::JEMEtSums_v1::et ( ) const

get et for etVec[peak] - time slice that (hopefully) contains the collision

Definition at line 40 of file JEMEtSums_v1.cxx.

41 {
42 return etVec()[ peak() ];
43 }
int peak() const
get peak
const std::vector< unsigned int > & etVec() const
Please note that in the context of JEMEtSums, et is total energy, not transverse energy For transvers...

◆ EtVec()

const std::vector< unsigned int > & xAOD::JEMEtSums_v1::EtVec ( ) const
inline

Definition at line 80 of file JEMEtSums_v1.h.

80{return this->etVec();}

◆ etVec()

const std::vector< unsigned int > & xAOD::JEMEtSums_v1::etVec ( ) const

Please note that in the context of JEMEtSums, et is total energy, not transverse energy For transverse energy, please use Pythagoras' theorem on ex and ey.

get etVec - et for all time slices

◆ Ex()

unsigned int xAOD::JEMEtSums_v1::Ex ( ) const
inline

Definition at line 78 of file JEMEtSums_v1.h.

78{return this->ex();}
unsigned int ex() const
get ex for exVec[peak] - time slice that (hopefully) contains the collision

◆ ex()

unsigned int xAOD::JEMEtSums_v1::ex ( ) const

get ex for exVec[peak] - time slice that (hopefully) contains the collision

Definition at line 45 of file JEMEtSums_v1.cxx.

46 {
47 return exVec()[ peak() ];
48 }
const std::vector< unsigned int > & exVec() const
get exVec - ex for all time slices

◆ ExVec()

const std::vector< unsigned int > & xAOD::JEMEtSums_v1::ExVec ( ) const
inline

Definition at line 81 of file JEMEtSums_v1.h.

81{return this->exVec();}

◆ exVec()

const std::vector< unsigned int > & xAOD::JEMEtSums_v1::exVec ( ) const

get exVec - ex for all time slices

◆ Ey()

unsigned int xAOD::JEMEtSums_v1::Ey ( ) const
inline

Definition at line 79 of file JEMEtSums_v1.h.

79{return this->ey();}
unsigned int ey() const
get ey for eyVec[peak] - time slice that (hopefully) contains the collision

◆ ey()

unsigned int xAOD::JEMEtSums_v1::ey ( ) const

get ey for eyVec[peak] - time slice that (hopefully) contains the collision

Definition at line 50 of file JEMEtSums_v1.cxx.

51 {
52 return eyVec()[ peak() ];
53 }
const std::vector< unsigned int > & eyVec() const
get eyVec - ey for all time slices

◆ EyVec()

const std::vector< unsigned int > & xAOD::JEMEtSums_v1::EyVec ( ) const
inline

Definition at line 82 of file JEMEtSums_v1.h.

82{return this->eyVec();}

◆ eyVec()

const std::vector< unsigned int > & xAOD::JEMEtSums_v1::eyVec ( ) const

get eyVec - ey for all time slices

◆ forward()

unsigned int xAOD::JEMEtSums_v1::forward ( ) const

Is this JEMEtSums forward?

Definition at line 30 of file JEMEtSums_v1.cxx.

31 {
32 unsigned int result(0);
33 int mod = module();
34 if( ((mod%8) == 0) || ((mod%8) == 7) ){
35 result = 1;
36 }
37 return result;
38 }
int module() const
get module

◆ module()

int xAOD::JEMEtSums_v1::module ( ) const

get module

◆ peak()

int xAOD::JEMEtSums_v1::peak ( ) const

get peak

◆ setCrate()

void xAOD::JEMEtSums_v1::setCrate ( int )

set crate number

◆ setEtVec()

void xAOD::JEMEtSums_v1::setEtVec ( const std::vector< unsigned int > & )

set etVec - et for all time slices

◆ setExVec()

void xAOD::JEMEtSums_v1::setExVec ( const std::vector< unsigned int > & )

set exVec - ex for all time slices

◆ setEyVec()

void xAOD::JEMEtSums_v1::setEyVec ( const std::vector< unsigned int > & )

set eyVec - ey for all time slices

◆ setModule()

void xAOD::JEMEtSums_v1::setModule ( int )

set module

◆ setPeak()

void xAOD::JEMEtSums_v1::setPeak ( int )

set peak


The documentation for this class was generated from the following files: