11#include <framework/core/Module.h>
12#include <vxd/dataobjects/VxdID.h>
14#include <svd/dataobjects/SVDHistograms.h>
15#include <svd/dataobjects/SVDAPVHistograms.h>
16#include <svd/dataobjects/SVDSummaryPlots.h>
48 virtual void event()
override;
155 void printPage(
VxdID theVxdID, TList* listUBAD, TList* listVBAD, TList* listUGOOD, TList* listVGOOD, TString variable,
template class for the APV Histograms
template class for SVd histograms
Module to produce a list of histogram showing the uploaded local calibration constants.
SVDHistograms< TH2F > * m_h2CalpeakADCREF
CALPEAKS ADC.
SVDHistograms< TH2F > * m_h2NoiseREF
NOISES.
SVDSummaryPlots * m_hCalpeakADCSummary
calpeakADC summary histo
TLegend * m_legV
legend of V-side plot
int m_nMaskedUCHECK
number of masked strips in the check calibration (u side)
TFile * m_rootFilePtrCHECK
pointer at the CHECK root file
SVDHistograms< TH2F > * m_h2CalpeakTimeCHECK
calpeakTime VS strip 2D histo
void printPage(VxdID theVxdID, TList *listUBAD, TList *listVBAD, TList *listUGOOD, TList *listVGOOD, TString variable, bool isL3)
print the page relative to a sensor with problematic APVs
UInt_t m_sideREF
sensor side
SVDAPVHistograms< TH1F > * m_hMaskDIFF
mask histo
int m_cutN_out
maximum number of allowed outliers
TBranch * b_sideCHECK
sensor side
float m_noiseElCHECK
strip noise (e-)
int m_nMaskedUREF
number of masked strips in the reference calibration (u side)
float m_pulseWidthCHECK
strip pulse width
SVDAPVHistograms< TH1F > * m_hCalpeakTimeDIFF
calpeakTime histo
SVDLocalCalibrationsCheckModule()
Constructor: Sets the description, the properties and the parameters of the module.
UInt_t m_runREF
run number
TBranch * b_calPeakADCCHECK
strip calPeakADC (ADC of max pulse)
SVDHistograms< TH2F > * m_h2CalpeakADCCHECK
calpeakADC VS strip 2D histo
UInt_t m_layerCHECK
layer number
SVDSummaryPlots * m_hMaskSummary
mask summary histo
void printMaskedSummaryPages()
summary page with Masked strips summary plot
virtual void event() override
perform analysis and Draw pdf Canvas
TBranch * b_calPeakADCREF
strip calPeakADC (ADC of max pulse)
float m_pedestalCHECK
strip pedestal
float m_cutPedestal_ave
maximum relative deviation APV-average (pedestal)
float m_calPeakTimeCHECK
strip peak time
SVDSummaryPlots * m_hMaskSummaryCHECK
mask summary histo
TBranch * b_pedestalREF
strip pedestal
TFile * m_rootFilePtrREF
pointer at the REFERENCE root file
float m_cutCalpeakADC_ave
maximum relative deviation APV-average (calpeakADC)
void printLayerPage(int layer)
print layer-number page
TLegend * m_leg2D
legend of the 2D plot
TTree * m_treeREF
pointer at REF tree
SVDSummaryPlots * m_hCalpeakTimeSummary
calpeakTime summary histo
TBranch * b_pulseWidthREF
strip pulse width
UInt_t m_runCHECK
run number
float m_cutCalpeakADC_out
maximum relative deviation strip (calpeakADC)
std::string m_outputPdfName
output pdf filename
TBranch * b_layerCHECK
layer number
TBranch * b_pedestalCHECK
strip pedestal
void printAPVSummaryPages()
summary page with 2D summary plot with problemtic APVs
std::string m_idFileNameCHECK
ID of the xml file name CHECK.
TBranch * b_noiseElCHECK
strip noise (e-)
UInt_t m_sensorREF
sensor number
TBranch * b_ladderREF
ladder number
TLegend * m_legU
legend of U-side plot
TBranch * b_sideREF
sensor side
TBranch * b_stripCHECK
strip number
SVDHistograms< TH2F > * m_h2NoiseCHECK
noise VS strip 2D histo
SVDAPVHistograms< TH1F > * m_hPedestalDIFF
pedestal histo
float m_calPeakTimeREF
strip peak time
TBranch * b_runREF
run number
bool m_plotGoodAPVs
if true also the good APVs are plotted on the DIFF canvas
TBranch * b_gainCHECK
strip gain
TBranch * b_noiseElREF
strip noise (e-)
TBranch * b_stripREF
strip number
float m_gainCHECK
strip gain
float m_cutNoise_ave
maximum relative deviation APV-average (noise)
float m_calPeakADCCHECK
strip max peak ADC
TBranch * b_calPeakTimeCHECK
strip calPeakTime (time of max pulse)
UInt_t m_ladderREF
ladder number
float m_pulseWidthREF
strip pulse width
virtual void beginRun() override
initialize the TTrees and create SVDHistograms and SVDAPVHistograms
TBranch * b_gainREF
strip gain
int m_nMaskedVREF
number of masked strips in the reference calibration (v side)
TBranch * b_ladderCHECK
ladder number
TBranch * b_layerREF
layer number
UInt_t m_sensorCHECK
sensor number
float m_maskREF
strip mask 0/1
UInt_t m_stripREF
strip number
float m_cutNoise_out
maximum relative deviation strip (noise)
TTree * m_treeCHECK
pointer at CHECK tree
float m_noiseREF
strip noise (ADC)
void printConfiguration()
print the configuration of the check of the calibration VS a reference calibration
int hasAnyProblem(TH1F *h, float cutAve, float cutCOUNT)
return True if the APV has a problem, given a variable
TBranch * b_sensorCHECK
sensor number
std::string m_rootFileNameREF
root file name REFERENCE
float m_calPeakADCREF
strip max peak ADC
std::string m_idFileNameREF
ID of the xml file name REFERENCE.
SVDAPVHistograms< TH1F > * m_hCalpeakADCDIFF
calpeakADC histo
SVDHistograms< TH2F > * m_h2PedestalREF
PEDESTALS.
SVDHistograms< TH2F > * m_h2PedestalCHECK
pedestal VS strip 2D histo
TBranch * b_noiseCHECK
strip noise (ADC)
TBranch * b_calPeakTimeREF
strip calPeakTime (time of max pulse)
TBranch * b_pulseWidthCHECK
strip pulse width
TBranch * b_sensorREF
sensor number
int m_nMaskedVCHECK
number of masked strips in the check calibration (v side)
float m_noiseElREF
strip noise (e-)
const int m_apvColors[6]
color palette
void printFirstPage()
print the first page of the output pdf
TBranch * b_noiseREF
strip noise (ADC)
TBranch * b_maskCHECK
strip mask 0/1
UInt_t m_layerREF
layer number
UInt_t m_stripCHECK
strip number
UInt_t m_sideCHECK
sensor side
void createLegends()
create the TLegends for the plot
float m_maskCHECK
strip mask 0/1
TBranch * b_runCHECK
run number
std::string m_rootFileNameCHECK
root file name CHECK
SVDAPVHistograms< TH1F > * m_hNoiseDIFF
noise histo
SVDSummaryPlots * m_hPedestalSummary
pedestal summary histo
SVDSummaryPlots * m_hNoiseSummary
noise summary histo
float m_pedestalREF
strip pedestal
SVDHistograms< TH2F > * m_h2MaskCHECK
mask VS strip 2D histo
UInt_t m_ladderCHECK
ladder number
void setAPVHistoStyles(SVDAPVHistograms< TH1F > *m_APVhistos)
set style of APV histograms
TBranch * b_maskREF
strip mask 0/1
float m_gainREF
strip gain
void printLastPage()
print last empty page
SVDHistograms< TH2F > * m_h2CalpeakTimeREF
CALPEAKS TIME.
SVDHistograms< TH2F > * m_h2MaskREF
MASKS.
float m_cutPedestal_out
maximum relative deviation strip (pedestal)
float m_noiseCHECK
strip noise (ADC)
class to summarize SVD quantities per sensor and side
Class to uniquely identify a any structure of the PXD and SVD.
Abstract base class for different kinds of events.