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

Description of CMXCPTob_v1. More...

#include <CMXCPTob_v1.h>

Inheritance diagram for xAOD::CMXCPTob_v1:
Collaboration diagram for xAOD::CMXCPTob_v1:

Public Member Functions

 CMXCPTob_v1 ()
 Default constructor.
virtual ~CMXCPTob_v1 ()
 Default desturctor.
virtual void initialize (const uint8_t crate, const uint8_t cmx, const uint8_t cpm, const uint8_t chip, const uint8_t loc)
 initialize
virtual void initialize (const uint8_t crate, const uint8_t cmx, const uint8_t cpm, const uint8_t chip, const uint8_t loc, const std::vector< uint8_t > &energyVec, const std::vector< uint8_t > &isolationVec, const std::vector< uint32_t > &errorVec, const std::vector< uint16_t > &presenceMapVec, const uint8_t peak)
 initialize
void addTob (const std::vector< uint8_t > &energyVec, const std::vector< uint8_t > &isolationVec, 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 cmx () const
 get cmx
void setCmx (uint8_t)
 set cmx
uint8_t cpm () const
 get cpm
void setCpm (uint8_t)
 set cpm
uint8_t chip () const
 get chip
void setChip (uint8_t)
 set chip
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< uint8_t > & energyVec () const
 get energyVec
void setEnergyVec (const std::vector< uint8_t > &)
 set energyVec
const std::vector< uint8_t > & isolationVec () const
 get isolationVec
void setIsolationVec (const std::vector< uint8_t > &)
 set isolationVec
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
uint8_t energy () 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.
uint8_t isolation () const
 get isolationVec 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 CMXCPTob_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 CMXCPTob_v1.h.

Constructor & Destructor Documentation

◆ CMXCPTob_v1()

xAOD::CMXCPTob_v1::CMXCPTob_v1 ( )

Default constructor.

Definition at line 15 of file CMXCPTob_v1.cxx.

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

◆ ~CMXCPTob_v1()

virtual xAOD::CMXCPTob_v1::~CMXCPTob_v1 ( )
inlinevirtual

Default desturctor.

Definition at line 32 of file CMXCPTob_v1.h.

32{}

Member Function Documentation

◆ addTob()

void xAOD::CMXCPTob_v1::addTob ( const std::vector< uint8_t > & energyVec,
const std::vector< uint8_t > & isolationVec,
const std::vector< uint32_t > & errorVec,
const std::vector< uint16_t > & presenceMapVec )

add data to existing object

Definition at line 53 of file CMXCPTob_v1.cxx.

57 {
62 }
const std::vector< uint8_t > & energyVec() const
get energyVec
void setErrorVec(const std::vector< uint32_t > &)
set errorVec
const std::vector< uint32_t > & errorVec() const
get errorVec
void setEnergyVec(const std::vector< uint8_t > &)
set energyVec
const std::vector< uint8_t > & isolationVec() const
get isolationVec
void setPresenceMapVec(const std::vector< uint16_t > &)
set presenceMapVec
const std::vector< uint16_t > & presenceMapVec() const
get presenceMapVec
void setIsolationVec(const std::vector< uint8_t > &)
set isolationVec

◆ chip()

uint8_t xAOD::CMXCPTob_v1::chip ( ) const

get chip

◆ cmx()

uint8_t xAOD::CMXCPTob_v1::cmx ( ) const

get cmx

◆ cpm()

uint8_t xAOD::CMXCPTob_v1::cpm ( ) const

get cpm

◆ crate()

uint8_t xAOD::CMXCPTob_v1::crate ( ) const

get crate

◆ energy()

uint8_t xAOD::CMXCPTob_v1::energy ( ) 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 energyVec at peak bunch crossing

Definition at line 80 of file CMXCPTob_v1.cxx.

81 {
82 return energyVec()[ peak() ];
83 }
uint8_t peak() const
get peak

◆ energyVec()

const std::vector< uint8_t > & xAOD::CMXCPTob_v1::energyVec ( ) const

get energyVec

◆ error()

uint32_t xAOD::CMXCPTob_v1::error ( ) const

get errorVec at peak bunch crossing

Definition at line 92 of file CMXCPTob_v1.cxx.

93 {
94 return errorVec()[ peak() ];
95 }

◆ errorVec()

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

get errorVec

◆ initialize() [1/2]

void xAOD::CMXCPTob_v1::initialize ( const uint8_t crate,
const uint8_t cmx,
const uint8_t cpm,
const uint8_t chip,
const uint8_t loc )
virtual

initialize

Definition at line 21 of file CMXCPTob_v1.cxx.

23 {
24 setCrate( crate );
25 setCmx( cmx );
26 setCpm( cpm );
27 setChip( chip );
28 setLocation( loc );
29 }
uint8_t cmx() const
get cmx
void setCmx(uint8_t)
set cmx
uint8_t cpm() const
get cpm
uint8_t crate() const
get crate
void setLocation(uint8_t)
set location
void setChip(uint8_t)
set chip
void setCpm(uint8_t)
set cpm
uint8_t chip() const
get chip
void setCrate(uint8_t)
set crate

◆ initialize() [2/2]

void xAOD::CMXCPTob_v1::initialize ( const uint8_t crate,
const uint8_t cmx,
const uint8_t cpm,
const uint8_t chip,
const uint8_t loc,
const std::vector< uint8_t > & energyVec,
const std::vector< uint8_t > & isolationVec,
const std::vector< uint32_t > & errorVec,
const std::vector< uint16_t > & presenceMapVec,
const uint8_t peak )
virtual

initialize

Definition at line 32 of file CMXCPTob_v1.cxx.

39 {
40 setCrate( crate );
41 setCmx( cmx );
42 setCpm( cpm );
43 setChip( chip );
44 setLocation( loc );
49 setPeak( peak );
50 }
void setPeak(uint8_t)
set peak

◆ isolation()

uint8_t xAOD::CMXCPTob_v1::isolation ( ) const

get isolationVec at peak bunch crossing

Definition at line 86 of file CMXCPTob_v1.cxx.

87 {
88 return isolationVec()[ peak() ];
89 }

◆ isolationVec()

const std::vector< uint8_t > & xAOD::CMXCPTob_v1::isolationVec ( ) const

get isolationVec

◆ location()

uint8_t xAOD::CMXCPTob_v1::location ( ) const

get location

◆ peak()

uint8_t xAOD::CMXCPTob_v1::peak ( ) const

get peak

◆ presenceMap()

uint16_t xAOD::CMXCPTob_v1::presenceMap ( ) const

get presenceMapVec at peak bunch crossing

Definition at line 98 of file CMXCPTob_v1.cxx.

99 {
100 return presenceMapVec()[ peak() ];
101 }

◆ presenceMapVec()

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

get presenceMapVec

◆ setChip()

void xAOD::CMXCPTob_v1::setChip ( uint8_t )

set chip

◆ setCmx()

void xAOD::CMXCPTob_v1::setCmx ( uint8_t )

set cmx

◆ setCpm()

void xAOD::CMXCPTob_v1::setCpm ( uint8_t )

set cpm

◆ setCrate()

void xAOD::CMXCPTob_v1::setCrate ( uint8_t )

set crate

◆ setEnergyVec()

void xAOD::CMXCPTob_v1::setEnergyVec ( const std::vector< uint8_t > & )

set energyVec

◆ setErrorVec()

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

set errorVec

◆ setIsolationVec()

void xAOD::CMXCPTob_v1::setIsolationVec ( const std::vector< uint8_t > & )

set isolationVec

◆ setLocation()

void xAOD::CMXCPTob_v1::setLocation ( uint8_t )

set location

◆ setPeak()

void xAOD::CMXCPTob_v1::setPeak ( uint8_t )

set peak

◆ setPresenceMapVec()

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

set presenceMapVec


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