ATLAS Offline Software
Loading...
Searching...
No Matches
TgcRawData Class Referencefinal

An unit object of TGC ROD output. More...

#include <TgcRawData.h>

Collaboration diagram for TgcRawData:

Public Types

enum  SlbType {
  SLB_TYPE_DOUBLET_WIRE , SLB_TYPE_DOUBLET_STRIP , SLB_TYPE_TRIPLET_WIRE , SLB_TYPE_TRIPLET_STRIP ,
  SLB_TYPE_INNER_WIRE , SLB_TYPE_INNER_STRIP , SLB_TYPE_UNKNOWN
}
enum  DataType {
  TYPE_HIT , TYPE_TRACKLET , TYPE_HIPT , TYPE_SL ,
  TYPE_INNER , TYPE_INNER_NSW , TYPE_INNER_BIS , TYPE_INNER_EIFI ,
  TYPE_INNER_TMDB , TYPE_UNKNOWN
}

Public Member Functions

 TgcRawData ()
 TgcRawData (uint16_t bcTag, uint16_t subDetectorId, uint16_t rodId, uint16_t sswId, uint16_t slbId, uint16_t l1Id, uint16_t bcId, uint16_t bitpos)
 TgcRawData (uint16_t bcTag, uint16_t subDetectorId, uint16_t rodId, uint16_t sswId, uint16_t slbId, uint16_t l1Id, uint16_t bcId, uint16_t type, uint16_t index, uint16_t pos, int16_t delta)
 TgcRawData (uint16_t bcTag, uint16_t subDetectorId, uint16_t rodId, uint16_t sswId, uint16_t slbId, uint16_t l1Id, uint16_t bcId, SlbType slbType, bool adj, uint16_t tracklet, uint16_t channel)
 TgcRawData (uint16_t bcTag, uint16_t subDetectorId, uint16_t rodId, uint16_t sswId, uint16_t slbId, uint16_t l1Id, uint16_t bcId, SlbType slbType, int16_t delta, uint16_t seg, uint16_t sub, uint16_t rphi)
 TgcRawData (uint16_t bcTag, uint16_t subDetectorId, uint16_t rodId, uint16_t l1Id, uint16_t bcId, bool strip, bool forward, uint16_t sector, uint16_t chip, uint16_t index, bool hipt, uint16_t hitId, uint16_t sub, int16_t delta, uint16_t inner)
 TgcRawData (uint16_t bcTag, uint16_t subDetectorId, uint16_t rodId, uint16_t l1Id, uint16_t bcId, bool cand3plus, bool forward, uint16_t sector, uint16_t index, bool muplus, uint16_t threshold, bool overlap, bool veto, uint16_t roi)
 TgcRawData (uint16_t bcTag, uint16_t subDetectorId, uint16_t rodId, uint16_t l1Id, uint16_t bcId, bool forward, uint16_t sector, uint16_t innerflag, uint16_t coinflag, bool muplus, uint16_t threshold, uint16_t roi)
 TgcRawData (uint16_t bcTag, uint16_t subDetectorId, uint16_t rodId, uint16_t l1Id, uint16_t bcId, bool forward, uint16_t sector, uint16_t nsweta, uint16_t nswphi, uint16_t nswcand, uint16_t nswdtheta, uint16_t nswphires, uint16_t nswlowres, uint16_t nswid)
 TgcRawData (uint16_t bcTag, uint16_t subDetectorId, uint16_t rodId, uint16_t l1Id, uint16_t bcId, bool forward, uint16_t sector, uint16_t rpceta, uint16_t rpcphi, uint16_t rpcflag, uint16_t rpcdeta, uint16_t rpcdphi)
 TgcRawData (uint16_t bcTag, uint16_t subDetectorId, uint16_t rodId, uint16_t l1Id, uint16_t bcId, bool forward, uint16_t sector, uint16_t ei, uint16_t fi, uint16_t cid)
 TgcRawData (uint16_t bcTag, uint16_t subDetectorId, uint16_t rodId, uint16_t l1Id, uint16_t bcId, bool forward, uint16_t sector, uint16_t mod, uint16_t bcid)
 TgcRawData (const TgcRawData &)=default
 TgcRawData (TgcRawData &&)=default
TgcRawDataoperator= (const TgcRawData &)=default
TgcRawDataoperator= (TgcRawData &&)=default
 ~TgcRawData ()=default
bool isCoincidence () const
void setOnlineId (uint16_t sId, uint16_t rId)
uint16_t bcTag () const
uint16_t l1Id () const
uint16_t bcId () const
uint16_t subDetectorId () const
uint16_t rodId () const
uint16_t sswId () const
uint16_t slbId () const
DataType type () const
void setType (uint16_t type)
SlbType slbType () const
bool isForward () const
uint16_t bitpos () const
uint16_t channel () const
uint16_t tracklet () const
bool isAdjacent () const
uint16_t index () const
uint16_t position () const
int16_t delta () const
uint16_t inner () const
uint16_t segment () const
uint16_t subMatrix () const
uint16_t sector () const
uint16_t chip () const
bool isHipt () const
uint16_t hitId () const
uint16_t hsub () const
bool isStrip () const
bool cand3plus () const
bool isMuplus () const
uint16_t threshold () const
bool isOverlap () const
bool isVeto () const
uint16_t roi () const
uint16_t innerflag () const
uint16_t coinflag () const
uint16_t nsweta () const
uint16_t nswphi () const
uint16_t nswsl () const
uint16_t nswcand () const
uint16_t nswdtheta () const
uint16_t nswphires () const
uint16_t nswlowres () const
uint16_t nswid () const
uint16_t rpceta () const
uint16_t rpcphi () const
uint16_t rpcflag () const
uint16_t rpcdeta () const
uint16_t rpcdphi () const
uint16_t ei () const
uint16_t fi () const
uint16_t cid () const
uint16_t tmdbmod () const
uint16_t tmdbbcid () const
std::string typeName () const
std::string slbTypeName () const

Static Public Member Functions

