|
ATLAS Offline Software
|
Go to the documentation of this file.
19 #ifndef TILEEVENT_TILEL2_H
20 #define TILEEVENT_TILEL2_H
51 const std::vector<float>&
enemu0,
52 const std::vector<float>&
enemu1,
53 const std::vector<float>&
enemu2,
54 const std::vector<unsigned int>&
qual,
55 const std::vector<unsigned int>&
val)
66 std::vector<float>&&
enemu0,
67 std::vector<float>&&
enemu1,
68 std::vector<float>&&
enemu2,
69 std::vector<unsigned int>&&
qual,
70 std::vector<unsigned int>&&
val)
89 inline unsigned int Ndata()
const {
return m_val.size(); }
92 inline unsigned int val(
unsigned int i)
const {
return m_val[
i]; }
93 inline const std::vector<unsigned int>&
val()
const {
return m_val; }
100 inline const std::vector<float>&
eta()
const {
return m_eta; }
103 inline float phi(
unsigned int )
const {
return m_phi; }
157 std::string
whoami (
void)
const {
return "TileL2"; }
160 void print (
void)
const;
164 operator std::string()
const;
206 #endif //TILEEVENT_TILEL2_H
std::vector< float > m_eta
Muon eta.
std::vector< unsigned int > m_quality_factor
Quality flag for tight and loose muon selection.
std::string whoami(void) const
Return identification.
float sinphi() const
Return sin(phi)
float Ez() const
Return Ez in a TileCal superdrawer (ROD-based)
const std::vector< unsigned int > & qual() const
int identify(void) const
Return Identifier.
unsigned int val(unsigned int i) const
Return Data.
float sumE(unsigned int ind) const
Return sumE i-th element.
const std::vector< float > & sumEVec() const
float sumEz() const
Return sumEz in a TileCal superdrawer (ROD-based)
std::vector< float > m_enemu1
Energy deposited by the muons in TileCal central layer.
unsigned int Ndata() const
Return number of data words.
void print(void) const
Printing for debugging.
int m_ID
Drawer ID: 0x100-0x13F, 0x200-0x23F, 0x300-0x33F, 0x400-0x43F.
const std::vector< float > & enemu1() const
float eta(unsigned int ind) const
Return eta (computed as the average of the eta values of the TileCal cells where the muon goes throug...
unsigned int NMuons() const
Return number of muons.
float phi(unsigned int) const
Return phi (average value at the TileCal radius)
void clear()
Clear all vectors in TileL2.
float cosphi() const
Return cos(phi)
std::vector< unsigned int > m_val
32-bit words (packed muon info)
float Ey() const
Return Ey in a TileCal superdrawer (ROD-based)
float sumE() const
Return sumE in a TileCal superdrawer (ROD-based)
void setMu(std::vector< float > &&eta, std::vector< float > &&enemu0, std::vector< float > &&enemu1, std::vector< float > &&enemu2, std::vector< unsigned int > &&qual, std::vector< unsigned int > &&val)
std::vector< float > m_enemu0
Energy deposited by the muons in TileCal innermost layer.
std::vector< float > m_sumE
sumEt, sumEz, sumE energy per TileCal superdrawer
float enemu1(unsigned int ind) const
Return energy deposited in central layer (BC cells)
float Ex() const
Return Ex in a TileCal superdrawer (ROD-based)
const std::vector< float > & eta() const
const std::vector< unsigned int > & val() const
const std::vector< float > & enemu0() const
void setEt(std::vector< float > &&sumE)
Set sumE vector in TileL2.
void setphi()
function to set phi from ID
unsigned int NsumE() const
Return number of sumE words.
float enemu0(unsigned int ind) const
Return energy deposited in innermost layer (A cells)
float enemu2(unsigned int ind) const
Return energy deposited in outermost layer (D cells)
const std::vector< float > & enemu2() const
void setMu(const std::vector< float > &eta, const std::vector< float > &enemu0, const std::vector< float > &enemu1, const std::vector< float > &enemu2, const std::vector< unsigned int > &qual, const std::vector< unsigned int > &val)
Set Muon Info in TileL2.
Class to store TileMuId and Et quantities computed at the TileCal ROD DSPs.
std::vector< float > m_enemu2
Energy deposited by the muons in TileCal outermost layer.
unsigned int qual(unsigned int ind) const
Return quality flag (0 or 1): set to 0 if the "energy deposition path" is MIP like in all three sampl...
float Et() const
Return total Et in a TileCal superdrawer (ROD-based)