CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
Impl.AlCaTestEnable.AlCaTestEnable Class Reference
Inheritance diagram for Impl.AlCaTestEnable.AlCaTestEnable:

Public Member Functions

def __init__ (self)
 
def alcaHarvesting (self, globalTag, datasetName, args)
 
def expressProcessing (self, globalTag, args)
 

Public Attributes

 skims
 

Detailed Description

Definition at line 11 of file AlCaTestEnable.py.

Constructor & Destructor Documentation

def Impl.AlCaTestEnable.AlCaTestEnable.__init__ (   self)

Definition at line 12 of file AlCaTestEnable.py.

12  def __init__(self):
13  AlCa.__init__(self)
14  self.skims=['TkAlLAS']

Member Function Documentation

def Impl.AlCaTestEnable.AlCaTestEnable.alcaHarvesting (   self,
  globalTag,
  datasetName,
  args 
)
_alcaHarvesting_

Proton collisions data taking AlCa Harvesting

Definition at line 56 of file AlCaTestEnable.py.

References Impl.cosmics.cosmics.cbSc, Impl.hcalnzs.hcalnzs.cbSc, Impl.hcalnzsEra_Run2_2017.hcalnzsEra_Run2_2017.cbSc, Impl.hcalnzsEra_Run2_25ns.hcalnzsEra_Run2_25ns.cbSc, Impl.hcalnzsEra_Run2_2016.hcalnzsEra_Run2_2016.cbSc, Impl.HeavyIons.HeavyIons.cbSc, Impl.pp.pp.cbSc, Reco.Reco.cbSc, Impl.ppEra_Run2_2016.ppEra_Run2_2016.cbSc, Impl.ppEra_Run2_2016_pA.ppEra_Run2_2016_pA.cbSc, Impl.ppEra_Run2_2016_trackingLowPU.ppEra_Run2_2016_trackingLowPU.cbSc, Impl.ppEra_Run2_2017.ppEra_Run2_2017.cbSc, Impl.ppEra_Run2_2017_trackingLowPU.ppEra_Run2_2017_trackingLowPU.cbSc, Impl.ppEra_Run2_25ns.ppEra_Run2_25ns.cbSc, Impl.ppEra_Run2_50ns.ppEra_Run2_50ns.cbSc, Impl.cosmicsEra_Run2_2016.cosmicsEra_Run2_2016.eras, Impl.cosmicsEra_Run2_2017.cosmicsEra_Run2_2017.eras, Impl.cosmicsEra_Run2_25ns.cosmicsEra_Run2_25ns.eras, Impl.cosmicsEra_Run2_50ns.cosmicsEra_Run2_50ns.eras, Impl.hcalnzsEra_Run2_2016.hcalnzsEra_Run2_2016.eras, Impl.hcalnzsEra_Run2_2017.hcalnzsEra_Run2_2017.eras, Impl.hcalnzsEra_Run2_25ns.hcalnzsEra_Run2_25ns.eras, Impl.HeavyIonsEra_Run2_HI.HeavyIonsEra_Run2_HI.eras, Impl.ppEra_Run2_2017_trackingLowPU.ppEra_Run2_2017_trackingLowPU.eras, Impl.ppEra_Run2_50ns.ppEra_Run2_50ns.eras, Impl.ppEra_Run2_25ns.ppEra_Run2_25ns.eras, Impl.ppEra_Run2_2016_pA.ppEra_Run2_2016_pA.eras, Impl.ppEra_Run2_2016_trackingLowPU.ppEra_Run2_2016_trackingLowPU.eras, Impl.ppEra_Run2_2016.ppEra_Run2_2016.eras, Impl.ppEra_Run2_2017.ppEra_Run2_2017.eras, Scenario.Scenario.eras, options.HLTProcessOptions.eras, Utils.gtNameAndConnect(), and join().

