v08_04_00-LarDataUtils.py
Go to the documentation of this file.
1 #!/usr/bin/env python2
2 
3 import sys, re
4 
5 import SerialSubstitution
6 from SerialSubstitution import AddProcessor, RunSubstitutor
7 
8 
9 ################################################################################
10 if __name__ == "__main__":
11 
12  #############################################################################
13  # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
14  # C++ source code
15  #
17 
18  Subst.AddFileType("h", "cc", "cpp", "cxx", "tcc")
19 
20  # include files
21  Subst.AddWord ("lardata/Utilities/StatCollector.h", "lardataalg/Utilities/StatCollector.h")
22  Subst.AddPattern ('"StatCollector.h"', '"lardataalg/Utilities/StatCollector.h"')
23 
24 
25  # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
26  #############################################################################
27 
28  sys.exit(RunSubstitutor())
29 #
def AddProcessor(processor)