![]() |
Belle II Software development
|
Public Member Functions | |
__init__ (self) | |
beginRun (self) | |
event (self) | |
terminate (self) | |
Public Attributes | |
rootfile = ROOT.TFile('cosmicAnalysis.root', 'recreate') | |
Input root file. | |
tree_track = ROOT.TTree('track', '') | |
Tree with track data. | |
tree_DEDX = ROOT.TTree('dedx', '') | |
Tree with dE/dx data. | |
trackData = TrackData() | |
struct with track data | |
dedxData = DEDXData() | |
struct with dE/dx data | |
TotalNumberOfHits = ROOT.TH1F('TotalNumberOfHits', '', 6, 0.5, 6.5) | |
Histogram with total number of hits on track. | |
HitsVsLayer = ROOT.TH2F('HitsVsLayer', '', 6, 0.5, 6.5, 6, 0.5, 6.5) | |
Histogram with number of hits vs. | |
HitsVsSensor = ROOT.TH2F('HitsVsSensor', '', 6, 0.5, 6.5, 5, 0.5, 5.5) | |
Histogram with number of hits vs. | |
LayerVsSensor = ROOT.TH2F('LayerVsSensor', '', 6, 0.5, 6.5, 5, 0.5, 5.5) | |
Histogram with hit layer vs. | |
PXDClusterSize = ROOT.TH1F('PXDClusterSize', '', 20, 0.5, 20.5) | |
Histogram with PXD cluster size. | |
Chi2 = ROOT.TH1F('Chi2', '', 300, 0.0, 500) | |
Histogram with track Chi2. | |
NDF = ROOT.TH1F('NDF', '', 200, 0.0, 200) | |
Histogram with track NDF. | |
Chi2OverNDF = ROOT.TH1F('Chi2OverNDF', '', 300, 0.0, 5) | |
Histogram with track Chi2/NDF. | |
Momentum = ROOT.TH1F('Momentum', '', 500, 0.0, 1000) | |
Histogram with track momentum. | |
ADCCountOverNumberOfHitsInCDC = ROOT.TH1F('ADCCountOverNumberOfHitsInCDC', '', 200, 0.0, 300) | |
Histogram with ADC count vs. | |
ADCCountOverNumberOfHitsInCDCVsMomentum | |
Profile with ADC count vs. | |
MomentumVsADCCountOverNumberOfHitsInCDC | |
Profile with ADC count vs. | |
A module to analyse residuals in overlaps of ladders.
Definition at line 45 of file validatePhase2Cosmics.py.
__init__ | ( | self | ) |
Initialize the module
Definition at line 49 of file validatePhase2Cosmics.py.
beginRun | ( | self | ) |
Do nothing
Definition at line 118 of file validatePhase2Cosmics.py.
event | ( | self | ) |
Fill histograms
Definition at line 121 of file validatePhase2Cosmics.py.
terminate | ( | self | ) |
Close & write output files
Definition at line 247 of file validatePhase2Cosmics.py.
ADCCountOverNumberOfHitsInCDC = ROOT.TH1F('ADCCountOverNumberOfHitsInCDC', '', 200, 0.0, 300) |
Histogram with ADC count vs.
number of hits in CDC
Definition at line 110 of file validatePhase2Cosmics.py.
ADCCountOverNumberOfHitsInCDCVsMomentum |
Profile with ADC count vs.
number of hits vs. momentum
Definition at line 112 of file validatePhase2Cosmics.py.
Chi2 = ROOT.TH1F('Chi2', '', 300, 0.0, 500) |
Histogram with track Chi2.
Definition at line 102 of file validatePhase2Cosmics.py.
Chi2OverNDF = ROOT.TH1F('Chi2OverNDF', '', 300, 0.0, 5) |
Histogram with track Chi2/NDF.
Definition at line 106 of file validatePhase2Cosmics.py.
dedxData = DEDXData() |
struct with dE/dx data
Definition at line 83 of file validatePhase2Cosmics.py.
HitsVsLayer = ROOT.TH2F('HitsVsLayer', '', 6, 0.5, 6.5, 6, 0.5, 6.5) |
HitsVsSensor = ROOT.TH2F('HitsVsSensor', '', 6, 0.5, 6.5, 5, 0.5, 5.5) |
LayerVsSensor = ROOT.TH2F('LayerVsSensor', '', 6, 0.5, 6.5, 5, 0.5, 5.5) |
Momentum = ROOT.TH1F('Momentum', '', 500, 0.0, 1000) |
Histogram with track momentum.
Definition at line 108 of file validatePhase2Cosmics.py.
MomentumVsADCCountOverNumberOfHitsInCDC |
Profile with ADC count vs.
number of hits
Definition at line 115 of file validatePhase2Cosmics.py.
NDF = ROOT.TH1F('NDF', '', 200, 0.0, 200) |
Histogram with track NDF.
Definition at line 104 of file validatePhase2Cosmics.py.
PXDClusterSize = ROOT.TH1F('PXDClusterSize', '', 20, 0.5, 20.5) |
Histogram with PXD cluster size.
Definition at line 100 of file validatePhase2Cosmics.py.
rootfile = ROOT.TFile('cosmicAnalysis.root', 'recreate') |
Input root file.
Definition at line 55 of file validatePhase2Cosmics.py.
TotalNumberOfHits = ROOT.TH1F('TotalNumberOfHits', '', 6, 0.5, 6.5) |
Histogram with total number of hits on track.
Definition at line 92 of file validatePhase2Cosmics.py.
trackData = TrackData() |
struct with track data
Definition at line 74 of file validatePhase2Cosmics.py.
tree_DEDX = ROOT.TTree('dedx', '') |
Tree with dE/dx data.
Definition at line 59 of file validatePhase2Cosmics.py.
tree_track = ROOT.TTree('track', '') |
Tree with track data.
Definition at line 57 of file validatePhase2Cosmics.py.