Main Page
Namespaces
Classes
Package Documentation
Namespace List
Namespace Members
Classes
|
Functions
TH2PolyOfflineMaps Namespace Reference
Classes
class
TH2PolyOfflineMaps
Functions
def
getFileInPath
(rfile)
Function Documentation
def
TH2PolyOfflineMaps.getFileInPath
(
rfile
)
Definition at line
14
of file
TH2PolyOfflineMaps.py
.
References
split
.
14
def
getFileInPath
(rfile):
15
import
os
16
for
dir
in
os.environ[
'CMSSW_SEARCH_PATH'
].
split
(
":"
):
17
if
os.path.exists(os.path.join(dir,rfile)):
return
os.path.join(dir,rfile)
18
return
None
19
20
21
# Default values
TH2PolyOfflineMaps.getFileInPath
def getFileInPath(rfile)
Definition:
TH2PolyOfflineMaps.py:14
split
double split
Definition:
MVATrainer.cc:139
Generated for CMSSW Reference Manual by
1.8.11