![]() |
Project
|
Base of a simple event display for digits. More...
#include <SimpleEventDisplay.h>
Inherits o2::tpc::CalibRawBase.
Public Member Functions | |
SimpleEventDisplay () | |
~SimpleEventDisplay () override=default | |
Int_t | updateROC (const Int_t roc, const Int_t row, const Int_t pad, const Int_t timeBin, const Float_t signal) final |
Int_t | updateCRU (const CRU &cru, const Int_t row, const Int_t pad, const Int_t timeBin, const Float_t signal) final |
not used | |
void | updateSectorHists () |
CalPad * | getCalPadMax () |
CalPad * | getCalPadOccupancy () |
void | setSelectedSector (Int_t selectedSector) |
Set currently selected sector. | |
void | setLastSector (Int_t lastSector) |
Set last processed sector. | |
void | setLastSelSector (Int_t lastSelSector) |
Set last selected sector. | |
void | setPedstals (CalPad *pedestals) |
void | setSignalThreshold (Int_t signalThreshold) |
void | setShowOccupancy (bool showOccupancy) |
TH1D * | makePadSignals (Int_t roc, Int_t row, Int_t pad) |
TH2D * | getSigIROC () const |
TH2D * | getSigOROC () const |
void | fillSectorHistSingleTimeBin (TH2Poly *h, Int_t timeBin) |
void | setTimeBinRange (int firstBin, int lastBin) |
set time bin range | |
Int_t | getFirstTimeBin () const |
Int_t | getLastTimeBin () const |
void | endEvent () final |
Dummy end event. | |
![]() | |
CalibRawBase (PadSubset padSubset=PadSubset::ROC) | |
virtual | ~CalibRawBase ()=default |
Int_t | update (const PadROCPos &padROCPos, const CRU &cru, const gsl::span< const uint32_t > data) |
void | addGBTFrameContainer (GBTFrameContainer *cont) |
add GBT frame container to process | |
void | addRawReader (RawReader *reader) |
add RawReader | |
void | setTimeBinsPerCall (Int_t nTimeBins) |
set number of time bins to process in one call to processEvent | |
Int_t | getTimeBinsPerCall () const |
return the number of time bins processed in one call to processEvent | |
PadSubset | getPadSubset () const |
return pad subset type used | |
ProcessStatus | processEvent (int eventNumber=-1) |
void | setupContainers (TString fileInfo, uint32_t verbosity=0, uint32_t debugLevel=0) |
void | setDebugLevel (int debugLevel=1) |
void | rewindEvents () |
Rewind the events. | |
virtual void | dumpToFile (const std::string filename, uint32_t type=0) |
Dump the relevant data to file. | |
void | incrementNEvents () |
increment number of events | |
size_t | getNumberOfProcessedEvents () const |
number of processed events | |
void | setPresentEventNumber (size_t eventNr) |
set present event number | |
size_t | getPresentEventNumber () const |
get present event number | |
bool | isPresentEventValie () const |
int | getNumberOfEvents () const |
return number of events | |
bool | isPresentEventComplete () const |
check if present event is complete | |
void | setNumberOfProcessedTimeBins (size_t timeBins) |
number of processed time bins in last event | |
size_t | getNumberOfProcessedTimeBins () const |
number of processed time bins in last event | |
int | getDebugLevel () const |
Debug level. | |
void | setSkipIncompleteEvents (bool skip) |
set skipping of incomplete events | |
bool | getSkipIncompleteEvents () const |
get skipping of incomplete events | |
void | setDigits (std::array< std::vector< Digit >, Sector::MAXSECTOR > *digits) |
set external digits | |
virtual void | endReader () |
Additional Inherited Members | |
![]() | |
enum class | ProcessStatus : char { Ok , Truncated , NoMoreData , LastEvent , NoReaders , IncompleteEvent } |
![]() | |
const Mapper & | mMapper |
TPC mapper. | |
int | mDebugLevel |
debug level | |
Base of a simple event display for digits.
This class is a base for a simple event display It processes raw data and saves digit information for pad and row.
Definition at line 40 of file SimpleEventDisplay.h.
SimpleEventDisplay::SimpleEventDisplay | ( | ) |
Definition at line 31 of file SimpleEventDisplay.cxx.
|
overridedefault |
|
inlinefinalvirtual |
Dummy end event.
Implements o2::tpc::CalibRawBase.
Definition at line 94 of file SimpleEventDisplay.h.
void SimpleEventDisplay::fillSectorHistSingleTimeBin | ( | TH2Poly * | h, |
Int_t | timeBin | ||
) |
Definition at line 284 of file SimpleEventDisplay.cxx.
|
inline |
Definition at line 56 of file SimpleEventDisplay.h.
|
inline |
Definition at line 58 of file SimpleEventDisplay.h.
|
inline |
Definition at line 90 of file SimpleEventDisplay.h.
|
inline |
Definition at line 91 of file SimpleEventDisplay.h.
|
inline |
Definition at line 77 of file SimpleEventDisplay.h.
|
inline |
Definition at line 78 of file SimpleEventDisplay.h.
TH1D * SimpleEventDisplay::makePadSignals | ( | Int_t | roc, |
Int_t | row, | ||
Int_t | pad | ||
) |
Definition at line 174 of file SimpleEventDisplay.cxx.
|
inline |
Set last processed sector.
Definition at line 64 of file SimpleEventDisplay.h.
|
inline |
Set last selected sector.
Definition at line 67 of file SimpleEventDisplay.h.
Definition at line 69 of file SimpleEventDisplay.h.
|
inline |
Set currently selected sector.
Definition at line 61 of file SimpleEventDisplay.h.
|
inline |
Definition at line 73 of file SimpleEventDisplay.h.
|
inline |
Definition at line 71 of file SimpleEventDisplay.h.
set time bin range
Definition at line 83 of file SimpleEventDisplay.h.
|
finalvirtual |
update function called once per digit
roc | readout chamber |
row | row in roc |
pad | pad in row |
timeBin | time bin |
signal | ADC signal |
Implements o2::tpc::CalibRawBase.
Definition at line 71 of file SimpleEventDisplay.cxx.
void SimpleEventDisplay::updateSectorHists | ( | ) |
Definition at line 163 of file SimpleEventDisplay.cxx.