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

Description of CMXJetTob_v1. More...

#include <CMXJetTob_v1.h>

Inheritance diagram for xAOD::CMXJetTob_v1:
Collaboration diagram for xAOD::CMXJetTob_v1:

Public Member Functions

 CMXJetTob_v1 ()
 Default constructor.
virtual ~CMXJetTob_v1 ()
 Default desturctor.
virtual void initialize (const uint8_t crate, const uint8_t jem, const uint8_t frame, const uint8_t loc)
 initialize
virtual void initialize (const uint8_t crate, const uint8_t jem, const uint8_t frame, const uint8_t loc, const std::vector< uint16_t > &energyLargeVec, const std::vector< uint16_t > &energySmallVec, const std::vector< uint32_t > &errorVec, const std::vector< uint16_t > &presenceMapVec, const uint8_t peak)
 initialize
void addTob (const std::vector< uint16_t > &energyLargeVec, const std::vector< uint16_t > &energySmallVec, const std::vector< uint32_t > &errorVec, const std::vector< uint16_t > &presenceMapVec)
 add data to existing object
uint8_t crate () const
 get crate
void setCrate (uint8_t)
 set crate
uint8_t jem () const
 get jem
void setJem (uint8_t)
 set jem
uint8_t frame () const
 get frame
void setFrame (uint8_t)
 set frame
uint8_t location () const
 get location
void setLocation (uint8_t)
 set location
uint8_t peak () const
 get peak
void setPeak (uint8_t)
 set peak
const std::vector< uint16_t > & energyLargeVec () const
 get energyLargeVec
void setEnergyLargeVec (const std::vector< uint16_t > &)
 set energyLargeVec
const std::vector< uint16_t > & energySmallVec () const
 get energySmallVec
void setEnergySmallVec (const std::vector< uint16_t > &)
 set energySmallVec
const std::vector< uint32_t > & errorVec () const
 get errorVec
void setErrorVec (const std::vector< uint32_t > &)
 set errorVec
const std::vector< uint16_t > & presenceMapVec () const
 get presenceMapVec
void setPresenceMapVec (const std::vector< uint16_t > &)
 set presenceMapVec
uint16_t energyLarge () const
 Peak functions - return value of peak bunch crossing Assuming we have got the timing calibration correct, This is the bunch crossing containing the collision.
uint16_t energySmall () const
 get energySmallVec at peak bunch crossing
uint32_t error () const
 get errorVec at peak bunch crossing
uint16_t presenceMap () const
 get presenceMapVec at peak bunch crossing

Detailed Description

Description of CMXJetTob_v1.

Author
John Morris john..nosp@m.morr.nosp@m.is@ce.nosp@m.rn.c.nosp@m.h
Revision
687949
Date
2015-08-06 17:48:49 +0200 (Thu, 06 Aug 2015)

Definition at line 27 of file CMXJetTob_v1.h.

Constructor & Destructor Documentation

◆ CMXJetTob_v1()

xAOD::CMXJetTob_v1::CMXJetTob_v1 ( )

Default constructor.

Definition at line 15 of file CMXJetTob_v1.cxx.

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

◆ ~CMXJetTob_v1()

virtual xAOD::CMXJetTob_v1::~CMXJetTob_v1 ( )
inlinevirtual

Default desturctor.

Definition at line 32 of file CMXJetTob_v1.h.

32{}

Member Function Documentation

◆ addTob()

void xAOD::CMXJetTob_v1::addTob ( const std::vector< uint16_t > & energyLargeVec,
const std::vector< uint16_t > & energySmallVec,
const std::vector< uint32_t > & errorVec,
const std::vector< uint16_t > & presenceMapVec )

add data to existing object

Definition at line 50 of file CMXJetTob_v1.cxx.

54 {
59 }
void setEnergyLargeVec(const std::vector< uint16_t > &)
set energyLargeVec
const std::vector< uint16_t > & energySmallVec() const
get energySmallVec
const std::vector< uint16_t > & energyLargeVec() const
get energyLargeVec
const std::vector< uint32_t > & errorVec() const
get errorVec
const std::vector< uint16_t > & presenceMapVec() const
get presenceMapVec
void setEnergySmallVec(const std::vector< uint16_t > &)
set energySmallVec
void setPresenceMapVec(const std::vector< uint16_t > &)
set presenceMapVec
void setErrorVec(const std::vector< uint32_t > &)
set errorVec

◆ crate()

uint8_t xAOD::CMXJetTob_v1::crate ( ) const

get crate

◆ energyLarge()

