LDMX Software
|
Class that represents a digitized hit in a calorimeter cell readout by an HGCROC. More...
#include "TObject.h"
#include <stdint.h>
#include <iostream>
#include <vector>
Go to the source code of this file.
Classes | |
class | ldmx::HgcrocDigiCollection |
Represents a collection of the digi hits readout by an HGCROC. More... | |
class | ldmx::HgcrocDigiCollection::Sample |
One sample of a digi channel corresponding to one clock of the HGCROC chip. More... | |
class | ldmx::HgcrocDigiCollection::HgcrocDigi |
One DIGI signal coming from the HGC ROC. More... | |
class | ldmx::HgcrocDigiCollection::iterator |
iterator class so we can do range-based loops over digi collections More... | |
Functions | |
std::ostream & | operator<< (std::ostream &s, const ldmx::HgcrocDigiCollection::Sample &sample) |
Streamer for the HgcrocDigiCollection::Sample. | |
std::ostream & | operator<< (std::ostream &s, const ldmx::HgcrocDigiCollection::HgcrocDigi &digi) |
Streamer for HgcrocDigiCollection::HgcrocDigi. | |
std::ostream & | operator<< (std::ostream &s, const ldmx::HgcrocDigiCollection &col) |
Streamer for HgcrocDigiCollection. | |
Class that represents a digitized hit in a calorimeter cell readout by an HGCROC.
Definition in file HgcrocDigiCollection.h.
std::ostream & operator<< | ( | std::ostream & | s, |
const ldmx::HgcrocDigiCollection & | col | ||
) |
Streamer for HgcrocDigiCollection.
Prints all of the digi's using their streamer.
[in] | s | ostream to print sample to |
[in] | col | HgcrocDigiCollection to print |
Definition at line 136 of file HgcrocDigiCollection.cxx.
References ldmx::HgcrocDigiCollection::getDigi(), and ldmx::HgcrocDigiCollection::getNumDigis().
std::ostream & operator<< | ( | std::ostream & | s, |
const ldmx::HgcrocDigiCollection::HgcrocDigi & | digi | ||
) |
Streamer for HgcrocDigiCollection::HgcrocDigi.
Prints TOT measurement (if it was TOT) or SOI otherwise
[in] | s | ostream to print sample to |
[in] | digi | HgcrocDigi to print |
Definition at line 122 of file HgcrocDigiCollection.cxx.
References ldmx::HgcrocDigiCollection::HgcrocDigi::id(), ldmx::HgcrocDigiCollection::HgcrocDigi::isADC(), ldmx::HgcrocDigiCollection::HgcrocDigi::soi(), and ldmx::HgcrocDigiCollection::HgcrocDigi::tot().
std::ostream & operator<< | ( | std::ostream & | s, |
const ldmx::HgcrocDigiCollection::Sample & | sample | ||
) |
Streamer for the HgcrocDigiCollection::Sample.
Prints Flags and three ten bit measurements.
[in] | s | ostream to print sample to |
[in] | sample | Sample to print |
Definition at line 103 of file HgcrocDigiCollection.cxx.
References ldmx::HgcrocDigiCollection::Sample::adc_t(), ldmx::HgcrocDigiCollection::Sample::adc_tm1(), ldmx::HgcrocDigiCollection::Sample::isTOTComplete(), ldmx::HgcrocDigiCollection::Sample::isTOTinProgress(), ldmx::HgcrocDigiCollection::Sample::toa(), and ldmx::HgcrocDigiCollection::Sample::tot().