static std::string typeName (DataType type)
static std::string slbTypeName (SlbType type)

Static Public Attributes

static constexpr uint32_t NSW_CAND_BITSHIFT = 0
static constexpr uint32_t NSW_CAND_BIT = 0x3
static constexpr uint32_t NSW_INPUT_BITSHIFT = 2
static constexpr uint32_t NSW_INPUT_BIT = 0x7
static constexpr uint32_t NSW_BCID_BITSHIFT = 5
static constexpr uint32_t NSW_BCID_BIT = 0xF
static constexpr uint32_t RPC_FLAG_BITSHIFT = 0
static constexpr uint32_t RPC_FLAG_BIT = 0x3
static constexpr uint32_t RPC_CAND_BITSHIFT = 2
static constexpr uint32_t RPC_CAND_BIT = 0x3
static constexpr uint32_t RPC_BCID_BITSHIFT = 4
static constexpr uint32_t RPC_BCID_BIT = 0xF

Private Member Functions

void clear (uint16_t bcTag, uint16_t subDetectorId, uint16_t rodId, uint16_t l1Id, uint16_t bcId)
void clear (uint16_t bcTag, uint16_t subDetectorId, uint16_t rodId, uint16_t sswId, uint16_t slbId, uint16_t l1Id, uint16_t bcId)

Private Attributes

uint16_t m_bcTag = 0U
uint16_t m_subDetectorId = 0U
uint16_t m_rodId = 0U
uint16_t m_sswId = 0U
uint16_t m_slbId = 0U
uint16_t m_l1Id = 0U
uint16_t m_bcId = 0U
SlbType m_slbType {SLB_TYPE_UNKNOWN}
uint16_t m_bitpos = 0U
uint16_t m_tracklet = 0U
bool m_adjacent = false
DataType m_type
bool m_forward = false
uint16_t m_index = 0U
uint16_t m_pos = 0U
int16_t m_delta = 0
uint16_t m_segment = 0U
uint16_t m_subMatrix = 0U
uint16_t m_sector = 0U
uint16_t m_chip = 0U
bool m_hipt = false
uint16_t m_hitId = 0U
uint16_t m_hsub = 0U
bool m_strip = false
uint16_t m_inner = 0U
bool m_cand3plus = false
bool m_muplus = false
uint16_t m_threshold = 0U
bool m_overlap = false
bool m_veto = false
uint16_t m_roi = 0U
uint16_t m_innerflag = 0U
uint16_t m_coinflag = 0U
uint16_t m_nsweta = 0U
uint16_t m_nswphi = 0U
uint16_t m_nswsl = 0U
uint16_t m_nswcand = 0U
uint16_t m_nswdtheta = 0U
uint16_t m_nswphires = 0U
uint16_t m_nswlowres = 0U
uint16_t m_nswid = 0U
uint16_t m_rpceta = 0U
uint16_t m_rpcphi = 0U
uint16_t m_rpcflag = 0U
uint16_t m_rpcdeta = 0U
uint16_t m_rpcdphi = 0U
uint16_t m_ei = 0U
uint16_t m_fi = 0U
uint16_t m_cid = 0U
uint16_t m_tmdbmod = 0U
uint16_t m_tmdbbcid = 0U

Friends

class TgcRawDataCnv_p1
class TgcRawDataCnv_p2
class TgcRawDataCnv_p3
class TgcRawDataCnv_p4

Detailed Description

An unit object of TGC ROD output.

This class is supposed to hold Hit- or Coincidence-information. For this purpose, two full-constructors have been prepared.

@ author Tadashi Maeno

Definition at line 22 of file TgcRawData.h.

Member Enumeration Documentation

◆ DataType

Enumerator
TYPE_HIT 
TYPE_TRACKLET 
TYPE_HIPT 
TYPE_SL 
TYPE_INNER 
TYPE_INNER_NSW 
TYPE_INNER_BIS 
TYPE_INNER_EIFI 
TYPE_INNER_TMDB 
TYPE_UNKNOWN 

Definition at line 41 of file TgcRawData.h.

◆ SlbType

Enumerator
SLB_TYPE_DOUBLET_WIRE 
SLB_TYPE_DOUBLET_STRIP 
SLB_TYPE_TRIPLET_WIRE 
SLB_TYPE_TRIPLET_STRIP 
SLB_TYPE_INNER_WIRE 
SLB_TYPE_INNER_STRIP 
SLB_TYPE_UNKNOWN 

Definition at line 30 of file TgcRawData.h.

Constructor & Destructor Documentation

◆ TgcRawData() [1/14]

TgcRawData::TgcRawData ( )
inline

Definition at line 56 of file TgcRawData.h.

57 {
58 clear(0, 0, 0, 0, 0);
59 clear(0, 0, 0, 0, 0, 0, 0);
60 }
void clear(uint16_t bcTag, uint16_t subDetectorId, uint16_t rodId, uint16_t l1Id, uint16_t bcId)

◆ TgcRawData() [2/14]

TgcRawData::TgcRawData ( uint16_t bcTag,
uint16_t subDetectorId,
uint16_t rodId,
uint16_t sswId,
uint16_t slbId,
uint16_t l1Id,
uint16_t bcId,
uint16_t bitpos )

Definition at line 107 of file TgcRawData.cxx.

115{
118}
uint16_t sswId() const
Definition TgcRawData.h:272
uint16_t l1Id() const
Definition TgcRawData.h:255
uint16_t bcId() const
Definition TgcRawData.h:259
uint16_t bitpos() const
Definition TgcRawData.h:293
uint16_t bcTag() const
Definition TgcRawData.h:251
uint16_t subDetectorId() const
Definition TgcRawData.h:264
uint16_t slbId() const
Definition TgcRawData.h:276
uint16_t rodId() const
Definition TgcRawData.h:268
uint16_t m_bitpos
Definition TgcRawData.h:512

◆ TgcRawData() [3/14]

