CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
DiscoverDQMFiles.DiscoverDQMFiles Class Reference

Public Member Functions

def filesList
 
def recursive_file_gen
 

Detailed Description

Definition at line 3 of file DiscoverDQMFiles.py.

Member Function Documentation

def DiscoverDQMFiles.DiscoverDQMFiles.filesList (   self,
  sourceDir,
  type = "" 
)

Definition at line 10 of file DiscoverDQMFiles.py.

References list(), and DiscoverDQMFiles.DiscoverDQMFiles.recursive_file_gen().

10 
11  def filesList(self, sourceDir, type = ""):
12  fullList = list(self.recursive_file_gen(sourceDir))
13  reducedList = list()
14  for file in fullList:
15  if file.endswith(".root") and (file.find(type) != -1):
16  # print "file passing", file
17  reducedList.append(file)
18  return reducedList
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
def DiscoverDQMFiles.DiscoverDQMFiles.recursive_file_gen (   self,
  mydir 
)

Definition at line 5 of file DiscoverDQMFiles.py.

Referenced by DiscoverDQMFiles.DiscoverDQMFiles.filesList().

5 
6  def recursive_file_gen(self, mydir):
7  for root, dirs, files in os.walk(mydir):
8  for file in files:
9  yield os.path.join(root, file)