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 28 of file EcalMEFormatter_cfi.py.

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