CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
Customs Namespace Reference

Functions

def disableMaterialInteractionsTracker
 
def disableOOTPU
 
def fakeSimHits_for_geometry_ECALHCAL
 

Function Documentation

def Customs.disableMaterialInteractionsTracker (   process)

Definition at line 33 of file Customs.py.

33 
35  process.famosSimHits.MaterialEffects.Bremsstrahlung = False
36  process.famosSimHits.MaterialEffects.NuclearInteraction = False
37  process.famosSimHits.MaterialEffects.PairProduction = False
38  process.famosSimHits.MaterialEffects.MuonBremsstrahlung = False
39  process.famosSimHits.MaterialEffects.MultipleScattering = False
40  process.famosSimHits.MaterialEffects.EnergyLoss = False
41  return process
42 
def disableMaterialInteractionsTracker
Definition: Customs.py:33
def Customs.disableOOTPU (   process)

Definition at line 10 of file Customs.py.

10 
11 def disableOOTPU(process):
12  process.mix.maxBunch = cms.int32(0)
13  process.mix.minBunch = cms.int32(0)
14  # set the bunch spacing
15  # bunch spacing matters for calorimeter calibration
16  # by convention bunchspace is set to 450 in case of no oot pu
17  process.mix.bunchspace = 450
18  return process
19 
20 # run this customisation function during the digi-step
# when processing a gen-sim sample that was generated with the HCALECAL geometry
def disableOOTPU
Definition: Customs.py:10
def Customs.fakeSimHits_for_geometry_ECALHCAL (   process)

Definition at line 21 of file Customs.py.

21 
23  import FastSimulation.Validation.EmptySimHits_cfi
24  process.g4SimHits = FastSimulation.Validation.EmptySimHits_cfi.emptySimHits.clone(
25  pCaloHitInstanceLabels = ["CastorFI"],
26  pSimHitInstanceLabels = []
27  )
28  for _entry in process.mix.mixObjects.mixSH.input:
29  process.g4SimHits.pSimHitInstanceLabels.append(_entry.getProductInstanceLabel())
30  process.emptySimHits_step = cms.Path(process.g4SimHits)
31  process.schedule.insert(0,process.emptySimHits_step)
32  return process
def fakeSimHits_for_geometry_ECALHCAL
Definition: Customs.py:21