TgcRawData::TgcRawData ( uint16_t bcTag,
uint16_t subDetectorId,
uint16_t rodId,
uint16_t sswId,
uint16_t slbId,
uint16_t l1Id,
uint16_t bcId,
uint16_t type,
uint16_t index,
uint16_t pos,
int16_t delta )

Definition at line 121 of file TgcRawData.cxx.

132{
134 setType(type);
135 m_index = index;
136 m_pos = pos;
137 m_delta = delta;
138}
uint16_t index() const
Definition TgcRawData.h:309
int16_t delta() const
Definition TgcRawData.h:317
DataType type() const
Definition TgcRawData.h:280
int16_t m_delta
Definition TgcRawData.h:531
uint16_t m_pos
Definition TgcRawData.h:530
void setType(uint16_t type)
uint16_t m_index
Definition TgcRawData.h:527

◆ TgcRawData() [4/14]

TgcRawData::TgcRawData ( uint16_t bcTag,
uint16_t subDetectorId,
uint16_t rodId,
uint16_t sswId,
uint16_t slbId,
uint16_t l1Id,
uint16_t bcId,
SlbType slbType,
bool adj,
uint16_t tracklet,
uint16_t channel )

Definition at line 142 of file TgcRawData.cxx.

153{
156 m_adjacent = adj;
159}
SlbType slbType() const
Definition TgcRawData.h:285
uint16_t channel() const
Definition TgcRawData.h:297
SlbType m_slbType
Definition TgcRawData.h:506
bool m_adjacent
Definition TgcRawData.h:517
uint16_t tracklet() const
Definition TgcRawData.h:301
uint16_t m_tracklet
Definition TgcRawData.h:515

◆ TgcRawData() [5/14]

TgcRawData::TgcRawData ( uint16_t bcTag,
uint16_t subDetectorId,
uint16_t rodId,
uint16_t sswId,
uint16_t slbId,
uint16_t l1Id,
uint16_t bcId,
SlbType slbType,
int16_t delta,
uint16_t seg,
uint16_t sub,
uint16_t rphi )

Definition at line 162 of file TgcRawData.cxx.

174{
178 m_delta = delta;
179 m_segment = seg;
180 m_subMatrix = sub;
181 m_pos = rphi;
182}
uint16_t m_subMatrix
Definition TgcRawData.h:533
DataType m_type
Definition TgcRawData.h:523
uint16_t m_segment
Definition TgcRawData.h:532

◆ TgcRawData() [6/14]

TgcRawData::TgcRawData ( uint16_t bcTag,
uint16_t subDetectorId,
uint16_t rodId,
uint16_t l1Id,
uint16_t bcId,
bool strip,
bool forward,
uint16_t sector,
uint16_t chip,
uint16_t index,
bool hipt,
uint16_t hitId,
uint16_t sub,
int16_t delta,
uint16_t inner )

Definition at line 185 of file TgcRawData.cxx.

201{
204 m_strip = strip;
205 m_forward = forward;
207 m_chip = chip;
208 m_index = index;
209 m_hipt = hipt;
210 m_hitId = hitId;
211 m_hsub = sub;
212 m_delta = delta;
213 m_inner = inner;
214}
uint16_t chip() const
Definition TgcRawData.h:337
uint16_t m_hsub
Definition TgcRawData.h:540
uint16_t m_hitId
Definition TgcRawData.h:539
uint16_t sector() const
Definition TgcRawData.h:333
uint16_t m_sector
Definition TgcRawData.h:536
uint16_t m_chip
Definition TgcRawData.h:537
bool m_forward
Definition TgcRawData.h:524
uint16_t hitId() const
Definition TgcRawData.h:345
uint16_t inner() const
Definition TgcRawData.h:321
uint16_t m_inner
Definition TgcRawData.h:542
bool hipt
Definition globals.cxx:29

◆ TgcRawData() [7/14]

TgcRawData::TgcRawData ( uint16_t bcTag,
uint16_t subDetectorId,
uint16_t rodId,
uint16_t l1Id,
uint16_t bcId,
bool cand3plus,
bool forward,
uint16_t sector,
uint16_t index,
bool muplus,
uint16_t threshold,
bool overlap,
bool veto,
uint16_t roi )

Definition at line 217 of file TgcRawData.cxx.

231{
233 m_type = TYPE_SL;
235 m_forward = forward;
237 m_index = index;
238 m_muplus = muplus;
240 m_overlap = overlap;
241 m_veto = veto;
242 m_roi = roi;
243}
bool cand3plus() const
Definition TgcRawData.h:357
bool m_cand3plus
Definition TgcRawData.h:545
bool m_overlap
Definition TgcRawData.h:548
uint16_t m_threshold
Definition TgcRawData.h:547
bool m_muplus
Definition TgcRawData.h:546
uint16_t roi() const
Definition TgcRawData.h:377
uint16_t m_roi
Definition TgcRawData.h:550
uint16_t threshold() const
Definition TgcRawData.h:365
std::vector< std::string > veto
these patterns are anded
Definition listroot.cxx:191

◆ TgcRawData() [8/14]

TgcRawData::TgcRawData ( uint16_t bcTag,
uint16_t subDetectorId,
uint16_t rodId,
uint16_t l1Id,
uint16_t bcId,
bool forward,
uint16_t sector,
uint16_t innerflag,
uint16_t coinflag,
bool muplus,
uint16_t threshold,
uint16_t roi )

Definition at line 247 of file TgcRawData.cxx.

259{
261 m_type = TYPE_SL;
262 m_forward = forward;
266 m_muplus = muplus;
268 m_roi = roi;
269}
uint16_t innerflag() const
Definition TgcRawData.h:381
uint16_t coinflag() const
Definition TgcRawData.h:385
uint16_t m_innerflag
Definition TgcRawData.h:554
uint16_t m_coinflag
Definition TgcRawData.h:555

◆ TgcRawData() [9/14]

TgcRawData::TgcRawData ( uint16_t bcTag,
uint16_t subDetectorId,
uint16_t rodId,
uint16_t l1Id,
uint16_t bcId,
bool forward,
uint16_t sector,
uint16_t nsweta,
uint16_t nswphi,
uint16_t nswcand,
uint16_t nswdtheta,
uint16_t nswphires,
uint16_t nswlowres,
uint16_t nswid )

