28 ClustersName="HLT_FastCaloEMClusters",**kwargs):
30 from TrigT2CaloEgamma.RingerConstants
import Layer
31 from TrigT2CaloEgamma.RingerConstants
import DETID
as det
34 monTool.defineHistogram(
"TIME_total", title=
"Total Time;time [us]",xbins=100, xmin=0, xmax=500,type=
'TH1F', path=
'EXPERT')
35 monTool.defineHistogram(
"TIME_load_cells", title=
"Load Cells Time;time [us]",xbins=50, xmin=0, xmax=100,type=
'TH1F', path=
'EXPERT')
39 ringer = CompFactory.RingerReFex(
41 EtaBins = [0.0000, 2.500],
42 RingerKey = RingerKey,
43 ClustersName = ClustersName,
45 EtaSearchWindowSize = 0.1,
46 PhiSearchWindowSize = 0.1,
47 NRings = [8, 64, 8, 8, 4, 4, 4],
48 DeltaEta = [0.025, 0.003125, 0.025, 0.05, 0.1, 0.1, 0.1],
49 DeltaPhi = [0.098174770424681, 0.098174770424681, 0.024543692606170, 0.024543692606170,
50 0.098174770424681, 0.098174770424681, 0.098174770424681],
52 Detectors = [ [det.TTEM], [det.TTEM], [det.TTEM], [det.TTEM], [det.TTHEC, det.TILE],
53 [det.TTHEC, det.TTHEC, det.TILE], [det.TTHEC, det.TILE] ],
54 Samplings = [ [0] , [1] , [2] , [3] , [0 , -1 ],
55 [1 , 2 , -1 ] , [3 , -1 ] ],
56 Samples = [ [ Layer.PreSamplerB,Layer.PreSamplerE ],
57 [ Layer.EMB1, Layer.EME1 ],
58 [ Layer.EMB2, Layer.EME2 ],
59 [ Layer.EMB3, Layer.EME3 ],
60 [ Layer.HEC0, Layer.TileBar0, Layer.TileGap2, Layer.TileExt0 ],
61 [ Layer.HEC1, Layer.HEC2, Layer.TileBar1, Layer.TileGap0, Layer.TileExt1 ],
62 [ Layer.HEC3, Layer.TileBar2, Layer.TileGap1, Layer.TileExt2 ]
64 DumpCells = flags.Trigger.egamma.dumpCellsFastCaloInfo,
65 DoNoiseThrRings = flags.Trigger.egamma.doNoiseThrRings,
66 NoiseFactor = flags.Trigger.egamma.sigmaNoiseFactor,
67 DoQuarter = [flags.Trigger.egamma.doQuarterRings]*_lenNRings,
68 DoEtaAxesDivision = [
True]*_lenNRings,
69 DoPhiAxesDivision = [
True]*_lenNRings,
71 for k, v
in kwargs.items():