Main Page
Namespaces
Classes
Package Documentation
Namespace List
Namespace Members
Functions
muon_json_2012 Namespace Reference
Functions
def
findFileInPath
(theFile)
Function Documentation
def
muon_json_2012.findFileInPath
(
theFile
)
Definition at line
6
of file
muon_json_2012.py
.
References
join()
, and
split
.
6
def
findFileInPath
(theFile):
7
for
s
in
environ[
"CMSSW_SEARCH_PATH"
].
split
(
":"
):
8
attempt =
join
(s,theFile)
9
if
exists(attempt):
10
return
attempt
11
return
None
12
13
#--------------------------------------------------
14
# Pick a set of events
15
# defined by a set of run:luminositysection
16
#--------------------------------------------------
17
join
static std::string join(char **cmd)
Definition:
RemoteFile.cc:18
muon_json_2012.findFileInPath
def findFileInPath(theFile)
Definition:
muon_json_2012.py:6
split
double split
Definition:
MVATrainer.cc:139
Generated for CMSSW Reference Manual by
1.8.11