Skip to content
Snippets Groups Projects

Inclusion of monitoring at cell and cluster level for checking conditions

Merged Denis Oliveira Damazio requested to merge damazio/athena:newBranch.1665660936 into 22.0
4 files
+ 59
15
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -39,9 +39,11 @@ class TrigCaloClusterMakerBase (TrigCaloClusterMaker):
# Set range variables
maxNumberOfClusters=50.0
maxProcTime=4500.0
MonCells=False
if ( "FS" in name ):
maxNumberOfClusters=1200.0
maxProcTime=150000
MonCells=True # enable monitoring for cells for FS case
# Define histograms
monTool.defineHistogram('container_size', path='EXPERT', type='TH1F', title="Container Size; Number of Clusters; Number of Events", xbins=50, xmin=0.0, xmax=maxNumberOfClusters)
@@ -57,7 +59,15 @@ class TrigCaloClusterMakerBase (TrigCaloClusterMaker):
monTool.defineHistogram('size', path='EXPERT', type='TH1F', title="Cluster Size; Size [Cells] ; Number of Clusters", xbins=125, xmin=0.0, xmax=250.0)
monTool.defineHistogram('N_BAD_CELLS', path='EXPERT', type='TH1F', title="N_BAD_CELLS; N_BAD_CELLS ; Number of Clusters", xbins=250, xmin=0.5, xmax=250.5)
monTool.defineHistogram('ENG_FRAC_MAX', path='EXPERT', type='TH1F', title="ENG_FRAC_MAX; ENG_FRAC_MAX ; Number of Clusters", xbins=50, xmin=0.0, xmax=1.1)
monTool.defineHistogram('mu', path='EXPERT', type='TH1F', title="mu; mu; Number of Events", xbins=50, xmin=0.0, xmax=100)
monTool.defineHistogram('mu,container_size', path='EXPERT', type='TH2F', title="Container Size versus #mu; #mu; cluster container size", xbins=50, xmin=20.0, xmax=70, ybins=50, ymin=0.0, ymax=maxNumberOfClusters)
if ( MonCells ) :
monTool.defineHistogram('count_1thrsigma', path='EXPERT', type='TH1F', title="count_1thrsigma; count_1thresigma; Number of Events", xbins=50, xmin=0.0, xmax=10e3)
monTool.defineHistogram('count_2thrsigma', path='EXPERT', type='TH1F', title="count_2thrsigma; count_2thresigma; Number of Events", xbins=50, xmin=0.0, xmax=5e3)
monTool.defineHistogram('mu,count_1thrsigma', path='EXPERT', type='TH2F', title="nCells above 1st thr versus #mu; #mu; nCells", xbins=50, xmin=20.0, xmax=70, ybins=50, ymin=0.0, ymax=10e3)
monTool.defineHistogram('mu,count_2thrsigma', path='EXPERT', type='TH2F', title="nCells above 2nd thr versus #mu; #mu; nCells", xbins=50, xmin=20.0, xmax=70, ybins=50, ymin=0.0, ymax=5e3)
self.MonCells = MonCells
self.MonTool = monTool
class TrigCaloClusterMaker_topo (TrigCaloClusterMakerBase):
Loading