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