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

Description of CPMTower_v1. More...

#include <CPMTower_v1.h>

Inheritance diagram for xAOD::CPMTower_v1:
Collaboration diagram for xAOD::CPMTower_v1:

Public Member Functions

 CPMTower_v1 ()
const std::vector< int > & emEnergyVec () const
 get emEnergyVec - emEnergy for all time slices
void setEmEnergyVec (const std::vector< int > &)
 set emEnergyVec - emEnergy for all time slices
const std::vector< int > & hadEnergyVec () const
 get hadEnergyVec - hadEnergy for all time slices
void setHadEnergyVec (const std::vector< int > &)
 set hadEnergyVec - hadEnergy for all time slices
const std::vector< int > & emErrorVec () const
 get emErrorVec - emError for all time slices
void setEmErrorVec (const std::vector< int > &)
 set emErrorVec - emError for all time slices
const std::vector< int > & hadErrorVec () const
 get hadErrorVec - hadError for all time slices
void setHadErrorVec (const std::vector< int > &)
 set hadErrorVec - hadError for all time slices
float eta () const
 get eta
void setEta (float)
 set eta
float phi () const
 get phi (note that for L1Calo phi runs from 0 to 2pi)
void setPhi (float)
 set phi
int peak () const
void setPeak (int)
int emEnergy () const
 get emEnergy for emEnergyVec[peak] - time slice that (hopefully) contains the collision
int hadEnergy () const
 get hadEnergy for hadEnergyVec[peak] - time slice that (hopefully) contains the collision
int emSliceEnergy (int slice) const
 get emEnergy for emEnergyVec[slice] - time slice for arbitary slice
int hadSliceEnergy (int slice) const
 get hadEnergy for hadEnergyVec[slice] - time slice for arbitary slice
int emError () const
int hadError () const
int emSliceError (int slice) const
 get emError for emErrorVec[slice] - time slice for arbitary slice
int hadSliceError (int slice) const
 get hadError for hadErrorVec[slice] - time slice for arbitary slice

Detailed Description

Description of CPMTower_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 CPMTower_v1.h.

Constructor & Destructor Documentation

◆ CPMTower_v1()

xAOD::CPMTower_v1::CPMTower_v1 ( )

Definition at line 18 of file CPMTower_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

◆ emEnergy()

int xAOD::CPMTower_v1::emEnergy ( ) const

get emEnergy for emEnergyVec[peak] - time slice that (hopefully) contains the collision

return the final ET values using the in algorithms

Definition at line 32 of file CPMTower_v1.cxx.

33 {
34 return emEnergyVec()[ peak() ];
35 }
const std::vector< int > & emEnergyVec() const
get emEnergyVec - emEnergy for all time slices
int peak() const

◆ emEnergyVec()

const std::vector< int > & xAOD::CPMTower_v1::emEnergyVec ( ) const

get emEnergyVec - emEnergy for all time slices

◆ emError()

int xAOD::CPMTower_v1::emError ( ) const

Definition at line 58 of file CPMTower_v1.cxx.

59 {
60 return emErrorVec()[ peak() ];
61 }
const std::vector< int > & emErrorVec() const
get emErrorVec - emError for all time slices

◆ emErrorVec()

const std::vector< int > & xAOD::CPMTower_v1::emErrorVec ( ) const

get emErrorVec - emError for all time slices

◆ emSliceEnergy()

int xAOD::CPMTower_v1::emSliceEnergy ( int slice) const

get emEnergy for emEnergyVec[slice] - time slice for arbitary slice

Definition at line 42 of file CPMTower_v1.cxx.

43 {
44 if( slice >= 0 && slice < (int)emEnergyVec().size() ){
45 return emEnergyVec()[ slice ];
46 }
47 return 0;
48 }
size_t size() const
Number of registered mappings.

◆ emSliceError()

int xAOD::CPMTower_v1::emSliceError ( int slice) const

get emError for emErrorVec[slice] - time slice for arbitary slice

Definition at line 68 of file CPMTower_v1.cxx.

69 {
70 if( slice >= 0 && slice < (int)emErrorVec().size() ){
71 return emErrorVec()[ slice ];
72 }
73 return 0;
74 }

◆ eta()

float xAOD::CPMTower_v1::eta ( ) const

get eta

◆ hadEnergy()

int xAOD::CPMTower_v1::hadEnergy ( ) const

get hadEnergy for hadEnergyVec[peak] - time slice that (hopefully) contains the collision

Definition at line 37 of file CPMTower_v1.cxx.

38 {
39 return hadEnergyVec()[ peak() ];
40 }
const std::vector< int > & hadEnergyVec() const
get hadEnergyVec - hadEnergy for all time slices

◆ hadEnergyVec()

const std::vector< int > & xAOD::CPMTower_v1::hadEnergyVec ( ) const

get hadEnergyVec - hadEnergy for all time slices

◆ hadError()

int xAOD::CPMTower_v1::hadError ( ) const

Definition at line 63 of file CPMTower_v1.cxx.

64 {
65 return hadErrorVec()[ peak() ];
66 }
const std::vector< int > & hadErrorVec() const
get hadErrorVec - hadError for all time slices

◆ hadErrorVec()

const std::vector< int > & xAOD::CPMTower_v1::hadErrorVec ( ) const

get hadErrorVec - hadError for all time slices

◆ hadSliceEnergy()

int xAOD::CPMTower_v1::hadSliceEnergy ( int slice) const

get hadEnergy for hadEnergyVec[slice] - time slice for arbitary slice

Definition at line 50 of file CPMTower_v1.cxx.

51 {
52 if( slice >= 0 && slice < (int)hadEnergyVec().size() ){
53 return hadEnergyVec()[ slice ];
54 }
55 return 0;
56 }

◆ hadSliceError()

int xAOD::CPMTower_v1::hadSliceError ( int slice) const

get hadError for hadErrorVec[slice] - time slice for arbitary slice

Definition at line 76 of file CPMTower_v1.cxx.

77 {
78 if( slice >= 0 && slice < (int)hadErrorVec().size() ){
79 return hadErrorVec()[ slice ];
80 }
81 return 0;
82 }

◆ peak()

int xAOD::CPMTower_v1::peak ( ) const

◆ phi()

float xAOD::CPMTower_v1::phi ( ) const

get phi (note that for L1Calo phi runs from 0 to 2pi)

◆ setEmEnergyVec()

void xAOD::CPMTower_v1::setEmEnergyVec ( const std::vector< int > & )

set emEnergyVec - emEnergy for all time slices

◆ setEmErrorVec()

void xAOD::CPMTower_v1::setEmErrorVec ( const std::vector< int > & )

set emErrorVec - emError for all time slices

◆ setEta()

void xAOD::CPMTower_v1::setEta ( float )

set eta

◆ setHadEnergyVec()

void xAOD::CPMTower_v1::setHadEnergyVec ( const std::vector< int > & )

set hadEnergyVec - hadEnergy for all time slices

◆ setHadErrorVec()

void xAOD::CPMTower_v1::setHadErrorVec ( const std::vector< int > & )

set hadErrorVec - hadError for all time slices

◆ setPeak()

void xAOD::CPMTower_v1::setPeak ( int )

◆ setPhi()

void xAOD::CPMTower_v1::setPhi ( float )

set phi


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