13#include <TTimeStamp.h>
38 ARICHAsicInfo(
const std::string&
id, TTimeStamp timeFinishGain, TTimeStamp timeFinishOffset, std::vector<int>& deadChannel,
39 std::vector<int>& badConnChannel, std::vector<int>& badOffsetChannel, std::vector<int>& badLinChannel,
int numProbCh,
40 std::vector<TH3F*>& gain, std::vector<TH3F*>& offset,
const std::string& comment):
m_id(id),
m_timeFinishGain(timeFinishGain),
void setBadLinChannels(const std::vector< int > &badLinChannels)
Set vector of bad linearity channel numbers.
std::string m_comment
Comment.
TH3F * getOffsetMeasurement(unsigned int i) const
Get measurements with different offset settings.
std::vector< TH3F * > m_gain
Threshold scans with different gain settings.
void setNumOfProblematicChannels(int numProbCh)
Set number of problematic channels.
int getBadConnChannelsSize() const
Get size of the list of channels with bad connections.
std::string getComment() const
Get comment.
std::vector< int > m_deadChannel
List of dead channels on the ASIC chip.
std::vector< int > m_badConnChannel
List of channels with bad connections during the measurement.
void setBadOffsetChannels(const std::vector< int > &badOffsetChannels)
Set vector of bad offset channel numbers.
void setGainMeasurement(std::vector< TH3F * > gain)
Set measurements with different gain settings.
int getBadLinChannel(unsigned int i) const
Get a channel number from the list of channels with bad linearity.
void appendBadLinChannel(int channel)
Add a channel number to the list of channels with bad linearity.
int getBadOffsetChannel(unsigned int i) const
Get a channel number from the list of channels with bad offset adjustment.
std::string m_id
Asic Identifier.
int getDeadChannelsSize() const
Get size of the list of dead channels.
void appendBadConnChannel(int channel)
Add a channel number to the list of channels with bad connections.
void setTimeFinishOffset(TTimeStamp timeFinishOffset)
Set Test date offset - finish.
TTimeStamp getTimeFinishGain() const
Get test date gain - finish.
ClassDef(ARICHAsicInfo, 3)
ClassDef.
void setBadConnChannels(const std::vector< int > &badConnChannels)
Set vector of bad connection channel numbers.
TTimeStamp m_timeFinishGain
Test Date of gain measurements - finish.
float getNumOfProblematicChannels() const
Get number of problematic channels.
int getBadOffsetChannelsSize() const
Get size of the list of channels with bad offset adjustment.
void setTimeFinishGain(TTimeStamp timeFinishGain)
Set test date gain - finish.
void setOffsetMeasurement(std::vector< TH3F * > offset)
Set measurements with different offset settings.
ARICHAsicInfo(const std::string &id, TTimeStamp timeFinishGain, TTimeStamp timeFinishOffset, std::vector< int > &deadChannel, std::vector< int > &badConnChannel, std::vector< int > &badOffsetChannel, std::vector< int > &badLinChannel, int numProbCh, std::vector< TH3F * > &gain, std::vector< TH3F * > &offset, const std::string &comment)
Constructor.
int getBadConnChannel(unsigned int i) const
Get a channel number from the list of channels with bad connections.
void setDeadChannels(const std::vector< int > &deadChannels)
Set vector of dead channel numbers.
~ARICHAsicInfo()
Destructor.
void appendBadOffsetChannel(int channel)
Add a channel number to the list of channels with bad offset adjustment.
TTimeStamp getTimeFinishOffset() const
Get test date offset - finish.
ARICHAsicInfo()
Default constructor.
std::string getAsicID() const
Get ASIC identifier.
void appendDeadChannel(int channel)
Add a channel number to the list of dead channels.
int getDeadChannel(unsigned int i) const
Get a channel number from the list of dead channels.
TTimeStamp m_timeFinishOffset
Test Date of offset measurements - finish.
void setAsicID(const std::string &id)
Set ASIC identifier.
int getBadLinChannelsSize() const
Get size of the list of channels with bad linearity.
void setComment(const std::string &comment)
Set comment.
TH3F * getGainMeasurement(unsigned int i) const
Get measurements with different gain settings.
int m_numProblematicChannels
Number of channels with problems.
std::vector< int > m_badLinChannel
List of channels with bad linearity.
std::vector< TH3F * > m_offset
Threshold scans with different offset settings (course & fine offset)
std::vector< int > m_badOffsetChannel
List of channels with bad offset adjustment.
Abstract base class for different kinds of events.