56  def alcaHarvesting(self, globalTag, datasetName, **args):
57  """
58  _alcaHarvesting_
59 
60  Proton collisions data taking AlCa Harvesting
61 
62  """
63  skims = []
64  if 'skims' in args:
65  skims = args['skims']
66 
67 
68  if 'alcapromptdataset' in args:
69  skims.append('@'+args['alcapromptdataset'])
70 
71  if len(skims) == 0: return None
72  options = defaultOptions
73  options.scenario = self.cbSc if hasattr(self,'cbSc') else self.__class__.__name__
74  options.step = "ALCAHARVEST:"+('+'.join(skims))
75  options.name = "ALCAHARVEST"
76  options.conditions = gtNameAndConnect(globalTag, args)
77 
78  process = cms.Process("ALCAHARVEST", self.eras)
79  process.source = cms.Source("PoolSource")
80 
81  if 'customs' in args:
82  options.customisation_file=args['customs']
83 
84  configBuilder = ConfigBuilder(options, process = process)
85  configBuilder.prepare()
86 
87  #
88  # customise process for particular job
89  #
90  process.source.processingMode = cms.untracked.string('RunsAndLumis')
91  process.source.fileNames = cms.untracked(cms.vstring())
92  process.maxEvents.input = -1
93  process.dqmSaver.workflow = datasetName
94 
95  return process
96 
def alcaHarvesting(self, globalTag, datasetName, args)
def gtNameAndConnect(globalTag, args)
Definition: Utils.py:137
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def Impl.AlCaTestEnable.AlCaTestEnable.expressProcessing (   self,
  globalTag,
  args 
)
_expressProcessing_

Proton collision data taking express processing

Definition at line 23 of file AlCaTestEnable.py.

References Utils.addMonitoring(), Utils.dictIO(), Impl.cosmicsEra_Run2_2016.cosmicsEra_Run2_2016.eras, Impl.cosmicsEra_Run2_2017.cosmicsEra_Run2_2017.eras, Impl.cosmicsEra_Run2_25ns.cosmicsEra_Run2_25ns.eras, Impl.cosmicsEra_Run2_50ns.cosmicsEra_Run2_50ns.eras, Impl.hcalnzsEra_Run2_2016.hcalnzsEra_Run2_2016.eras, Impl.hcalnzsEra_Run2_2017.hcalnzsEra_Run2_2017.eras, Impl.hcalnzsEra_Run2_25ns.hcalnzsEra_Run2_25ns.eras, Impl.HeavyIonsEra_Run2_HI.HeavyIonsEra_Run2_HI.eras, Impl.ppEra_Run2_2016_pA.ppEra_Run2_2016_pA.eras, Impl.ppEra_Run2_2017_trackingLowPU.ppEra_Run2_2017_trackingLowPU.eras, Impl.ppEra_Run2_50ns.ppEra_Run2_50ns.eras, Impl.ppEra_Run2_2017.ppEra_Run2_2017.eras, Impl.ppEra_Run2_25ns.ppEra_Run2_25ns.eras, Impl.ppEra_Run2_2016_trackingLowPU.ppEra_Run2_2016_trackingLowPU.eras, Impl.ppEra_Run2_2016.ppEra_Run2_2016.eras, Scenario.Scenario.eras, options.HLTProcessOptions.eras, Utils.gtNameAndConnect(), and Utils.stepALCAPRODUCER().

23  def expressProcessing(self, globalTag, **args):
24  """
25  _expressProcessing_
26 
27  Proton collision data taking express processing
28 
29  """
30  skims = args['skims']
31 
32  options = Options()
33  options.__dict__.update(defaultOptions.__dict__)
34  options.scenario = "pp"
35  options.step = stepALCAPRODUCER(skims)
36 
37  dictIO(options,args)
38  options.conditions = gtNameAndConnect(globalTag, args)
39 
40  options.filein = 'tobeoverwritten.xyz'
41  if 'inputSource' in args:
42  options.filetype = args['inputSource']
43  process = cms.Process('RECO', self.eras)
44 
45  if 'customs' in args:
46  options.customisation_file=args['customs']
47 
48  cb = ConfigBuilder(options, process = process, with_output = True, with_input = True)
49 
50  cb.prepare()
51 
52  addMonitoring(process)
53 
54  return process
55 
def gtNameAndConnect(globalTag, args)
Definition: Utils.py:137
def expressProcessing(self, globalTag, args)
def dictIO(options, args)
Definition: Utils.py:123
def addMonitoring(process)
Definition: Utils.py:38
def stepALCAPRODUCER(skims)
Definition: Utils.py:9

Member Data Documentation

Impl.AlCaTestEnable.AlCaTestEnable.skims

Definition at line 14 of file AlCaTestEnable.py.

Referenced by Impl.AlCa.AlCa.promptReco().