CMS 3D CMS Logo

Functions

HCalCustoms Namespace Reference

Functions

def customise_condOverRides
def customise_Digi
def customise_DigiToRaw
def customise_DQM
def customise_harvesting
def customise_HcalPhase1
def customise_RawToDigi
def customise_Reco
def customise_Sim
def customise_Validation

Function Documentation

def HCalCustoms::customise_condOverRides (   process)

Definition at line 105 of file HCalCustoms.py.

00106                                     :
00107     return process
def HCalCustoms::customise_Digi (   process)

Definition at line 72 of file HCalCustoms.py.

00073                            :
00074     if hasattr(process,'mix'):
00075         process.mix.digitizers.hcal.HBHEUpgradeQIE = True
00076         process.mix.digitizers.hcal.hb.siPMCells = cms.vint32([1])
00077         process.mix.digitizers.hcal.hb.photoelectronsToAnalog = cms.vdouble([10.]*16)
00078         process.mix.digitizers.hcal.hb.pixels = cms.int32(4500*4*2)
00079         process.mix.digitizers.hcal.he.photoelectronsToAnalog = cms.vdouble([10.]*16)
00080         process.mix.digitizers.hcal.he.pixels = cms.int32(4500*4*2)
00081         process.mix.digitizers.hcal.HFUpgradeQIE = True
00082         process.mix.digitizers.hcal.HcalReLabel.RelabelHits=cms.untracked.bool(True)
00083 
00084     if hasattr(process,'HcalTPGCoderULUT'):
00085         process.HcalTPGCoderULUT.hcalTopologyConstants.mode=cms.string('HcalTopologyMode::SLHC')
00086         process.HcalTPGCoderULUT.hcalTopologyConstants.maxDepthHB=cms.int32(3)
00087         process.HcalTPGCoderULUT.hcalTopologyConstants.maxDepthHE=cms.int32(5)
00088 
00089     process.digitisation_step.remove(process.simHcalTriggerPrimitiveDigis)
00090     process.digitisation_step.remove(process.simHcalTTPDigis)
00091     
00092     return process

def HCalCustoms::customise_DigiToRaw (   process)

Definition at line 66 of file HCalCustoms.py.

00067                                 :
00068     return process

def HCalCustoms::customise_DQM (   process)

Definition at line 96 of file HCalCustoms.py.

00097                           :
00098     return process

def HCalCustoms::customise_harvesting (   process)

Definition at line 99 of file HCalCustoms.py.

00100                                  :
00101     return process

def HCalCustoms::customise_HcalPhase1 (   process)

Definition at line 3 of file HCalCustoms.py.

00004                                  :
00005 
00006     #common stuff
00007     process.load("CalibCalorimetry/HcalPlugins/Hcal_Conditions_forGlobalTag_cff")
00008     process.es_hardcode.toGet = cms.untracked.vstring(
00009                 'GainWidths',
00010                 'MCParams',
00011                 'RecoParams',
00012                 'RespCorrs',
00013                 'QIEData',
00014                 'Gains',
00015                 'Pedestals',
00016                 'PedestalWidths',
00017                 'ChannelQuality',
00018                 'ZSThresholds',
00019                 'TimeCorrs',
00020                 'LUTCorrs',
00021                 'LutMetadata',
00022                 'L1TriggerObjects',
00023                 'PFCorrs',
00024                 'ElectronicsMap',
00025                 'CholeskyMatrices',
00026                 'CovarianceMatrices'
00027                 )
00028     
00029     process.es_hardcode.hcalTopologyConstants.mode=cms.string('HcalTopologyMode::SLHC')
00030     process.es_hardcode.hcalTopologyConstants.maxDepthHB=cms.int32(3)
00031     process.es_hardcode.hcalTopologyConstants.maxDepthHB=cms.int32(3)
00032     process.es_hardcode.hcalTopologyConstants.maxDepthHE=cms.int32(5)
00033     process.es_hardcode.HcalReLabel.RelabelHits=cms.untracked.bool(True)
00034     # Special Upgrade trick (if absent - regular case assumed)
00035     process.es_hardcode.GainWidthsForTrigPrims = cms.bool(True)
00036     
00037     process.hcalTopologyIdeal.hcalTopologyConstants.mode=cms.string('HcalTopologyMode::SLHC')
00038     process.hcalTopologyIdeal.hcalTopologyConstants.maxDepthHB=cms.int32(3)
00039     process.hcalTopologyIdeal.hcalTopologyConstants.maxDepthHE=cms.int32(5)
00040     
00041 
00042     if hasattr(process,'g4SimHits'):
00043         process=customise_Sim(process)
00044     if hasattr(process,'DigiToRaw'):
00045         process=customise_DigiToRaw(process)
00046     if hasattr(process,'RawToDigi'):
00047         process=customise_RawToDigi(process)
00048     if hasattr(process,'digitisation_step'):
00049         process=customise_Digi(process)
00050     if hasattr(process,'reconstruction'):
00051         process=customise_Reco(process)
00052     if hasattr(process,'dqmoffline_step'):
00053         process=customise_DQM(process)
00054     if hasattr(process,'dqmHarvesting'):
00055         process=customise_harvesting(process)
00056     if hasattr(process,'validation_step'):
00057         process=customise_Validation(process)
00058     process=customise_condOverRides(process)
00059     return process
00060 

def HCalCustoms::customise_RawToDigi (   process)

Definition at line 69 of file HCalCustoms.py.

00070                                 :
00071     return process

def HCalCustoms::customise_Reco (   process)

Definition at line 93 of file HCalCustoms.py.

00094                            :
00095     return process

def HCalCustoms::customise_Sim (   process)

Definition at line 61 of file HCalCustoms.py.

00062                           :
00063     process.g4SimHits.HCalSD.TestNumberingScheme = True
00064 
00065     return process

def HCalCustoms::customise_Validation (   process)

Definition at line 102 of file HCalCustoms.py.

00103                                  :
00104     return process