Analysis Software
Documentation for sPHENIX simulation software
|
#include <online_distribution/blob/master/newbasic/oncsSub_idfnalmwpcv2.h>
Classes | |
struct | SpillInfo |
struct | TDC_hit |
struct | TDCData |
struct | TDCEvent |
struct | TDCspillheader |
Public Member Functions | |
oncsSub_idfnalmwpcv2 (subevtdata_ptr) | |
~oncsSub_idfnalmwpcv2 () | |
int | iValue (const int n, const char *) |
int | iValue (const int trigger, const int tdc, const char *what) |
int | iValue (const int trigger, const int tdc, const int index) |
int | iValue (const int trigger, const int tdc, const int index, const char *what) |
void | dump (OSTREAM &os=COUT) |
Public Member Functions inherited from oncsSubevent_w4 | |
oncsSubevent_w4 (subevtdata_ptr) | |
virtual void | gdump (const int how=EVT_HEXADECIMAL, OSTREAM &os=COUT) const |
Public Member Functions inherited from oncsSubevent | |
oncsSubevent (subevtdata_ptr data) | |
virtual | ~oncsSubevent () |
virtual int | getLength () const |
virtual int | getIdentifier () const |
get the packet identifier | |
virtual int | getHitFormat () const |
get the hit format; in case of unformatted get the encoding scheme. | |
virtual int | getPadding () const |
get the number of padding units in the packet data. | |
virtual int | getDataLength () const |
get what the name says... | |
virtual int | getStructure () const |
get the structure of the packet data; unformatted, hitlist, etc. | |
virtual int | getDebugLength () const |
get the length of the debug block | |
virtual int | getErrorLength () const |
virtual void | identify (OSTREAM &=COUT) const |
virtual int | setIdentifier (const int newid) |
set a new packet identifier | |
int | iValue (const int) |
iValue returns the value of a given channel as an int. | |
int | iValue (const int, const char *) |
int | iValue (const int, const int) |
int | iValue (const int, const int, const char *) |
int | iValue (const int channel, const int iy, const int iz) |
int | iValue (const int channel, const int iy, const int iz, const char *what) |
virtual float | rValue (const int) |
virtual float | rValue (const int, const char *) |
virtual float | rValue (const int, const int) |
virtual int | getArraylength (const char *) |
virtual int | fillIntArray (int[], const int, int *, const char *what="") |
virtual int | fillFloatArray (float[], const int, int *, const char *what="") |
fillFloatArray fills an array of floats | |
virtual int * | getIntArray (int *, const char *what="") |
virtual float * | getFloatArray (int *, const char *what="") |
getFloatArray creates and returns an array of floats | |
virtual int | is_pointer_type () const |
find out what type (pointer- or data based) packet object we have | |
virtual int | convert () |
convert from pointer- to data based object, if it is already data-based, do nothing. | |
virtual int | copyMe (int[], const int maxlength) const |
int | setInternalParameter (const int p1=0, const int p2=0, const char *what="") |
Public Member Functions inherited from Packet | |
virtual | ~Packet () |
the virtual destructor | |
virtual double | dValue (const int channel) |
virtual double | dValue (const int channel, const char *what) |
virtual double | dValue (const int channel, const int iy) |
virtual long long | lValue (const int channel) |
virtual long long | lValue (const int channel, const char *what) |
virtual long long | lValue (const int channel, const int iy) |
virtual long long | lValue (const int channel, const int iy, const char *what) |
virtual void * | pValue (const int) |
virtual void * | pValue (const int, const char *) |
virtual void * | pValue (const int, const int) |
virtual void | identify (std::ostream &os=std::cout) const =0 |
see below for comments | |
virtual void | fullIdentify (std::ostream &os=std::cout) const |
write an indepth identification message to the supplied OSTREAM. | |
virtual void | dump (std::ostream &os=std::cout)=0 |
virtual void | gdump (const int how=EVT_HEXADECIMAL, std::ostream &os=std::cout) const =0 |
virtual int | getCheckSumStatus () const |
Protected Member Functions | |
int * | decode (int *) |
Protected Attributes | |
int | _decoded |
int | tdcmask |
int | n_tdcs |
int | length |
SpillInfo | spillinfo |
TDCspillheader | tsh [MAXNROFTDCS] |
std::vector< TDCEvent * > | TDCEventVector |
Definition at line 10 of file oncsSub_idfnalmwpcv2.h.
View newest version in sPHENIX GitHub at line 10 of file oncsSub_idfnalmwpcv2.h
oncsSub_idfnalmwpcv2::oncsSub_idfnalmwpcv2 | ( | subevtdata_ptr | data | ) |
Definition at line 10 of file oncsSub_idfnalmwpcv2.cc.
View newest version in sPHENIX GitHub at line 10 of file oncsSub_idfnalmwpcv2.cc
References _decoded, length, MAXNROFTDCS, n_tdcs, spillinfo, and tsh.
oncsSub_idfnalmwpcv2::~oncsSub_idfnalmwpcv2 | ( | ) |
Definition at line 23 of file oncsSub_idfnalmwpcv2.cc.
View newest version in sPHENIX GitHub at line 23 of file oncsSub_idfnalmwpcv2.cc
|
protectedvirtual |
Reimplemented from oncsSubevent_w4.
Definition at line 26 of file oncsSub_idfnalmwpcv2.cc.
View newest version in sPHENIX GitHub at line 26 of file oncsSub_idfnalmwpcv2.cc
References _decoded, oncsSub_idfnalmwpcv2::TDCData::absolute_time, oncsSub_idfnalmwpcv2::TDCEvent::absolute_time, subevt_data::data, oncsSub_idfnalmwpcv2::SpillInfo::day, dlength, oncsSub_idfnalmwpcv2::TDCData::EventStatus, oncsSub_idfnalmwpcv2::TDCData::evt_timestamp, oncsSub_idfnalmwpcv2::TDCEvent::evt_timestamp, for(), oncsSubevent::getLength(), oncsSubevent::getPadding(), h, oncsSub_idfnalmwpcv2::TDCData::hits, oncsSub_idfnalmwpcv2::SpillInfo::hour, i, length, oncsSub_idfnalmwpcv2::TDCData::local_ts_lower, oncsSub_idfnalmwpcv2::TDCEvent::local_ts_lower, oncsSub_idfnalmwpcv2::TDCData::local_ts_upper, oncsSub_idfnalmwpcv2::TDCEvent::local_ts_upper, MAXNROFTDCS, oncsSub_idfnalmwpcv2::SpillInfo::minute, oncsSub_idfnalmwpcv2::SpillInfo::month, n_tdcs, Acts::Test::pos, physmon_simulation::s, oncsSub_idfnalmwpcv2::SpillInfo::second, oncsSub_idfnalmwpcv2::SpillInfo::Spill_Link_Status_Bits, oncsSub_idfnalmwpcv2::SpillInfo::spillcounter, spillinfo, oncsSub_idfnalmwpcv2::TDCspillheader::spillstatus, oncsSub_idfnalmwpcv2::TDCspillheader::spilltriggercount, oncsSub_idfnalmwpcv2::SpillInfo::spillwords, oncsSub_idfnalmwpcv2::TDCspillheader::spillwords, oncsSubevent::SubeventHdr, oncsSub_idfnalmwpcv2::TDCEvent::td, oncsSub_idfnalmwpcv2::TDCData::TDC, oncsSub_idfnalmwpcv2::TDCspillheader::TDC, oncsSub_idfnalmwpcv2::SpillInfo::TDC_Status_Bits, TDCEventVector, oncsSub_idfnalmwpcv2::TDCData::TDCHitlist, tdcmask, oncsSub_idfnalmwpcv2::TDC_hit::timestamp, oncsSub_idfnalmwpcv2::TDCEvent::trigger_nr, oncsSub_idfnalmwpcv2::SpillInfo::triggercount, oncsSub_idfnalmwpcv2::TDCData::triggertype, tsh, testSigmaEff::v, oncsSub_idfnalmwpcv2::TDC_hit::wire, oncsSub_idfnalmwpcv2::TDCData::words, ambiguity_solver_full_chain::x, xpos, and oncsSub_idfnalmwpcv2::SpillInfo::year.
Referenced by dump(), and iValue().
Reimplemented from oncsSubevent_w4.
Definition at line 379 of file oncsSub_idfnalmwpcv2.cc.
View newest version in sPHENIX GitHub at line 379 of file oncsSub_idfnalmwpcv2.cc
References decode(), oncsSubevent::identify(), iValue(), j, k, and tc.
|
virtual |
with the "what" parameter you can decide which aspect of the data you want to see (for devices which have more than one)
Implements Packet.
Definition at line 258 of file oncsSub_idfnalmwpcv2.cc.
View newest version in sPHENIX GitHub at line 258 of file oncsSub_idfnalmwpcv2.cc
References oncsSub_idfnalmwpcv2::SpillInfo::day, decode(), oncsSub_idfnalmwpcv2::SpillInfo::hour, oncsSub_idfnalmwpcv2::SpillInfo::minute, oncsSub_idfnalmwpcv2::SpillInfo::month, n_tdcs, oncsSub_idfnalmwpcv2::SpillInfo::second, oncsSub_idfnalmwpcv2::SpillInfo::Spill_Link_Status_Bits, oncsSub_idfnalmwpcv2::SpillInfo::spillcounter, spillinfo, oncsSub_idfnalmwpcv2::SpillInfo::TDC_Status_Bits, oncsSub_idfnalmwpcv2::SpillInfo::triggercount, and oncsSub_idfnalmwpcv2::SpillInfo::year.
Referenced by dump(), and iValue().
|
virtual |
we have a few recent devices which have one more dimension (such as card, time sample, channel)
Implements Packet.
Definition at line 332 of file oncsSub_idfnalmwpcv2.cc.
View newest version in sPHENIX GitHub at line 332 of file oncsSub_idfnalmwpcv2.cc
References decode(), n_tdcs, and TDCEventVector.
|
virtual |
this supports devices organized as three-dimensional data (card vs channel vs time slice )
Implements Packet.
Definition at line 322 of file oncsSub_idfnalmwpcv2.cc.
View newest version in sPHENIX GitHub at line 322 of file oncsSub_idfnalmwpcv2.cc
References decode(), index, n_tdcs, and TDCEventVector.
|
virtual |
this supports devices organized as three-dimensional data (card vs channel vs time slice, with a "what" selection )
Implements Packet.
Definition at line 357 of file oncsSub_idfnalmwpcv2.cc.
View newest version in sPHENIX GitHub at line 357 of file oncsSub_idfnalmwpcv2.cc
References decode(), index, iValue(), n_tdcs, and TDCEventVector.
|
protected |
Definition at line 38 of file oncsSub_idfnalmwpcv2.h.
View newest version in sPHENIX GitHub at line 38 of file oncsSub_idfnalmwpcv2.h
Referenced by decode(), and oncsSub_idfnalmwpcv2().
|
protected |
Definition at line 98 of file oncsSub_idfnalmwpcv2.h.
View newest version in sPHENIX GitHub at line 98 of file oncsSub_idfnalmwpcv2.h
Referenced by decode(), and oncsSub_idfnalmwpcv2().
|
protected |
Definition at line 97 of file oncsSub_idfnalmwpcv2.h.
View newest version in sPHENIX GitHub at line 97 of file oncsSub_idfnalmwpcv2.h
Referenced by decode(), iValue(), and oncsSub_idfnalmwpcv2().
|
protected |
Definition at line 100 of file oncsSub_idfnalmwpcv2.h.
View newest version in sPHENIX GitHub at line 100 of file oncsSub_idfnalmwpcv2.h
Referenced by decode(), iValue(), and oncsSub_idfnalmwpcv2().
|
protected |
Definition at line 105 of file oncsSub_idfnalmwpcv2.h.
View newest version in sPHENIX GitHub at line 105 of file oncsSub_idfnalmwpcv2.h
|
protected |
Definition at line 96 of file oncsSub_idfnalmwpcv2.h.
View newest version in sPHENIX GitHub at line 96 of file oncsSub_idfnalmwpcv2.h
Referenced by decode().
|
protected |
Definition at line 102 of file oncsSub_idfnalmwpcv2.h.
View newest version in sPHENIX GitHub at line 102 of file oncsSub_idfnalmwpcv2.h
Referenced by decode(), and oncsSub_idfnalmwpcv2().