CMS 3D CMS Logo

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

Public Member Functions

def __init__ (self)
 
def promptReco (self, globalTag, args)
 
def skimsIfNotGiven (self, args, sl)
 

Public Attributes

 promptCustoms
 
 promptModifiers
 
 recoSeq
 

Detailed Description

Definition at line 17 of file AlCaNano.py.

Constructor & Destructor Documentation

◆ __init__()

def Impl.AlCaNano.AlCaNano.__init__ (   self)

Definition at line 18 of file AlCaNano.py.

18  def __init__(self):
19  Scenario.__init__(self)
20  self.recoSeq=''
21  self.promptCustoms= [ 'Configuration/DataProcessing/RecoTLR.customisePrompt' ]
22  self.promptModifiers = cms.ModifierChain()
23 
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ promptReco()

def Impl.AlCaNano.AlCaNano.promptReco (   self,
  globalTag,
  args 
)

Definition at line 36 of file AlCaNano.py.

References mps_setup.append, Utils.dictIO(), Impl.AlCaLumiPixels.AlCaLumiPixels.eras, Impl.AlCaLumiPixels_Run3.AlCaLumiPixels_Run3.eras, Impl.AlCaPhiSymEcal_Nano.AlCaPhiSymEcal_Nano.eras, Impl.cosmicsEra_Run2_2016.cosmicsEra_Run2_2016.eras, Impl.cosmicsEra_Run2_2017.cosmicsEra_Run2_2017.eras, Impl.cosmicsEra_Run2_2018.cosmicsEra_Run2_2018.eras, Impl.cosmicsEra_Run2_25ns.cosmicsEra_Run2_25ns.eras, Impl.cosmicsEra_Run2_50ns.cosmicsEra_Run2_50ns.eras, Impl.cosmicsEra_Run3.cosmicsEra_Run3.eras, Impl.cosmicsHybridEra_Run2_2018.cosmicsHybridEra_Run2_2018.eras, Impl.hcalnzsEra_Run2_2018_pp_on_AA.hcalnzsEra_Run2_2018_pp_on_AA.eras, Impl.hcalnzsEra_Run2_2016.hcalnzsEra_Run2_2016.eras, Impl.hcalnzsEra_Run2_2017.hcalnzsEra_Run2_2017.eras, Impl.hcalnzsEra_Run2_2018.hcalnzsEra_Run2_2018.eras, Impl.hcalnzsEra_Run2_2018_highBetaStar.hcalnzsEra_Run2_2018_highBetaStar.eras, Impl.hcalnzsEra_Run2_25ns.hcalnzsEra_Run2_25ns.eras, Impl.hcalnzsEra_Run3.hcalnzsEra_Run3.eras, Impl.HeavyIonsEra_Run2_HI.HeavyIonsEra_Run2_HI.eras, Impl.HeavyIonsEra_Run2_2018.HeavyIonsEra_Run2_2018.eras, Impl.ppEra_Run2_2016.ppEra_Run2_2016.eras, Impl.ppEra_Run2_2016_pA.ppEra_Run2_2016_pA.eras, Impl.ppEra_Run2_2016_trackingLowPU.ppEra_Run2_2016_trackingLowPU.eras, Impl.ppEra_Run2_2017.ppEra_Run2_2017.eras, Impl.ppEra_Run2_2017_ppRef.ppEra_Run2_2017_ppRef.eras, Impl.ppEra_Run2_2018.ppEra_Run2_2018.eras, Impl.ppEra_Run2_2018_highBetaStar.ppEra_Run2_2018_highBetaStar.eras, Impl.ppEra_Run2_25ns.ppEra_Run2_25ns.eras, Impl.ppEra_Run2_50ns.ppEra_Run2_50ns.eras, Impl.ppEra_Run3.ppEra_Run3.eras, Impl.ppEra_Run2_2017_trackingLowPU.ppEra_Run2_2017_trackingLowPU.eras, Impl.ppEra_Run2_2017_pp_on_XeXe.ppEra_Run2_2017_pp_on_XeXe.eras, Impl.ppEra_Run2_2018_pp_on_AA.ppEra_Run2_2018_pp_on_AA.eras, Impl.trackingOnlyEra_Run2_2018_pp_on_AA.trackingOnlyEra_Run2_2018_pp_on_AA.eras, Impl.trackingOnlyEra_Run2_2017.trackingOnlyEra_Run2_2017.eras, Impl.trackingOnlyEra_Run2_2018_highBetaStar.trackingOnlyEra_Run2_2018_highBetaStar.eras, Impl.ppEra_Run2_2017_trackingOnly.ppEra_Run2_2017_trackingOnly.eras, Impl.trackingOnlyEra_Run2_2018.trackingOnlyEra_Run2_2018.eras, Impl.trackingOnlyEra_Run3.trackingOnlyEra_Run3.eras, Scenario.Scenario.eras, options.HLTProcessOptions.eras, Utils.gtNameAndConnect(), print(), Impl.AlCaNano.AlCaNano.promptCustoms, Impl.AlCaNano.AlCaNano.promptModifiers, Impl.AlCaNano.AlCaNano.recoSeq, Impl.AlCaP0.AlCaP0.skims, Impl.AlCaTestEnable.AlCaTestEnable.skims, Impl.AlCaPhiSymEcal.AlCaPhiSymEcal.skims, Impl.AlCaPhiSymEcal_Nano.AlCaPhiSymEcal_Nano.skims, Impl.AlCaLumiPixels.AlCaLumiPixels.skims, Impl.AlCaLumiPixels_Run3.AlCaLumiPixels_Run3.skims, and Utils.stepALCAPRODUCER().

36  def promptReco(self, globalTag, **args):
37  if not 'skims' in args:
38  args['skims']=self.skims
39  if not 'customs' in args:
40  args['customs']= [ ]
41  for c in self.promptCustoms:
42  args['customs'].append(c)
43 
44  options = Options()
45  options.__dict__.update(defaultOptions.__dict__)
46  options.scenario = "pp"
47  dictIO(options,args)
48  options.conditions = gtNameAndConnect(globalTag, args)
49 
50  if 'customs' in args:
51  print(args['customs'])
52  options.customisation_file=args['customs']
53 
54  options.step = 'RECO'
55  options.step += self.recoSeq
56  options.step += stepALCAPRODUCER(args['skims'])
57 
58  process = cms.Process('RECO', cms.ModifierChain(self.eras, self.promptModifiers) )
59  cb = ConfigBuilder(options, process = process, with_output = True)
60 
61  # Input source
62  process.source = cms.Source("PoolSource",
63  fileNames = cms.untracked.vstring()
64  )
65  cb.prepare()
66 
67  return process
68 
def gtNameAndConnect(globalTag, args)
Definition: Utils.py:135
def dictIO(options, args)
Definition: Utils.py:121
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47
def stepALCAPRODUCER(skims)
Definition: Utils.py:9

◆ skimsIfNotGiven()

def Impl.AlCaNano.AlCaNano.skimsIfNotGiven (   self,
  args,
  sl 
)

Definition at line 32 of file AlCaNano.py.

32  def skimsIfNotGiven(self,args,sl):
33  if not 'skims' in args:
34  args['skims']=sl
35 

Member Data Documentation

◆ promptCustoms

Impl.AlCaNano.AlCaNano.promptCustoms

◆ promptModifiers

Impl.AlCaNano.AlCaNano.promptModifiers

Definition at line 22 of file AlCaNano.py.

Referenced by Impl.AlCaNano.AlCaNano.promptReco(), and Reco.Reco.promptReco().

◆ recoSeq

Impl.AlCaNano.AlCaNano.recoSeq