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 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166
import FWCore.ParameterSet.Config as cms

# MonitorTrackGlobal
from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
SiStripMonitorTrack = DQMEDAnalyzer(
    "SiStripMonitorTrack",

    TopFolderName = cms.string('SiStrip'),
    TrackProducer = cms.string('generalTracks'),
    TrackLabel    = cms.string(''),
    TrajectoryInEvent = cms.bool(True),
    AlgoName      = cms.string('GenTk'),

    ADCDigi_src = cms.InputTag('siStripDigis','ZeroSuppressed'),
    Cluster_src = cms.InputTag('siStripClusters'),

    genericTriggerEventPSet = cms.PSet(),

    ModulesToBeExcluded = cms.vuint32(),

    Mod_On        = cms.bool(False),
    OffHisto_On   = cms.bool(True),
    Trend_On      = cms.bool(False),
    HistoFlag_On  = cms.bool(False),
    TkHistoMap_On = cms.bool(True),
    clchCMoriginTkHmap_On = cms.bool(False),
    ClusterConditions = cms.PSet( On       = cms.bool(False),
                                  minStoN  = cms.double(0.0),
                                  maxStoN  = cms.double(2000.0),
                                  minWidth = cms.double(0.0),
                                  maxWidth = cms.double(200.0)
                                  ),

    TH1nClustersOn = cms.PSet( Nbinx = cms.int32(50),
                             xmin  = cms.double(-0.5),
                             xmax  = cms.double(2999.5)
                             ),
    
    TH1nClustersOnStereo = cms.PSet( Nbinx = cms.int32(50),
                             xmin  = cms.double(-0.5),
                             xmax  = cms.double(2999.5)
                             ),

    TH1nClustersOff = cms.PSet( Nbinx = cms.int32(100),
                             xmin  = cms.double(-0.5),
                             xmax  = cms.double(99999.5)
                             ),

    TH1ClusterGain = cms.PSet(
        layerView = cms.bool(True),
        ringView  = cms.bool(False),
        Nbinx = cms.int32(100),
        xmin  = cms.double(-0.5),
        xmax  = cms.double(3.5)
    ),

    TH1ClusterCharge = cms.PSet(
        layerView = cms.bool(True),
        ringView  = cms.bool(False),
        Nbinx = cms.int32(100),
        xmin  = cms.double(-0.5),
        xmax  = cms.double(999.5)
    ),

    TH1ClusterChargeRaw = cms.PSet(
        layerView = cms.bool(True),
        ringView  = cms.bool(False),
        Nbinx = cms.int32(100),
        xmin  = cms.double(-0.5),
        xmax  = cms.double(999.5)
    ),

    TH1ClusterStoN = cms.PSet(
        layerView = cms.bool(True),
        ringView  = cms.bool(False),
        Nbinx = cms.int32(100),
        xmin  = cms.double(-0.5),
        xmax  = cms.double(299.5)
    ),

    TH1ClusterChargeCorr = cms.PSet(
        layerView = cms.bool(True),
        ringView  = cms.bool(False),
        Nbinx = cms.int32(100),
        xmin  = cms.double(-0.5),
        xmax  = cms.double(399.5)
    ),

    TH1ClusterStoNCorr = cms.PSet(
        layerView = cms.bool(True),
        ringView  = cms.bool(False),
        Nbinx = cms.int32(100),
        xmin  = cms.double(-0.5),
        xmax  = cms.double(99.5)
     ),

    TH1ClusterStoNCorrMod = cms.PSet(
        Nbinx = cms.int32(50),
        xmin  = cms.double(-0.5),
        xmax  = cms.double(199.5)
    ),

    TH1ClusterNoise = cms.PSet(
        layerView = cms.bool(True),
        ringView  = cms.bool(False),
        Nbinx = cms.int32(20),
        xmin  = cms.double(-0.5),
        xmax  = cms.double(9.5)
    ),

    TH1ClusterWidth = cms.PSet(
        layerView = cms.bool(True),
        ringView  = cms.bool(False),
        Nbinx = cms.int32(20),
        xmin  = cms.double(-0.5),
        xmax  = cms.double(19.5)
    ),

    TH1ClusterPos = cms.PSet(
        layerView = cms.bool(True),
        ringView  = cms.bool(False),
    ),

    TH1ClusterSymmEtaCC = cms.PSet( Nbinx = cms.int32(120),
                                    xmin  = cms.double(-0.1),
                                    xmax  = cms.double(1.1)
                                    ),

    TH1ClusterWidthCC = cms.PSet( Nbinx = cms.int32(10),
                                  xmin  = cms.double(-0.5),
                                  xmax  = cms.double(9.5)
                                  ),

    TH1ClusterEstimatorCC = cms.PSet( Nbinx = cms.int32(120),
                                      xmin  = cms.double(-0.1),
                                      xmax  = cms.double(1.1)
                                      ),

    TProfileClusterPGV = cms.PSet( Nbinx = cms.int32(20),
                                   xmin = cms.double(-10.0),
                                   xmax = cms.double(10.0),
                                   Nbiny = cms.int32(20),
                                   ymin = cms.double(-0.1),
                                   ymax = cms.double(1.2)
                                   ),

    Trending = cms.PSet(
        Nbins = cms.int32(2400),
        xmin = cms.double(0.0),
        xmax = cms.double(150)
        ),

    TH1ClusterChargePerCM = cms.PSet(
        layerView = cms.bool(False),
        ringView  = cms.bool(True),
        Nbinx = cms.int32(100),
        xmin  = cms.double(-0.5),
        xmax  = cms.double(9999.5)
    ),

    UseDCSFiltering = cms.bool(True)

)

from Configuration.Eras.Modifier_run3_common_cff import run3_common
run3_common.toModify(SiStripMonitorTrack,  TH1nClustersOn = dict(xmax = 5999.5))