ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/CMSSW/PhysicsTools/PythonAnalysis/scripts/edmDumpEventContent
(Generate patch)

Comparing CMSSW/PhysicsTools/PythonAnalysis/scripts/edmDumpEventContent (file contents):
Revision 1.1 by lsexton, Sun Jul 15 21:39:05 2007 UTC vs.
Revision 1.2 by hegner, Tue Mar 24 17:02:54 2009 UTC

# Line 23 | Line 23 | def dumpBranches(filename):
23        tmpBranch = Branch()
24        tmpBranch.name = branch.GetName()
25        if not "EventAux" in tmpBranch.name:
26 +        tmpBranch.process = tmpBranch.name.split("_")[3]  
27          tmpBranch.label = tmpBranch.name.split("_")[2]
28          tmpBranch.type = branchType(branch)
29          tmpBranch.module = tmpBranch.name.split("_")[1]
# Line 30 | Line 31 | def dumpBranches(filename):
31          branches.append(copy.copy(tmpBranch))
32  
33      for branch in branches:
34 <      print '%s    "%s"    "%s"' %(branch.type, branch.module, branch.label)
34 >      print '%s    "%s"    "%s"    "%s"' %(branch.type, branch.module, branch.label, branch.process)
35  
36  
37   if __name__ == "__main__":

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines