CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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__
 
def promptReco
 
def skimsIfNotGiven
 

Public Attributes

 promptCustoms
 
 promptModifiers
 
 recoSeq
 

Detailed Description

Definition at line 17 of file AlCaNano.py.

Constructor & Destructor Documentation

def Impl.AlCaNano.AlCaNano.__init__ (   self)

Definition at line 18 of file AlCaNano.py.

18 
19  def __init__(self):
20  Scenario.__init__(self)
21  self.recoSeq=''
22  self.promptCustoms= [ 'Configuration/DataProcessing/RecoTLR.customisePrompt' ]
23  self.promptModifiers = cms.ModifierChain()

Member Function Documentation

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

Definition at line 36 of file AlCaNano.py.

References bitset_utilities.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 
37  def promptReco(self, globalTag, **args):
38  if not 'skims' in args:
39  args['skims']=self.skims
40  if not 'customs' in args:
41  args['customs']= [ ]
42  for c in self.promptCustoms:
43  args['customs'].append(c)
44 
45  options = Options()
46  options.__dict__.update(defaultOptions.__dict__)
47  options.scenario = "pp"
48  dictIO(options,args)
49  options.conditions = gtNameAndConnect(globalTag, args)
50 
51  if 'customs' in args:
52  print(args['customs'])
53  options.customisation_file=args['customs']
54 
55  options.step = 'RECO'
56  options.step += self.recoSeq
57  options.step += stepALCAPRODUCER(args['skims'])
58 
59  process = cms.Process('RECO', cms.ModifierChain(self.eras, self.promptModifiers) )
60  cb = ConfigBuilder(options, process = process, with_output = True)
61 
62  # Input source
63  process.source = cms.Source("PoolSource",
64  fileNames = cms.untracked.vstring()
65  )
66  cb.prepare()
67 
68  return process
boost::dynamic_bitset append(const boost::dynamic_bitset<> &bs1, const boost::dynamic_bitset<> &bs2)
this method takes two bitsets bs1 and bs2 and returns result of bs2 appended to the end of bs1 ...
def stepALCAPRODUCER
Definition: Utils.py:9
def gtNameAndConnect
Definition: Utils.py:135
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47
def dictIO
Definition: Utils.py:121
def Impl.AlCaNano.AlCaNano.skimsIfNotGiven (   self,
  args,
  sl 
)

Definition at line 32 of file AlCaNano.py.

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

Member Data Documentation

Impl.AlCaNano.AlCaNano.promptCustoms

Definition at line 21 of file AlCaNano.py.

Referenced by Impl.AlCaNano.AlCaNano.promptReco(), Impl.pp.pp.promptReco(), and Impl.HeavyIons.HeavyIons.promptReco().

Impl.AlCaNano.AlCaNano.promptModifiers

Definition at line 22 of file AlCaNano.py.

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

Impl.AlCaNano.AlCaNano.recoSeq

Definition at line 20 of file AlCaNano.py.

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