Definition at line 272 of file TgcRawData.cxx.

286{
289 m_forward = forward;
297 m_nswid = nswid;
298}
uint16_t nswlowres() const
Definition TgcRawData.h:413
uint16_t m_nswphi
Definition TgcRawData.h:559
uint16_t m_nswid
Definition TgcRawData.h:565
uint16_t m_nswdtheta
Definition TgcRawData.h:562
uint16_t nswid() const
Definition TgcRawData.h:417
uint16_t m_nswlowres
Definition TgcRawData.h:564
uint16_t m_nswphires
Definition TgcRawData.h:563
uint16_t m_nswcand
Definition TgcRawData.h:561
uint16_t nsweta() const
Definition TgcRawData.h:389
uint16_t nswcand() const
Definition TgcRawData.h:401
uint16_t nswphires() const
Definition TgcRawData.h:409
uint16_t nswdtheta() const
Definition TgcRawData.h:405
uint16_t m_nsweta
Definition TgcRawData.h:558
uint16_t nswphi() const
Definition TgcRawData.h:393

◆ TgcRawData() [10/14]

TgcRawData::TgcRawData ( uint16_t bcTag,
uint16_t subDetectorId,
uint16_t rodId,
uint16_t l1Id,
uint16_t bcId,
bool forward,
uint16_t sector,
uint16_t rpceta,
uint16_t rpcphi,
uint16_t rpcflag,
uint16_t rpcdeta,
uint16_t rpcdphi )

Definition at line 301 of file TgcRawData.cxx.

313{
316 m_forward = forward;
323}
uint16_t m_rpcdphi
Definition TgcRawData.h:572
uint16_t m_rpcphi
Definition TgcRawData.h:569
uint16_t rpcdeta() const
Definition TgcRawData.h:433
uint16_t rpcphi() const
Definition TgcRawData.h:425
uint16_t rpceta() const
Definition TgcRawData.h:421
uint16_t m_rpceta
Definition TgcRawData.h:568
uint16_t rpcflag() const
Definition TgcRawData.h:429
uint16_t rpcdphi() const
Definition TgcRawData.h:437
uint16_t m_rpcdeta
Definition TgcRawData.h:571
uint16_t m_rpcflag
Definition TgcRawData.h:570

◆ TgcRawData() [11/14]

TgcRawData::TgcRawData ( uint16_t bcTag,
uint16_t subDetectorId,
uint16_t rodId,
uint16_t l1Id,
uint16_t bcId,
bool forward,
uint16_t sector,
uint16_t ei,
uint16_t fi,
uint16_t cid )

Definition at line 326 of file TgcRawData.cxx.

336{
339 m_forward = forward;
341 m_ei = ei;
342 m_fi = fi;
343 m_cid = cid;
344}
uint16_t ei() const
Definition TgcRawData.h:441
uint16_t fi() const
Definition TgcRawData.h:445
uint16_t cid() const
Definition TgcRawData.h:449
uint16_t m_fi
Definition TgcRawData.h:576
uint16_t m_cid
Definition TgcRawData.h:577
uint16_t m_ei
Definition TgcRawData.h:575

◆ TgcRawData() [12/14]

TgcRawData::TgcRawData ( uint16_t bcTag,
uint16_t subDetectorId,
uint16_t rodId,
uint16_t l1Id,
uint16_t bcId,
bool forward,
uint16_t sector,
uint16_t mod,
uint16_t bcid )

Definition at line 347 of file TgcRawData.cxx.

356{
359 m_forward = forward;
361 m_tmdbmod = mod;
363}
uint16_t m_tmdbmod
Definition TgcRawData.h:580
uint16_t m_tmdbbcid
Definition TgcRawData.h:581
setEventNumber setTimeStamp bcid

◆ TgcRawData() [13/14]

TgcRawData::TgcRawData ( const TgcRawData & )
default

◆ TgcRawData() [14/14]

TgcRawData::TgcRawData ( TgcRawData && )
default

◆ ~TgcRawData()

TgcRawData::~TgcRawData ( )
default

Member Function Documentation

◆ bcId()

uint16_t TgcRawData::bcId ( ) const
inline

Definition at line 259 of file TgcRawData.h.

260 {
261 return m_bcId;
262 }
uint16_t m_bcId
Definition TgcRawData.h:504

◆ bcTag()

uint16_t TgcRawData::bcTag ( ) const
inline

Definition at line 251 of file TgcRawData.h.

252 {
253 return m_bcTag;
254 }
uint16_t m_bcTag
Definition TgcRawData.h:494

◆ bitpos()

uint16_t TgcRawData::bitpos ( ) const
inline

Definition at line 293 of file TgcRawData.h.

294 {
295 return m_bitpos;
296 }

◆ cand3plus()

bool TgcRawData::cand3plus ( ) const
inline

Definition at line 357 of file TgcRawData.h.

358 {
359 return m_cand3plus;
360 }

◆ channel()

uint16_t TgcRawData::channel ( ) const
inline

Definition at line 297 of file TgcRawData.h.

298 {
299 return m_bitpos;
300 }

◆ chip()

uint16_t TgcRawData::chip ( ) const
inline

Definition at line 337 of file TgcRawData.h.

338 {
339 return m_chip;
340 }

◆ cid()

uint16_t TgcRawData::cid ( ) const
inline

Definition at line 449 of file TgcRawData.h.

450 {
451 return m_cid;
452 }

◆ clear() [1/2]

void TgcRawData::clear ( uint16_t bcTag,
uint16_t subDetectorId,
uint16_t rodId,
uint16_t l1Id,
uint16_t bcId )
private

Definition at line 49 of file TgcRawData.cxx.

