CMS 3D CMS Logo

List of all members | Public Member Functions
DiscoverDQMFiles.DiscoverDQMFiles Class Reference

Public Member Functions

def filesList (self, sourceDir, type="")
 
def recursive_file_gen (self, mydir)
 

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