Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
import FWCore.ParameterSet.Config as cms
from DQM.SiTrackerPhase2.Phase2TrackerMonitorDigi_cfi import *

pixDigiMon = digiMon.clone(
    PixelPlotFillingFlag = True,
    StandAloneClusteriserFlag = False,
    TopFolderName = "TrackerPhase2ITDigi",
    NumberOfDigisPerDetH = digiMon.NumberOfDigisPerDetH.clone(
        Nbins = 500,
        xmin = -0.5,
        xmax = 999.5,
        switch = True
    ),
    NumberOfClustersPerDetH = digiMon.NumberOfClustersPerDetH.clone(
        Nbins = 200,
        xmin = 0.0,
        xmax = 2000.,
        switch = True
    ),
    ChargeXYMapH = digiMon.ChargeXYMapH.clone(
        Nxbins = 450,
        xmin = 0.5,
        xmax = 450.5,
        Nybins = 1350,
        ymin = 0.5,
        ymax = 1350.5,
        switch = False
    ),
    PositionOfDigisPH = digiMon.PositionOfDigisPH.clone(
        Nxbins = 1344,
        xmin = 0.5,
        xmax = 1344.5,
        Nybins = 432,
        ymin = 0.5,
        ymax = 432.5,
        switch = True
    ),
    XYPositionMapH = digiMon.XYPositionMapH.clone(
        Nxbins = 340,
        xmin = -170.,
        xmax = 170.,
        Nybins = 340,
        ymin = -170.,
        ymax = 170.,
        switch = True
    ),
    RZPositionMapH = digiMon.RZPositionMapH.clone(
        Nxbins = 600,
        xmin = -3000.0,
        xmax = 3000.,
        Nybins = 280,
        ymin = 0.,
        ymax = 280.,
        switch = True
    ),
    ClusterPositionPH = digiMon.ClusterPositionPH.clone(
        Nxbins = 960,
        xmin = 0.5,
        xmax = 960.5,
        Nybins = 32,
        ymin = 0.5,
        ymax = 32.5,
        switch = True
    )
)

otDigiMon = digiMon.clone(
    PixelPlotFillingFlag = False,
    StandAloneClusteriserFlag = False,
    TopFolderName = "TrackerPhase2OTDigi",
    XYPositionMapH = digiMon.XYPositionMapH.clone(
        Nxbins = 250,
        xmin = -1250.,
        xmax = 1250.,
        Nybins = 250,
        ymin = -1250.,
        ymax = 1250.,
        switch = True
    ),
    RZPositionMapH = digiMon.RZPositionMapH.clone(
        Nxbins = 600,
        xmin = -3000.,
        xmax = 3000.,
        Nybins = 250,
        ymin = 0.,
        ymax = 1250.,
        switch = True
    ),
    PositionOfDigisSH = digiMon.PositionOfDigisSH.clone(
        Nxbins = 508,
        xmin = 0.5,
        xmax = 1016.5,
        Nybins = 2,
        ymin = 0.5,
        ymax = 2.5,
        switch = True
    )
)