54{
55 m_bcTag = bcTag;
57 m_rodId = rodId;
58 m_l1Id = l1Id;
59 m_bcId = bcId;
60 m_bitpos = 0;
61 m_tracklet = 0;
62 m_adjacent = false;
64 m_forward = false;
65 m_index = 0;
66 m_pos = 0;
67 m_delta = 0;
68 m_inner = 0;
69 m_segment = 0;
70 m_subMatrix = 0;
71 m_sector = 0;
72 m_chip = 0;
73 m_hipt = false;
74 m_hitId = 0;
75 m_hsub = 0;
76 m_strip = false;
77 m_cand3plus = false;
78 m_muplus = false;
79 m_threshold = 0;
80 m_overlap = false;
81 m_veto = false;
82 m_roi = 0;
83 m_innerflag = 0;
84 m_coinflag = 0;
85 m_nsweta = 0;
86 m_nswphi = 0;
87 m_nswsl = 0;
88 m_nswcand = 0;
89 m_nswdtheta = 0;
90 m_nswphires = 0;
91 m_nswlowres = 0;
92 m_nswid = 0;
93 m_rpceta = 0;
94 m_rpcphi = 0;
95 m_rpcflag = 0;
96 m_rpcdeta = 0;
97 m_rpcdphi = 0;
98 m_ei = 0;
99 m_fi = 0;
100 m_cid = 0;
101 m_tmdbmod = 0;
102 m_tmdbbcid = 0;
103}
uint16_t m_rodId
Definition TgcRawData.h:498
uint16_t m_subDetectorId
Definition TgcRawData.h:497
uint16_t m_l1Id
Definition TgcRawData.h:503
uint16_t m_nswsl
Definition TgcRawData.h:560

◆ clear() [2/2]

void TgcRawData::clear ( uint16_t bcTag,
uint16_t subDetectorId,
uint16_t rodId,
uint16_t sswId,
uint16_t slbId,
uint16_t l1Id,
uint16_t bcId )
private

Definition at line 8 of file TgcRawData.cxx.

15{
16 m_bcTag = bcTag;
18 m_rodId = rodId;
19 m_sswId = sswId;
20 m_slbId = slbId;
21 m_l1Id = l1Id;
22 m_bcId = bcId;
24 m_bitpos = 0;
25 m_tracklet = 0;
26 m_adjacent = false;
28 m_forward = false;
29 m_index = 0;
30 m_pos = 0;
31 m_delta = 0;
32 m_inner = 0;
33 m_segment = 0;
34 m_subMatrix = 0;
35 m_sector = 0;
36 m_chip = 0;
37 m_hipt = false;
38 m_hitId = 0;
39 m_hsub = 0;
40 m_strip = false;
41 m_cand3plus = false;
42 m_muplus = false;
43 m_threshold = 0;
44 m_overlap = false;
45 m_veto = false;
46 m_roi = 0;
47}
uint16_t m_sswId
Definition TgcRawData.h:499
uint16_t m_slbId
Definition TgcRawData.h:500

◆ coinflag()

uint16_t TgcRawData::coinflag ( ) const
inline

Definition at line 385 of file TgcRawData.h.

386 {
387 return m_coinflag;
388 }

◆ delta()

int16_t TgcRawData::delta ( ) const
inline

Definition at line 317 of file TgcRawData.h.

318 {
319 return m_delta;
320 }

◆ ei()

uint16_t TgcRawData::ei ( ) const
inline

Definition at line 441 of file TgcRawData.h.

442 {
443 return m_ei;
444 }

◆ fi()

uint16_t TgcRawData::fi ( ) const
inline

Definition at line 445 of file TgcRawData.h.

446 {
447 return m_fi;
448 }

◆ hitId()

uint16_t TgcRawData::hitId ( ) const
inline

Definition at line 345 of file TgcRawData.h.

346 {
347 return m_hitId;
348 }

◆ hsub()

uint16_t TgcRawData::hsub ( ) const
inline

Definition at line 349 of file TgcRawData.h.

350 {
351 return m_hsub;
352 }

◆ index()

uint16_t TgcRawData::index ( ) const
inline

Definition at line 309 of file TgcRawData.h.

310 {
311 return m_index;
312 }

◆ inner()

uint16_t TgcRawData::inner ( ) const
inline

Definition at line 321 of file TgcRawData.h.

322 {
323 return m_inner;
324 }

◆ innerflag()

uint16_t TgcRawData::innerflag ( ) const
inline

Definition at line 381 of file TgcRawData.h.

382 {
383 return m_innerflag;
384 }

◆ isAdjacent()

bool TgcRawData::isAdjacent ( ) const
inline

Definition at line 305 of file TgcRawData.h.

306 {
307 return m_adjacent;
308 }

◆ isCoincidence()

bool TgcRawData::isCoincidence ( ) const
inline

Definition at line 237 of file TgcRawData.h.

◆ isForward()

bool TgcRawData::isForward ( ) const
inline

Definition at line 289 of file TgcRawData.h.

290 {
291 return m_forward;
292 }

◆ isHipt()

bool TgcRawData::isHipt ( ) const
inline

Definition at line 341 of file TgcRawData.h.

342 {
343 return m_hipt;
344 }

◆ isMuplus()

bool TgcRawData::isMuplus ( ) const
inline

Definition at line 361 of file TgcRawData.h.

362 {
363 return m_muplus;
364 }

◆ isOverlap()

bool TgcRawData::isOverlap ( ) const
inline

Definition at line 369 of file TgcRawData.h.

370 {
371 return m_overlap;
372 }

◆ isStrip()

bool TgcRawData::isStrip ( ) const
inline

Definition at line 353 of file TgcRawData.h.

354 {
355 return m_strip;
356 }

◆ isVeto()

bool TgcRawData::isVeto ( ) const
inline

Definition at line 373 of file TgcRawData.h.

374 {
375 return m_veto;
376 }

◆ l1Id()

uint16_t TgcRawData::l1Id ( ) const
inline

Definition at line 255 of file TgcRawData.h.

256 {
257 return m_l1Id;
258 }

◆ nswcand()

uint16_t TgcRawData::nswcand ( ) const
inline

