27 fV1720PHCompare =
new TH2F(
"V1720PHCompare",
"Pulse Height: Channel 1 vs 0",100,300,700,100,300,700);
30 fV1720TimeCompare =
new TH2F(
"V1720TimeCompare",
"Time: Channel 1 vs 0",100,0,2000,100,0,2000);
80 for (
unsigned int i = 0; i <
fHistos.size(); i++) {
83 if (!
fHistos[i]->IsUpdateWhenPlotted()) {
84 fHistos[i]->UpdateHistograms(dataContainer);
96 for(
int i = 0; i < 2; i++){
101 double max_adc_value = -1.0;
102 double max_adc_time = -1;
103 for(
int j = 0; j < channelData.
GetNSamples(); j++){
105 if(adc > max_adc_value){
107 max_adc_time = j * 4.0;
110 time[i] = max_adc_time;
111 ph[i] = max_adc_value;
130 for (
unsigned int i = 0; i < histos.size(); i++) {
131 if (histos[i]->IsUpdateWhenPlotted()) {
132 histos[i]->UpdateHistograms(dataContainer);
Class for making histograms of Agilent ampere data.
std::vector< THistogramArrayBase * > GetHistograms()
std::vector< THistogramArrayBase * > fHistos
int ProcessMidasEvent(TDataContainer &dataContainer)
Processes the midas event, fills histograms, etc.
void UpdateTransientPlots(TDataContainer &dataContainer)
void AddHistogram(THistogramArrayBase *histo)
Class for making histograms of Camac 12-chan ADC data.
T * GetEventData(const char *name)
Add a templated function that returns event data in the format that we want.
void DisableAutoUpdate(bool DisableautoUpdate=true)
Class for making histograms of L2249 ADC data.
Class for making diff histograms of TRB3 FPGA-TDC data.
Class for making histograms of TRB3 raw fine times .
Class for making histograms of TRB3 FPGA-TDC data.
Class for making histograms of V1190 TDC data.
int GetNSamples() const
Get the ADC sample for a particular bin (for uncompressed data).
int GetADCSample(int i) const
Get the ADC sample for a particular bin (for uncompressed data).
TV1720RawChannel GetChannelData(int i)
Get Channel Data.
bool IsZLECompressed() const
Is the V1720 data ZLE compressed?
Class for making histograms of V792 ADC data.
static Trb3Calib & getInstance()
void SetTRB3LinearCalibrationConstants(float low_value, float high_value)