#include <CSCWireDigi.h>
Public Member Functions | |
CSCWireDigi (int wire, unsigned int tbinb) | |
Constructors. More... | |
CSCWireDigi () | |
wiregroup#, tbin bit word More... | |
int | getBeamCrossingTag () const |
return tbin number, (obsolete, use getTimeBin() instead) More... | |
int | getBXandWireGroup () const |
int | getTimeBin () const |
return first tbin ON number More... | |
std::vector< int > | getTimeBinsOn () const |
return vector of time bins ON More... | |
unsigned int | getTimeBinWord () const |
return the word with time bins bits More... | |
int | getWireGroup () const |
default More... | |
int | getWireGroupBX () const |
return BX assigned for the wire group (16 upper bits from the wire group number) More... | |
void | print () const |
Print content of digi. More... | |
void | setWireGroup (unsigned int wiregroup) |
set wiregroup number More... | |
Private Attributes | |
uint32_t | tbinb_ |
int | wire_ |
int | wireBX_ |
int | wireBXandWires_ |
BX in the wire digis (16 upper bits from the wire group number) More... | |
Digi for CSC anode wires.
Definition at line 14 of file CSCWireDigi.h.
CSCWireDigi::CSCWireDigi | ( | int | wire, |
unsigned int | tbinb | ||
) |
Constructors.
Wire group number in the digi (16 lower bits from the wire group number)
BX in the wire digis (16 upper bits from the wire group number)
BX wire group combination
Definition at line 14 of file CSCWireDigi.cc.
References tbinb_, mixOne_premix_on_sim_cfi::wire, wire_, wireBX_, and wireBXandWires_.
CSCWireDigi::CSCWireDigi | ( | ) |
wiregroup#, tbin bit word
Default.
Definition at line 25 of file CSCWireDigi.cc.
References tbinb_, wire_, wireBX_, and wireBXandWires_.
int CSCWireDigi::getBeamCrossingTag | ( | ) | const |
return tbin number, (obsolete, use getTimeBin() instead)
return tbin number (obsolete, use getTimeBin() instead)
Definition at line 33 of file CSCWireDigi.cc.
References getTimeBin().
Referenced by CSCAnodeData2006::add(), and getTimeBinWord().
|
inline |
return BX-wiregroup number combined (16 upper bits - BX + 16 lower bits - wire group number)
Definition at line 29 of file CSCWireDigi.h.
References wireBXandWires_.
Referenced by CSCHitFromWireOnly::findWireHitPosition(), and print().
int CSCWireDigi::getTimeBin | ( | ) | const |
return first tbin ON number
Definition at line 37 of file CSCWireDigi.cc.
References mps_fire::i, and tbinb_.
Referenced by CSCHitFromWireOnly::addToCluster(), getBeamCrossingTag(), getTimeBinWord(), CSCHitFromWireOnly::makeWireCluster(), operator<<(), and print().
std::vector< int > CSCWireDigi::getTimeBinsOn | ( | ) | const |
return vector of time bins ON
Definition at line 48 of file CSCWireDigi.cc.
References mps_fire::i, and tbinb_.
Referenced by CSCAnodeData2007::add(), getTimeBinWord(), operator<<(), and print().
|
inline |
return the word with time bins bits
Definition at line 31 of file CSCWireDigi.h.
References getBeamCrossingTag(), getTimeBin(), getTimeBinsOn(), print(), and tbinb_.
|
inline |
default
return wiregroup number. counts from 1.
Definition at line 24 of file CSCWireDigi.h.
References wire_.
Referenced by CSCAnodeData2007::add(), CSCAnodeData2006::add(), CSCEventData::add(), CSCHitFromWireOnly::addToCluster(), MuonTruth::analyze(), CSCHitFromWireOnly::findWireHitPosition(), CSCHitFromWireOnly::makeWireCluster(), operator<<(), CSCWireDigiValidation::plotResolution(), print(), and CSCHitFromWireOnly::runWire().
|
inline |
return BX assigned for the wire group (16 upper bits from the wire group number)
Definition at line 26 of file CSCWireDigi.h.
References wireBX_.
Referenced by CSCEventData::add(), and print().
void CSCWireDigi::print | ( | void | ) | const |
Print content of digi.
Debug.
Definition at line 62 of file CSCWireDigi.cc.
References TauDecayModes::dec, getBXandWireGroup(), getTimeBin(), getTimeBinsOn(), getWireGroup(), getWireGroupBX(), and mps_fire::i.
Referenced by getTimeBinWord().
|
inline |
|
private |
Definition at line 49 of file CSCWireDigi.h.
Referenced by CSCWireDigi(), getTimeBin(), getTimeBinsOn(), and getTimeBinWord().
|
private |
Definition at line 48 of file CSCWireDigi.h.
Referenced by CSCWireDigi(), getWireGroup(), and setWireGroup().
|
private |
Definition at line 52 of file CSCWireDigi.h.
Referenced by CSCWireDigi(), and getWireGroupBX().
|
private |
BX in the wire digis (16 upper bits from the wire group number)
Definition at line 51 of file CSCWireDigi.h.
Referenced by CSCWireDigi(), and getBXandWireGroup().