CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration Class Reference

Public Member Functions

def __init__ (self, configFileName)
 

Public Attributes

 AuthenticationPath
 
 BaseDir
 
 CMS_PATH
 
 CMSSW_Version
 
 Database
 
 FirstRun
 
 Group
 
 LastRun
 
 QualityFlag
 
 RecoTypes
 
 RunsToSkip
 
 RunType
 
 SourceDir
 
 StorageDir
 
 SubDet
 
 SubDetsAndTags
 
 Tag
 
 TagName
 
 TemplatesDir
 

Detailed Description

Definition at line 5 of file HDQMDatabaseProducerConfiguration.py.

Constructor & Destructor Documentation

def HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.__init__ (   self,
  configFileName 
)

Definition at line 7 of file HDQMDatabaseProducerConfiguration.py.

7  def __init__(self, configFileName):
8  config = ConfigParser.ConfigParser()
9  # config.read("HDQMDatabaseProducerConfiguration.cfg")
10  config.read(configFileName)
11 
12  # [RunSelection]
13  # ##############
14 
15  self.FirstRun = config.get('Config', 'FirstRun')
16  self.LastRun = config.get('Config', 'LastRun')
17  self.RunType = config.get('Config', 'RunType')
18 
19  if config.get('Config', 'DiscoverRecoTypes') == "True":
20  self.RecoTypes = ""
21  else:
22  self.RecoTypes = config.get('Config', 'RecoTypes').split(",")
23 
24  self.RunsToSkip = config.get('Config', 'RunsToSkip')
25 
26  # Good run selection
27  self.Group = config.get('Config', 'Group')
28 
29  # Tag
30  # ###
31 
32  # Prefix to tag name. Will be composed with subdet and tag version to build the actual tag name
33  self.TagName = config.get('Config', 'TagName')
34 
35  # Helper class to store information for each tag
36  class SubDetInfo:
37  def __init__(self, subDet, tag, qualityFlag):
38  self.SubDet = subDet
39  self.Tag = tag
40  self.QualityFlag = qualityFlag
41 
43  fullList = config.get('Config', 'SubDetsAndTags')
44  for item in fullList.split(";"):
45  itemList = item.split(",")
46  if len(itemList) != 3:
47  print("Error: incorrect configuration of subDetsAndTags")
48  sys.exit()
49  self.SubDetsAndTags.append(SubDetInfo(itemList[0].strip(), itemList[1].strip(), itemList[2].strip()))
50  # print itemList[0], itemList[1], itemList[2]
51 
52  # [Database]
53  # ##########
54 
55  self.AuthenticationPath = config.get('Config', 'AuthenticationPath')
56  self.Database = config.get('Config', 'Database')
57 
58  # [Directories]
59  # #############
60 
61  # Directory where the scripts are
62  self.BaseDir = config.get('Config', 'BaseDir')
63 
64  # CMS environment
65  self.CMS_PATH = config.get('Config', 'CMS_PATH')
66  self.CMSSW_Version = config.get('Config', 'CMSSW_Version')
67 
68  # Directory containing the cfg templates
69  self.TemplatesDir = config.get('Config', 'TemplatesDir')
70 
71  # DQM root files location
72  self.SourceDir = config.get('Config', 'SourceDir')
73 
74  # Directory where to copy the plots
75  self.StorageDir = config.get('Config', 'StorageDir')
76 
S & print(S &os, JobReport::InputFile const &f)
Definition: JobReport.cc:65
double split
Definition: MVATrainer.cc:139
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run

Member Data Documentation

HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.AuthenticationPath
HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.BaseDir

Definition at line 62 of file HDQMDatabaseProducerConfiguration.py.

Referenced by SelectRuns.SelectRuns.makeList().

HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.CMS_PATH

Definition at line 65 of file HDQMDatabaseProducerConfiguration.py.

HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.CMSSW_Version
HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.Database
HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.FirstRun
HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.Group
HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.LastRun

Definition at line 16 of file HDQMDatabaseProducerConfiguration.py.

HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.QualityFlag
HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.RecoTypes

Definition at line 20 of file HDQMDatabaseProducerConfiguration.py.

HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.RunsToSkip

Definition at line 24 of file HDQMDatabaseProducerConfiguration.py.

HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.RunType
HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.SourceDir

Definition at line 72 of file HDQMDatabaseProducerConfiguration.py.

HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.StorageDir
HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.SubDet

Definition at line 38 of file HDQMDatabaseProducerConfiguration.py.

HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.SubDetsAndTags

Definition at line 42 of file HDQMDatabaseProducerConfiguration.py.

HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.Tag

Definition at line 39 of file HDQMDatabaseProducerConfiguration.py.

HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.TagName
HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.TemplatesDir

Definition at line 69 of file HDQMDatabaseProducerConfiguration.py.

Referenced by PopulateDB.PopulateDB.run().