Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mvtx::InteractionRecord Struct Reference

< TODO: Add RHIC constants More...

#include <online_distribution/blob/master/newbasic/mvtx_decoder/InteractionRecord.h>

Public Member Functions

 InteractionRecord ()=default
 
 InteractionRecord (uint64_t orb, uint16_t b)
 
 InteractionRecord (const InteractionRecord &src)=default
 
InteractionRecordoperator= (const InteractionRecord &src)=default
 
void clear ()
 
bool isDummy () const
 
bool operator== (const InteractionRecord &other) const
 
bool operator!= (const InteractionRecord &other) const
 
void print () const
 
std::string asString () const
 

Public Attributes

uint64_t orbit = DummyOrbit
 RHIC orbit (BCO)
 
uint16_t bc = DummyBC
 bunch crossing ID of interaction
 

Static Public Attributes

static constexpr uint64_t DummyOrbit = 0xffffffffff
 
static constexpr uint16_t DummyBC = 0xffff
 

Friends

std::ostream & operator<< (std::ostream &stream, InteractionRecord const &ir)
 

Detailed Description

< TODO: Add RHIC constants

Definition at line 32 of file InteractionRecord.h.

View newest version in sPHENIX GitHub at line 32 of file InteractionRecord.h

Constructor & Destructor Documentation

mvtx::InteractionRecord::InteractionRecord ( )
default
mvtx::InteractionRecord::InteractionRecord ( uint64_t  orb,
uint16_t  b 
)
inline

Definition at line 43 of file InteractionRecord.h.

View newest version in sPHENIX GitHub at line 43 of file InteractionRecord.h

mvtx::InteractionRecord::InteractionRecord ( const InteractionRecord src)
default

Member Function Documentation

std::string mvtx::InteractionRecord::asString ( ) const

Definition at line 12 of file InteractionRecord.cxx.

View newest version in sPHENIX GitHub at line 12 of file InteractionRecord.cxx

References bc, isDummy(), and orbit.

Referenced by mvtx::operator<<().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void mvtx::InteractionRecord::clear ( )
inline

Definition at line 49 of file InteractionRecord.h.

View newest version in sPHENIX GitHub at line 49 of file InteractionRecord.h

References bc, DummyBC, DummyOrbit, and orbit.

bool mvtx::InteractionRecord::isDummy ( ) const
inline

Definition at line 55 of file InteractionRecord.h.

View newest version in sPHENIX GitHub at line 55 of file InteractionRecord.h

References bc, and mvtx::lhcConstants::LHCMaxBunches.

Referenced by asString().

+ Here is the caller graph for this function:

bool mvtx::InteractionRecord::operator!= ( const InteractionRecord other) const
inline

Definition at line 65 of file InteractionRecord.h.

View newest version in sPHENIX GitHub at line 65 of file InteractionRecord.h

References bc, and orbit.

InteractionRecord& mvtx::InteractionRecord::operator= ( const InteractionRecord src)
default
bool mvtx::InteractionRecord::operator== ( const InteractionRecord other) const
inline

Definition at line 60 of file InteractionRecord.h.

View newest version in sPHENIX GitHub at line 60 of file InteractionRecord.h

References bc, and orbit.

void mvtx::InteractionRecord::print ( ) const

Definition at line 32 of file InteractionRecord.cxx.

View newest version in sPHENIX GitHub at line 32 of file InteractionRecord.cxx

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
mvtx::InteractionRecord const &  ir 
)
friend

Definition at line 25 of file InteractionRecord.cxx.

View newest version in sPHENIX GitHub at line 25 of file InteractionRecord.cxx

Member Data Documentation

uint16_t mvtx::InteractionRecord::bc = DummyBC

bunch crossing ID of interaction

Definition at line 39 of file InteractionRecord.h.

View newest version in sPHENIX GitHub at line 39 of file InteractionRecord.h

Referenced by asString(), clear(), isDummy(), operator!=(), and operator==().

constexpr uint16_t mvtx::InteractionRecord::DummyBC = 0xffff
static

Definition at line 36 of file InteractionRecord.h.

View newest version in sPHENIX GitHub at line 36 of file InteractionRecord.h

Referenced by clear().

constexpr uint64_t mvtx::InteractionRecord::DummyOrbit = 0xffffffffff
static

Definition at line 35 of file InteractionRecord.h.

View newest version in sPHENIX GitHub at line 35 of file InteractionRecord.h

Referenced by clear().

uint64_t mvtx::InteractionRecord::orbit = DummyOrbit

RHIC orbit (BCO)

Definition at line 38 of file InteractionRecord.h.

View newest version in sPHENIX GitHub at line 38 of file InteractionRecord.h

Referenced by asString(), clear(), operator!=(), and operator==().


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