DefaultHistoSummary.topFolderName = cms.string("PixelPhase1/Summary")

DefaultHistoTrack = DefaultHisto.clone()
DefaultHistoTrack.topFolderName = cms.string("PixelPhase1/Tracks")

DefaultHistoReadout = DefaultHisto.clone()
DefaultHistoReadout.topFolderName = cms.string("PixelPhase1/FED/Readout")

# Commonly used specifications.
StandardSpecifications1D = [
    # The column names are either defined in the GeometryInterface.cc or read from TrackerTopology.
    # Endcap names side by side. The "/" separates columns and also defines how the output folders are nested.

    # per-ladder and profiles
    Specification(PerLadder).groupBy(
        "PXBarrel/Shell/PXLayer/SignedLadder").save().reduce("MEAN").groupBy(
            "PXBarrel/Shell/PXLayer", "EXTEND_X").save(),
    Specification(PerLadder).groupBy(
        "PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade").save().reduce(
            "MEAN").groupBy("PXForward/HalfCylinder/PXRing/PXDisk",
                            "EXTEND_X").save().groupBy(
                                "PXForward/HalfCylinder/PXRing/",
                                "EXTEND_X").save(),
    Specification().groupBy("PXBarrel").save(),
    Specification().groupBy("PXForward").save(),
    Specification(PerLayer1D).groupBy("PXBarrel/Shell/PXLayer").save(),
    Specification(PerLayer1D).groupBy(
        "PXForward/HalfCylinder/PXRing/PXDisk").save(),
    Specification(PerModule).groupBy(
        "PXBarrel/Shell/PXLayer/SignedLadder/PXModuleName").save(),
    Specification(PerModule).groupBy(
Beispiel #2
0
DefaultHistoSummary.topFolderName = cms.string("PixelPhase1/Summary")

DefaultHistoTrack = DefaultHisto.clone()
DefaultHistoTrack.topFolderName = cms.string("PixelPhase1/Tracks")

DefaultHistoReadout = DefaultHisto.clone()
DefaultHistoReadout.topFolderName = cms.string("PixelPhase1/FED/Readout")

# Commonly used specifications.
StandardSpecifications1D = [
    # The column names are either defined in the GeometryInterface.cc or read from TrackerTopology.
    # Endcap names side by side. The "/" separates columns and also defines how the output folders are nested.

    # per-ladder and profiles
    Specification(PerLadder).groupBy(
        "PXBarrel/Shell/PXLayer/SignedLadder").save().reduce("MEAN").groupBy(
            "PXBarrel/Shell/PXLayer", "EXTEND_X").save(),
    Specification(PerLadder).groupBy(
        "PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade").save().reduce(
            "MEAN").groupBy("PXForward/HalfCylinder/PXRing/PXDisk",
                            "EXTEND_X").save().groupBy(
                                "PXForward/HalfCylinder/PXRing/",
                                "EXTEND_X").save(),
    Specification().groupBy("PXBarrel").save(),
    Specification().groupBy("PXForward").save(),
    Specification(PerLayer1D).groupBy("PXBarrel/Shell/PXLayer").save(),
    Specification(PerLayer1D).groupBy(
        "PXForward/HalfCylinder/PXRing/PXDisk").save(),
    Specification(PerModule).groupBy(
        "PXBarrel/Shell/PXLayer/SignedLadder/PXModuleName").save(),
    Specification(PerModule).groupBy(
  #     )
  #   )
  # )
  #)
)

# Commonly used specifications. 
StandardSpecifications1D = [
    # The column names are either defined in the GeometryInterface.cc or read from TrackerTopology.
    # The "|" means "try the first, if not present try the second", it should be used to have Barrel- and 
    # Endcap names side by side. The "/" separates columns and also defines how the output folders are nested.

    # per-ladder and profiles
    Specification(PerLadder).groupBy("PXBarrel|PXForward/Shell|HalfCylinder/PXLayer|PXDisk/PXRing|/PXLadder|PXBlade")
                            .save()
                            .reduce("MEAN")
                            .groupBy("PXBarrel|PXForward/Shell|HalfCylinder/PXLayer|PXDisk/PXRing|", "EXTEND_X")
                            .saveAll(),
    Specification(PerLayer1D).groupBy("PXBarrel|PXForward/Shell|HalfCylinder/PXLayer|PXDisk/PXRing|") # per-layer
                             .save(),
    Specification(PerModule).groupBy("PXBarrel|PXForward/PXLayer|PXDisk/DetId").save()
]

StandardSpecificationTrend = ( # the () are only for syntax reasons
    Specification().groupBy("PXBarrel|PXForward/Lumisection")
                   .reduce("MEAN") 
                   .groupBy("PXBarrel|PXForward", "EXTEND_X")
                   .save()
)

Beispiel #4
0
    "PixelPhase1/Phase1_MechanicalView")

DefaultHistoSummary = DefaultHisto.clone()
DefaultHistoSummary.topFolderName = cms.string("PixelPhase1/Summary")

DefaultHistoTrack = DefaultHisto.clone()
DefaultHistoTrack.topFolderName = cms.string("PixelPhase1/Tracks")

# Commonly used specifications.
StandardSpecifications1D = [
    # The column names are either defined in the GeometryInterface.cc or read from TrackerTopology.
    # Endcap names side by side. The "/" separates columns and also defines how the output folders are nested.

    # per-ladder and profiles
    Specification(PerLadder).groupBy(
        "PXBarrel/Shell/PXLayer/PXLadder").save().reduce("MEAN").groupBy(
            "PXBarrel/Shell/PXLayer", "EXTEND_X").saveAll(),
    Specification(PerLadder).groupBy(
        "PXForward/HalfCylinder/PXDisk/PXRing/PXBlade").save().reduce(
            "MEAN").groupBy("PXForward/HalfCylinder/PXDisk/PXRing",
                            "EXTEND_X").saveAll(),
    Specification(PerLayer1D).groupBy("PXBarrel/Shell/PXLayer").save(),
    Specification(PerLayer1D).groupBy(
        "PXForward/HalfCylinder/PXDisk/PXRing").save(),
    Specification(PerModule).groupBy(
        "PXBarrel/Shell/PXLayer/PXLadder/P1PXModuleName").save(),
    Specification(PerModule).groupBy(
        "PXForward/HalfCylinder/PXDisk/PXRing/PXBlade/P1PXModuleName").save(),
]

StandardSpecificationTrend = [
Beispiel #5
0
    #      ),
    #     cms.PSet(
    #       type = SAVE,
    #       stage = STAGE1,
    #       columns = cms.vstring(),
    #       arg = cms.string("")
    #     )
    #   )
    # )
    #)
)

# Commonly used specifications.
StandardSpecifications1D = [
    Specification(PerLadder).groupBy(
        DefaultHisto.defaultGrouping)  # per-ladder and profiles
    .save().reduce("MEAN").groupBy(parent(DefaultHisto.defaultGrouping),
                                   "EXTEND_X").saveAll(),
    Specification(PerLayer1D).groupBy(parent(
        DefaultHisto.defaultGrouping))  # per-layer
    .save(),
    Specification(PerModule).groupBy(DefaultHisto.defaultPerModule).save()
]

StandardSpecificationTrend = (  # the () are only for syntax reasons
    Specification().groupBy("PXBarrel|PXForward/Lumisection").reduce(
        "MEAN").groupBy("PXBarrel|PXForward", "EXTEND_X").save())

StandardSpecification2DProfile = (Specification(PerLayer2D).groupBy(
    "PXBarrel|PXForward/PXLayer|PXDisk/signedLadder|PXBlade/signedModule|PXPanel"
).reduce("MEAN").groupBy(
    "PXBarrel|PXForward/PXLayer|PXDisk/signedLadder|PXBlade",