uint16_t xAOD::CMXJetTob_v1::energyLarge ( ) const

Peak functions - return value of peak bunch crossing Assuming we have got the timing calibration correct, This is the bunch crossing containing the collision.

get energyLargeVec at peak bunch crossing

Definition at line 76 of file CMXJetTob_v1.cxx.

77 {
78 return energyLargeVec()[ peak() ];
79 }
uint8_t peak() const
get peak

◆ energyLargeVec()

const std::vector< uint16_t > & xAOD::CMXJetTob_v1::energyLargeVec ( ) const

get energyLargeVec

◆ energySmall()

uint16_t xAOD::CMXJetTob_v1::energySmall ( ) const

get energySmallVec at peak bunch crossing

Definition at line 82 of file CMXJetTob_v1.cxx.

83 {
84 return energySmallVec()[ peak() ];
85 }

◆ energySmallVec()

const std::vector< uint16_t > & xAOD::CMXJetTob_v1::energySmallVec ( ) const

get energySmallVec

◆ error()

uint32_t xAOD::CMXJetTob_v1::error ( ) const

get errorVec at peak bunch crossing

Definition at line 88 of file CMXJetTob_v1.cxx.

89 {
90 return errorVec()[ peak() ];
91 }

◆ errorVec()

const std::vector< uint32_t > & xAOD::CMXJetTob_v1::errorVec ( ) const

get errorVec

◆ frame()

uint8_t xAOD::CMXJetTob_v1::frame ( ) const

get frame

◆ initialize() [1/2]

void xAOD::CMXJetTob_v1::initialize ( const uint8_t crate,
const uint8_t jem,
const uint8_t frame,
const uint8_t loc )
virtual

initialize

Definition at line 21 of file CMXJetTob_v1.cxx.

22 {
23 setCrate( crate );
24 setJem( jem );
25 setFrame( frame );
26 setLocation( loc );
27 }
void setJem(uint8_t)
set jem
void setCrate(uint8_t)
set crate
uint8_t frame() const
get frame
void setFrame(uint8_t)
set frame
uint8_t jem() const
get jem
void setLocation(uint8_t)
set location
uint8_t crate() const
get crate

◆ initialize() [2/2]

void xAOD::CMXJetTob_v1::initialize ( const uint8_t crate,
const uint8_t jem,
const uint8_t frame,
const uint8_t loc,
const std::vector< uint16_t > & energyLargeVec,
const std::vector< uint16_t > & energySmallVec,
const std::vector< uint32_t > & errorVec,
const std::vector< uint16_t > & presenceMapVec,
const uint8_t peak )
virtual

initialize

Definition at line 30 of file CMXJetTob_v1.cxx.

◆ jem()

uint8_t xAOD::CMXJetTob_v1::jem ( ) const

get jem

◆ location()

uint8_t xAOD::CMXJetTob_v1::location ( ) const

get location

◆ peak()

uint8_t xAOD::CMXJetTob_v1::peak ( ) const

get peak

◆ presenceMap()

uint16_t xAOD::CMXJetTob_v1::presenceMap ( ) const

get presenceMapVec at peak bunch crossing

Definition at line 94 of file CMXJetTob_v1.cxx.

95 {
96 return presenceMapVec()[ peak() ];
97 }

◆ presenceMapVec()

const std::vector< uint16_t > & xAOD::CMXJetTob_v1::presenceMapVec ( ) const

get presenceMapVec

◆ setCrate()

void xAOD::CMXJetTob_v1::setCrate ( uint8_t )

set crate

◆ setEnergyLargeVec()

void xAOD::CMXJetTob_v1::setEnergyLargeVec ( const std::vector< uint16_t > & )

set energyLargeVec

◆ setEnergySmallVec()

void xAOD::CMXJetTob_v1::setEnergySmallVec ( const std::vector< uint16_t > & )

set energySmallVec

◆ setErrorVec()

void xAOD::CMXJetTob_v1::setErrorVec ( const std::vector< uint32_t > & )

set errorVec

◆ setFrame()

void xAOD::CMXJetTob_v1::setFrame ( uint8_t )

set frame

◆ setJem()

void xAOD::CMXJetTob_v1::setJem ( uint8_t )

set jem

◆ setLocation()

void xAOD::CMXJetTob_v1::setLocation ( uint8_t )

set location

◆ setPeak()

void xAOD::CMXJetTob_v1::setPeak ( uint8_t )

set peak

◆ setPresenceMapVec()

void xAOD::CMXJetTob_v1::setPresenceMapVec ( const std::vector< uint16_t > & )

set presenceMapVec


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