CMS 3D CMS Logo

Functions
EcalMEFormatter_cfi Namespace Reference

Functions

def insertIntoMEFormatterMEs (ecalModule, moduleName)
 

Function Documentation

def EcalMEFormatter_cfi.insertIntoMEFormatterMEs (   ecalModule,
  moduleName 
)

Definition at line 29 of file EcalMEFormatter_cfi.py.

29 def insertIntoMEFormatterMEs(ecalModule, moduleName):
30  for name in ecalModule.MEs.parameterNames_():
31  setattr(ecalMEFormatter.MEs, moduleName + name, getattr(ecalModule.MEs, name))
32 
33 insertIntoMEFormatterMEs(ecalClusterTask, 'ClusterTask')
34 insertIntoMEFormatterMEs(ecalEnergyTask, 'EnergyTask')
35 insertIntoMEFormatterMEs(ecalIntegrityTask, 'IntegrityTask')
36 insertIntoMEFormatterMEs(ecalOccupancyTask, 'OccupancyTask')
37 insertIntoMEFormatterMEs(ecalPresampleTask, 'PresampleTask')
38 insertIntoMEFormatterMEs(ecalRawDataTask, 'RawDataTask')
39 insertIntoMEFormatterMEs(ecalRecoSummaryTask, 'RecoSummaryTask')
40 insertIntoMEFormatterMEs(ecalTrigPrimTask, 'TrigPrimTask')
41 
42 insertIntoMEFormatterMEs(ecalIntegrityClient, 'IntegrityClient')
43 insertIntoMEFormatterMEs(ecalOccupancyClient, 'OccupancyClient')
44 insertIntoMEFormatterMEs(ecalPresampleClient, 'PresampleClient')
45 insertIntoMEFormatterMEs(ecalRawDataClient, 'RawDataClient')
46 insertIntoMEFormatterMEs(ecalSummaryClient, 'SummaryClient')
47 
48 delattr(ecalMEFormatter.MEs, 'TrigPrimTaskEtMaxEmul')
49 delattr(ecalMEFormatter.MEs, 'TrigPrimTaskEmulMaxIndex')
50 delattr(ecalMEFormatter.MEs, 'TrigPrimTaskMatchedIndex')
51 delattr(ecalMEFormatter.MEs, 'TrigPrimTaskEtEmulError')
52 delattr(ecalMEFormatter.MEs, 'TrigPrimTaskFGEmulError')
53 
def insertIntoMEFormatterMEs(ecalModule, moduleName)