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 4 of file HDQMDatabaseProducerConfiguration.py.

Constructor & Destructor Documentation

def HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.__init__ (   self,
  configFileName 
)

Definition at line 6 of file HDQMDatabaseProducerConfiguration.py.

6  def __init__(self, configFileName):
7  config = ConfigParser.ConfigParser()
8  # config.read("HDQMDatabaseProducerConfiguration.cfg")
9  config.read(configFileName)
10 
11  # [RunSelection]
12  # ##############
13 
14  self.FirstRun = config.get('Config', 'FirstRun')
15  self.LastRun = config.get('Config', 'LastRun')
16  self.RunType = config.get('Config', 'RunType')
17 
18  if config.get('Config', 'DiscoverRecoTypes') == "True":
19  self.RecoTypes = ""
20  else:
21  self.RecoTypes = config.get('Config', 'RecoTypes').split(",")
22 
23  self.RunsToSkip = config.get('Config', 'RunsToSkip')
24 
25  # Good run selection
26  self.Group = config.get('Config', 'Group')
27 
28  # Tag
29  # ###
30 
31  # Prefix to tag name. Will be composed with subdet and tag version to build the actual tag name
32  self.TagName = config.get('Config', 'TagName')
33 
34  # Helper class to store information for each tag
35  class SubDetInfo:
36  def __init__(self, subDet, tag, qualityFlag):
37  self.SubDet = subDet
38  self.Tag = tag
39  self.QualityFlag = qualityFlag
40 
42  fullList = config.get('Config', 'SubDetsAndTags')
43  for item in fullList.split(";"):
44  itemList = item.split(",")
45  if len(itemList) != 3:
46  print "Error: incorrect configuration of subDetsAndTags"
47  sys.exit()
48  self.SubDetsAndTags.append(SubDetInfo(itemList[0].strip(), itemList[1].strip(), itemList[2].strip()))
49  # print itemList[0], itemList[1], itemList[2]
50 
51  # [Database]
52  # ##########
53 
54  self.AuthenticationPath = config.get('Config', 'AuthenticationPath')
55  self.Database = config.get('Config', 'Database')
56 
57  # [Directories]
58  # #############
59 
60  # Directory where the scripts are
61  self.BaseDir = config.get('Config', 'BaseDir')
62 
63  # CMS environment
64  self.CMS_PATH = config.get('Config', 'CMS_PATH')
65  self.CMSSW_Version = config.get('Config', 'CMSSW_Version')
66 
67  # Directory containing the cfg templates
68  self.TemplatesDir = config.get('Config', 'TemplatesDir')
69 
70  # DQM root files location
71  self.SourceDir = config.get('Config', 'SourceDir')
72 
73  # Directory where to copy the plots
74  self.StorageDir = config.get('Config', 'StorageDir')
75 
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 61 of file HDQMDatabaseProducerConfiguration.py.

Referenced by SelectRuns.SelectRuns.makeList().

HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.CMS_PATH

Definition at line 64 of file HDQMDatabaseProducerConfiguration.py.

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

Definition at line 15 of file HDQMDatabaseProducerConfiguration.py.

HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.QualityFlag
HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.RecoTypes

Definition at line 19 of file HDQMDatabaseProducerConfiguration.py.

HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.RunsToSkip

Definition at line 23 of file HDQMDatabaseProducerConfiguration.py.

HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.RunType
HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.SourceDir

Definition at line 71 of file HDQMDatabaseProducerConfiguration.py.

HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.StorageDir
HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.SubDet

Definition at line 37 of file HDQMDatabaseProducerConfiguration.py.

HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.SubDetsAndTags

Definition at line 41 of file HDQMDatabaseProducerConfiguration.py.

HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.Tag

Definition at line 38 of file HDQMDatabaseProducerConfiguration.py.

HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.TagName
HDQMDatabaseProducerConfiguration.HDQMDatabaseProducerConfiguration.TemplatesDir

Definition at line 68 of file HDQMDatabaseProducerConfiguration.py.

Referenced by PopulateDB.PopulateDB.run().