Definition at line 401 of file TgcRawData.h.

402 {
403 return m_nswcand;
404 }

◆ nswdtheta()

uint16_t TgcRawData::nswdtheta ( ) const
inline

Definition at line 405 of file TgcRawData.h.

406 {
407 return m_nswdtheta;
408 }

◆ nsweta()

uint16_t TgcRawData::nsweta ( ) const
inline

Definition at line 389 of file TgcRawData.h.

390 {
391 return m_nsweta;
392 }

◆ nswid()

uint16_t TgcRawData::nswid ( ) const
inline

Definition at line 417 of file TgcRawData.h.

418 {
419 return m_nswid;
420 }

◆ nswlowres()

uint16_t TgcRawData::nswlowres ( ) const
inline

Definition at line 413 of file TgcRawData.h.

414 {
415 return m_nswlowres;
416 }

◆ nswphi()

uint16_t TgcRawData::nswphi ( ) const
inline

Definition at line 393 of file TgcRawData.h.

394 {
395 return m_nswphi;
396 }

◆ nswphires()

uint16_t TgcRawData::nswphires ( ) const
inline

Definition at line 409 of file TgcRawData.h.

410 {
411 return m_nswphires;
412 }

◆ nswsl()

uint16_t TgcRawData::nswsl ( ) const
inline

Definition at line 397 of file TgcRawData.h.

398 {
399 return m_nswsl;
400 }

◆ operator=() [1/2]

TgcRawData & TgcRawData::operator= ( const TgcRawData & )
default

◆ operator=() [2/2]

TgcRawData & TgcRawData::operator= ( TgcRawData && )
default

◆ position()

uint16_t TgcRawData::position ( ) const
inline

Definition at line 313 of file TgcRawData.h.

314 {
315 return m_pos;
316 }

◆ rodId()

uint16_t TgcRawData::rodId ( ) const
inline

Definition at line 268 of file TgcRawData.h.

269 {
270 return m_rodId;
271 }

◆ roi()

uint16_t TgcRawData::roi ( ) const
inline

Definition at line 377 of file TgcRawData.h.

378 {
379 return m_roi;
380 }

◆ rpcdeta()

uint16_t TgcRawData::rpcdeta ( ) const
inline

Definition at line 433 of file TgcRawData.h.

434 {
435 return m_rpcdeta;
436 }

◆ rpcdphi()

uint16_t TgcRawData::rpcdphi ( ) const
inline

Definition at line 437 of file TgcRawData.h.

438 {
439 return m_rpcdphi;
440 }

◆ rpceta()

uint16_t TgcRawData::rpceta ( ) const
inline

Definition at line 421 of file TgcRawData.h.

422 {
423 return m_rpceta;
424 }

◆ rpcflag()

uint16_t TgcRawData::rpcflag ( ) const
inline

Definition at line 429 of file TgcRawData.h.

430 {
431 return m_rpcflag;
432 }

◆ rpcphi()

uint16_t TgcRawData::rpcphi ( ) const
inline

Definition at line 425 of file TgcRawData.h.

426 {
427 return m_rpcphi;
428 }

◆ sector()

uint16_t TgcRawData::sector ( ) const
inline

Definition at line 333 of file TgcRawData.h.

334 {
335 return m_sector;
336 }

◆ segment()

uint16_t TgcRawData::segment ( ) const
inline

Definition at line 325 of file TgcRawData.h.

326 {
327 return m_segment;
328 }

◆ setOnlineId()

void TgcRawData::setOnlineId ( uint16_t sId,
uint16_t rId )
inline

Definition at line 245 of file TgcRawData.h.

246 {
247 m_subDetectorId = sId;
248 m_rodId = rId;
249 }

◆ setType()

void TgcRawData::setType ( uint16_t type)

Definition at line 367 of file TgcRawData.cxx.

368{
369 switch (type)
370 {
374 case 3: m_type = TYPE_HIPT; break;
375 case 4: m_type = TYPE_SL; break;
376 case 5: m_type = TYPE_INNER; break;
377 case 6: m_type = TYPE_INNER_NSW; break;
378 case 7: m_type = TYPE_INNER_BIS; break;
379 case 8: m_type = TYPE_INNER_EIFI; break;
380 case 9: m_type = TYPE_INNER_TMDB; break;
381 case 10: m_type = TYPE_HIT; break;
382 default: m_type = TYPE_UNKNOWN; break;
383 }
384}

◆ slbId()

uint16_t TgcRawData::slbId ( ) const
inline

Definition at line 276 of file TgcRawData.h.

277 {
278 return m_slbId;
279 }

◆ slbType()

SlbType TgcRawData::slbType ( ) const
inline

Definition at line 285 of file TgcRawData.h.

286 {
287 return m_slbType;
288 }

◆ slbTypeName() [1/2]

std::string TgcRawData::slbTypeName ( ) const
inline

Definition at line 471 of file TgcRawData.h.

472 {
473 return slbTypeName(m_slbType);
474 }
std::string slbTypeName() const
Definition TgcRawData.h:471

◆ slbTypeName() [2/2]

std::string TgcRawData::slbTypeName ( TgcRawData::SlbType type)
static

Definition at line 402 of file TgcRawData.cxx.

403{
404 switch (type)
405 {
406 case SLB_TYPE_DOUBLET_WIRE: return "Doublet Wire"; break;
407 case SLB_TYPE_DOUBLET_STRIP: return "Doublet Strip"; break;
408 case SLB_TYPE_TRIPLET_WIRE: return "Triplet Wire"; break;
409 case SLB_TYPE_TRIPLET_STRIP: return "Triplet Strip"; break;
410 case SLB_TYPE_INNER_WIRE: return "Inner Wire"; break;
411 case SLB_TYPE_INNER_STRIP: return "Inner Strip"; break;
412 default: return "";
413 }
414}

◆ sswId()

uint16_t TgcRawData::sswId ( ) const
inline

Definition at line 272 of file TgcRawData.h.

273 {
274 return m_sswId;
275 }

