Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
larsoft
bin
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
#
16
Subst =
AddProcessor
(
SerialSubstitution.ProcessorClass
(
"code"
))
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
#
SerialSubstitution.AddProcessor
def AddProcessor(processor)
Definition:
SerialSubstitution.py:489
SerialSubstitution.ProcessorClass
Definition:
SerialSubstitution.py:193
SerialSubstitution.RunSubstitutor
def RunSubstitutor()
Definition:
SerialSubstitution.py:503
Generated by
1.8.11