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

Description of JEMHits_v1. More...

#include <JEMHits_v1.h>

Inheritance diagram for xAOD::JEMHits_v1:
Collaboration diagram for xAOD::JEMHits_v1:

Public Member Functions

 JEMHits_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 > & jetHitsVec () const
 get jetHitsVec - jetHits for all time slices
void setJetHitsVec (const std::vector< unsigned int > &)
 set jetHitsVec - jetHits for all time slices
unsigned int forward () const
 Is this JEMEtSums forward?
unsigned int jetHits () const
 get jetHits for jetHitsVec[peak] - time slice that (hopefully) contains the collision
void addJetHits (const std::vector< unsigned int > &hits)
 Backwards Compatibility with Trigger/TrigT1/TrigT1CaloEvent Run1 EDM did not strictly follow camelCaseNotation See above for description.
unsigned int JetHits () const

Detailed Description

Description of JEMHits_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 JEMHits_v1.h.

Constructor & Destructor Documentation

◆ JEMHits_v1()

xAOD::JEMHits_v1::JEMHits_v1 ( )

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

◆ addJetHits()

void xAOD::JEMHits_v1::addJetHits ( const std::vector< unsigned int > & hits)
inline

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

Definition at line 57 of file JEMHits_v1.h.

57{this->setJetHitsVec(hits);}
void setJetHitsVec(const std::vector< unsigned int > &)
set jetHitsVec - jetHits for all time slices

◆ crate()

int xAOD::JEMHits_v1::crate ( ) const

get crate number

◆ forward()

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

Is this JEMEtSums forward?

Definition at line 28 of file JEMHits_v1.cxx.

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

◆ JetHits()

unsigned int xAOD::JEMHits_v1::JetHits ( ) const
inline

Definition at line 58 of file JEMHits_v1.h.

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

◆ jetHits()

unsigned int xAOD::JEMHits_v1::jetHits ( ) const

get jetHits for jetHitsVec[peak] - time slice that (hopefully) contains the collision

Definition at line 38 of file JEMHits_v1.cxx.

39 {
40 return jetHitsVec()[ peak() ];
41 }
int peak() const
get peak
const std::vector< unsigned int > & jetHitsVec() const
get jetHitsVec - jetHits for all time slices

◆ jetHitsVec()

const std::vector< unsigned int > & xAOD::JEMHits_v1::jetHitsVec ( ) const

get jetHitsVec - jetHits for all time slices

◆ module()

int xAOD::JEMHits_v1::module ( ) const

get module

◆ peak()

int xAOD::JEMHits_v1::peak ( ) const

get peak

◆ setCrate()

void xAOD::JEMHits_v1::setCrate ( int )

set crate number

◆ setJetHitsVec()

void xAOD::JEMHits_v1::setJetHitsVec ( const std::vector< unsigned int > & )

set jetHitsVec - jetHits for all time slices

◆ setModule()

void xAOD::JEMHits_v1::setModule ( int )

set module

◆ setPeak()

void xAOD::JEMHits_v1::setPeak ( int )

set peak


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