BmnRoot
Loading...
Searching...
No Matches
BmnSsdDigi Class Reference

Data class for a single-channel message in the SSD. More...

#include <BmnSsdDigi.h>

Inheritance diagram for BmnSsdDigi:
[legend]
Collaboration diagram for BmnSsdDigi:
[legend]

Public Member Functions

 BmnSsdDigi ()
 
 BmnSsdDigi (Int_t address, Int_t channel, ULong64_t time, UShort_t charge)
 
virtual ~BmnSsdDigi ()
 
virtual Int_t GetAddress () const
 
UShort_t GetChannel () const
 Channel number in module @value Channel number.
 
virtual Double_t GetCharge () const
 
virtual Int_t GetSystemId () const
 
virtual Double_t GetTime () const
 
template<class Archive >
void serialize (Archive &ar, const unsigned int)
 
virtual std::string ToString () const
 
- Public Member Functions inherited from BmnDigi
 BmnDigi ()
 
 BmnDigi (const BmnDigi &)
 
 BmnDigi (BmnDigi &&)
 
virtual ~BmnDigi ()
 
BmnDigioperator= (const BmnDigi &)
 
BmnDigioperator= (BmnDigi &&)
 
BmnMatchGetMatch () const
 
void SetMatch (BmnMatch *match)
 

Friends

class boost::serialization::access
 

Additional Inherited Members

- Protected Member Functions inherited from BmnDigi
 ClassDef (BmnDigi, 2)
 
- Protected Attributes inherited from BmnDigi
BmnMatchfMatch
 Monte-Carlo match information.
 

Detailed Description

Data class for a single-channel message in the SSD.

The BmnSsdDigi is the ROOT representation of the smallest information unit delivered by the BMN SSD by a single readout channel. It carries the channel address, the measurement time and the digitised charge as information.

Definition at line 26 of file BmnSsdDigi.h.

Constructor & Destructor Documentation

◆ BmnSsdDigi() [1/2]

BmnSsdDigi::BmnSsdDigi ( )
inline

Default constructor

Definition at line 30 of file BmnSsdDigi.h.

◆ BmnSsdDigi() [2/2]

BmnSsdDigi::BmnSsdDigi ( Int_t  address,
Int_t  channel,
ULong64_t  time,
UShort_t  charge 
)
inline

Standard constructor

Parameters
addressUnique element address
timeMeasurement time [ns]
chargeCharge [ADC units]

Definition at line 43 of file BmnSsdDigi.h.

◆ ~BmnSsdDigi()

virtual BmnSsdDigi::~BmnSsdDigi ( )
inlinevirtual

Destructor

Definition at line 52 of file BmnSsdDigi.h.

Member Function Documentation

◆ GetAddress()

virtual Int_t BmnSsdDigi::GetAddress ( ) const
inlinevirtual

Unique detector element address (see BmnSsdAddress) @value Unique address of readout channel

Implements BmnDigi.

Definition at line 57 of file BmnSsdDigi.h.

◆ GetChannel()

UShort_t BmnSsdDigi::GetChannel ( ) const
inline

Channel number in module @value Channel number.

Definition at line 62 of file BmnSsdDigi.h.

◆ GetCharge()

virtual Double_t BmnSsdDigi::GetCharge ( ) const
inlinevirtual

Charge @value Charge [ADC units]

Reimplemented from BmnDigi.

Definition at line 67 of file BmnSsdDigi.h.

◆ GetSystemId()

virtual Int_t BmnSsdDigi::GetSystemId ( ) const
inlinevirtual

System ID @value System identifier (enum DetectorId)

Implements BmnDigi.

Definition at line 72 of file BmnSsdDigi.h.

References kSSD.

◆ GetTime()

virtual Double_t BmnSsdDigi::GetTime ( ) const
inlinevirtual

Time of measurement @value Time [ns]

Implements BmnDigi.

Definition at line 77 of file BmnSsdDigi.h.

◆ serialize()

template<class Archive >
void BmnSsdDigi::serialize ( Archive &  ar,
const unsigned int   
)
inline

Definition at line 80 of file BmnSsdDigi.h.

◆ ToString()

string BmnSsdDigi::ToString ( ) const
virtual

String output

Reimplemented from BmnDigi.

Definition at line 16 of file BmnSsdDigi.cxx.

Friends And Related Symbol Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 92 of file BmnSsdDigi.h.


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