◆ subDetectorId()

uint16_t TgcRawData::subDetectorId ( ) const
inline

Definition at line 264 of file TgcRawData.h.

265 {
266 return m_subDetectorId;
267 }

◆ subMatrix()

uint16_t TgcRawData::subMatrix ( ) const
inline

Definition at line 329 of file TgcRawData.h.

330 {
331 return m_subMatrix;
332 }

◆ threshold()

uint16_t TgcRawData::threshold ( ) const
inline

Definition at line 365 of file TgcRawData.h.

366 {
367 return m_threshold;
368 }

◆ tmdbbcid()

uint16_t TgcRawData::tmdbbcid ( ) const
inline

Definition at line 457 of file TgcRawData.h.

458 {
459 return m_tmdbbcid;
460 }

◆ tmdbmod()

uint16_t TgcRawData::tmdbmod ( ) const
inline

Definition at line 453 of file TgcRawData.h.

454 {
455 return m_tmdbmod;
456 }

◆ tracklet()

uint16_t TgcRawData::tracklet ( ) const
inline

Definition at line 301 of file TgcRawData.h.

302 {
303 return m_tracklet;
304 }

◆ type()

DataType TgcRawData::type ( ) const
inline

Definition at line 280 of file TgcRawData.h.

281 {
282 return m_type;
283 }

◆ typeName() [1/2]

std::string TgcRawData::typeName ( ) const
inline

Definition at line 464 of file TgcRawData.h.

465 {
466 return typeName(m_type);
467 }
std::string typeName() const
Definition TgcRawData.h:464

◆ typeName() [2/2]

std::string TgcRawData::typeName ( TgcRawData::DataType type)
static

Definition at line 386 of file TgcRawData.cxx.

387{
388 switch (type)
389 {
390 case TYPE_HIT: return "Hit"; break;
391 case TYPE_TRACKLET: return "Tracklet"; break;
392 case TYPE_HIPT: return "High pT"; break;
393 case TYPE_SL: return "RoI"; break;
394 case TYPE_INNER: return "Inner"; break;
395 case TYPE_INNER_NSW: return "NSW"; break;
396 case TYPE_INNER_BIS: return "RPCBIS"; break;
397 case TYPE_INNER_EIFI: return "EIFI"; break;
398 case TYPE_INNER_TMDB: return "TMDB"; break;
399 default: return "";
400 }
401}

◆ TgcRawDataCnv_p1

friend class TgcRawDataCnv_p1
friend

Definition at line 25 of file TgcRawData.h.

◆ TgcRawDataCnv_p2

friend class TgcRawDataCnv_p2
friend

Definition at line 26 of file TgcRawData.h.

◆ TgcRawDataCnv_p3

friend class TgcRawDataCnv_p3
friend

Definition at line 27 of file TgcRawData.h.

◆ TgcRawDataCnv_p4

friend class TgcRawDataCnv_p4
friend

Definition at line 28 of file TgcRawData.h.

Member Data Documentation

◆ m_adjacent

bool TgcRawData::m_adjacent = false
private

Definition at line 517 of file TgcRawData.h.

◆ m_bcId

uint16_t TgcRawData::m_bcId = 0U
private

Definition at line 504 of file TgcRawData.h.

◆ m_bcTag

uint16_t TgcRawData::m_bcTag = 0U
private

Definition at line 494 of file TgcRawData.h.

◆ m_bitpos

uint16_t TgcRawData::m_bitpos = 0U
private

Definition at line 512 of file TgcRawData.h.

◆ m_cand3plus

bool TgcRawData::m_cand3plus = false
private

Definition at line 545 of file TgcRawData.h.

◆ m_chip

uint16_t TgcRawData::m_chip = 0U
private

Definition at line 537 of file TgcRawData.h.

◆ m_cid

uint16_t TgcRawData::m_cid = 0U
private

Definition at line 577 of file TgcRawData.h.

◆ m_coinflag

uint16_t TgcRawData::m_coinflag = 0U
private

Definition at line 555 of file TgcRawData.h.

◆ m_delta

int16_t TgcRawData::m_delta = 0
private

Definition at line 531 of file TgcRawData.h.

◆ m_ei

uint16_t TgcRawData::m_ei = 0U
private

Definition at line 575 of file TgcRawData.h.

◆ m_fi

uint16_t TgcRawData::m_fi = 0U
private

Definition at line 576 of file TgcRawData.h.

◆ m_forward

bool TgcRawData::m_forward = false
private

Definition at line 524 of file TgcRawData.h.

◆ m_hipt

bool TgcRawData::m_hipt = false
private

Definition at line 538 of file TgcRawData.h.

◆ m_hitId

uint16_t TgcRawData::m_hitId = 0U
private

Definition at line 539 of file TgcRawData.h.

◆ m_hsub

uint16_t TgcRawData::m_hsub = 0U
private

Definition at line 540 of file TgcRawData.h.

◆ m_index

uint16_t TgcRawData::m_index = 0U
private

Definition at line 527 of file TgcRawData.h.

◆ m_inner

uint16_t TgcRawData::m_inner = 0U
private

Definition at line 542 of file TgcRawData.h.

◆ m_innerflag

uint16_t TgcRawData::m_innerflag = 0U
private

Definition at line 554 of file TgcRawData.h.

◆ m_l1Id

uint16_t TgcRawData::m_l1Id = 0U
private

Definition at line 503 of file TgcRawData.h.

◆ m_muplus

bool TgcRawData::m_muplus = false
private

Definition at line 546 of file TgcRawData.h.

◆ m_nswcand

uint16_t TgcRawData::m_nswcand = 0U
private

Definition at line 561 of file TgcRawData.h.

◆ m_nswdtheta

uint16_t TgcRawData::m_nswdtheta = 0U
private

Definition at line 562 of file TgcRawData.h.

◆ m_nsweta

uint16_t TgcRawData::m_nsweta = 0U
private

Definition at line 558 of file TgcRawData.h.

◆ m_nswid

uint16_t TgcRawData::m_nswid = 0U
private

Definition at line 565 of file TgcRawData.h.

◆ m_nswlowres

uint16_t TgcRawData::m_nswlowres = 0U
private

Definition at line 564 of file TgcRawData.h.

◆ m_nswphi

uint16_t TgcRawData::m_nswphi = 0U
private

Definition at line 559 of file TgcRawData.h.

◆ m_nswphires

uint16_t TgcRawData::m_nswphires = 0U
private

Definition at line 563 of file TgcRawData.h.

◆ m_nswsl

uint16_t TgcRawData::m_nswsl = 0U
private

Definition at line 560 of file TgcRawData.h.

◆ m_overlap

bool TgcRawData::m_overlap = false
private

Definition at line 548 of file TgcRawData.h.

◆ m_pos

uint16_t TgcRawData::m_pos = 0U
private

Definition at line 530 of file TgcRawData.h.

◆ m_rodId

uint16_t TgcRawData::m_rodId = 0U
private

Definition at line 498 of file TgcRawData.h.

◆ m_roi

uint16_t TgcRawData::m_roi = 0U
private

Definition at line 550 of file TgcRawData.h.

◆ m_rpcdeta

uint16_t TgcRawData::m_rpcdeta = 0U
private

Definition at line 571 of file TgcRawData.h.

◆ m_rpcdphi

uint16_t TgcRawData::m_rpcdphi = 0U
private

Definition at line 572 of file TgcRawData.h.

◆ m_rpceta

uint16_t TgcRawData::m_rpceta = 0U
private

Definition at line 568 of file TgcRawData.h.

◆ m_rpcflag

uint16_t TgcRawData::m_rpcflag = 0U
private

Definition at line 570 of file TgcRawData.h.

◆ m_rpcphi

uint16_t TgcRawData::m_rpcphi = 0U
private

Definition at line 569 of file TgcRawData.h.

◆ m_sector

uint16_t TgcRawData::m_sector = 0U
private

Definition at line 536 of file TgcRawData.h.

◆ m_segment

uint16_t TgcRawData::m_segment = 0U
private

Definition at line 532 of file TgcRawData.h.

◆ m_slbId

uint16_t TgcRawData::m_slbId = 0U
private

Definition at line 500 of file TgcRawData.h.

◆ m_slbType

SlbType TgcRawData::m_slbType {SLB_TYPE_UNKNOWN}
private

Definition at line 506 of file TgcRawData.h.

◆ m_sswId

uint16_t TgcRawData::m_sswId = 0U
private

Definition at line 499 of file TgcRawData.h.

◆ m_strip

bool TgcRawData::m_strip = false
private

Definition at line 541 of file TgcRawData.h.

◆ m_subDetectorId

uint16_t TgcRawData::m_subDetectorId = 0U
private

Definition at line 497 of file TgcRawData.h.

◆ m_subMatrix

uint16_t TgcRawData::m_subMatrix = 0U
private

Definition at line 533 of file TgcRawData.h.

◆ m_threshold

uint16_t TgcRawData::m_threshold = 0U
private

Definition at line 547 of file TgcRawData.h.

◆ m_tmdbbcid

uint16_t TgcRawData::m_tmdbbcid = 0U
private

Definition at line 581 of file TgcRawData.h.

◆ m_tmdbmod

uint16_t TgcRawData::m_tmdbmod = 0U
private

Definition at line 580 of file TgcRawData.h.

◆ m_tracklet

uint16_t TgcRawData::m_tracklet = 0U
private

Definition at line 515 of file TgcRawData.h.

◆ m_type

DataType TgcRawData::m_type
private

Definition at line 523 of file TgcRawData.h.

◆ m_veto

bool TgcRawData::m_veto = false
private

Definition at line 549 of file TgcRawData.h.

◆ NSW_BCID_BIT

uint32_t TgcRawData::NSW_BCID_BIT = 0xF
staticconstexpr

Definition at line 220 of file TgcRawData.h.

◆ NSW_BCID_BITSHIFT

uint32_t TgcRawData::NSW_BCID_BITSHIFT = 5
staticconstexpr

Definition at line 219 of file TgcRawData.h.

◆ NSW_CAND_BIT

uint32_t TgcRawData::NSW_CAND_BIT = 0x3
staticconstexpr

Definition at line 216 of file TgcRawData.h.

◆ NSW_CAND_BITSHIFT

uint32_t TgcRawData::NSW_CAND_BITSHIFT = 0
staticconstexpr

Definition at line 215 of file TgcRawData.h.

◆ NSW_INPUT_BIT

uint32_t TgcRawData::NSW_INPUT_BIT = 0x7
staticconstexpr

Definition at line 218 of file TgcRawData.h.

◆ NSW_INPUT_BITSHIFT

uint32_t TgcRawData::NSW_INPUT_BITSHIFT = 2
staticconstexpr

Definition at line 217 of file TgcRawData.h.

◆ RPC_BCID_BIT

uint32_t TgcRawData::RPC_BCID_BIT = 0xF
staticconstexpr

Definition at line 227 of file TgcRawData.h.

◆ RPC_BCID_BITSHIFT

uint32_t TgcRawData::RPC_BCID_BITSHIFT = 4
staticconstexpr

Definition at line 226 of file TgcRawData.h.

◆ RPC_CAND_BIT

uint32_t TgcRawData::RPC_CAND_BIT = 0x3
staticconstexpr

Definition at line 225 of file TgcRawData.h.

◆ RPC_CAND_BITSHIFT

uint32_t TgcRawData::RPC_CAND_BITSHIFT = 2
staticconstexpr

Definition at line 224 of file TgcRawData.h.

◆ RPC_FLAG_BIT

uint32_t TgcRawData::RPC_FLAG_BIT = 0x3
staticconstexpr

Definition at line 223 of file TgcRawData.h.

◆ RPC_FLAG_BITSHIFT

uint32_t TgcRawData::RPC_FLAG_BITSHIFT = 0
staticconstexpr

Definition at line 222 of file TgcRawData.h.


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