예제 #1
0
 def level1AsciiFile(self):
     if not MuonAlignmentIOFiles._level1AsciiFile:
         if align.iteration()>0 or \
                 align.dataType()=='MC' or align.dataType()=='simCosmic' :
             MuonAlignmentIOFiles._level1AsciiFile = MuonAlignmentIOFiles._IOFiles.level1AsciiFile(
                 align.fileRootName(), align.iteration(), align.jobIndex())
         else:
             MuonAlignmentIOFiles._level1AsciiFile = ""
         print "level1AsciiFile: ", MuonAlignmentIOFiles._level1AsciiFile
     return MuonAlignmentIOFiles._level1AsciiFile
예제 #2
0
 def asztInputFile(self):
     if not MuonAlignmentIOFiles._asztInputFile:
         if align.iteration()>0 or \
                 align.dataType()=='MC' or align.dataType()=='simCosmic' :
             MuonAlignmentIOFiles._asztInputFile = MuonAlignmentIOFiles._IOFiles.asztInputFile(
                 align.fileRootName(), align.iteration(), align.jobIndex())
         else:
             print "setting asztInputFile to ''"
             MuonAlignmentIOFiles._asztInputFile = ""
         print "asztInputFile: ", MuonAlignmentIOFiles._asztInputFile
     return MuonAlignmentIOFiles._asztInputFile
예제 #3
0
 def doMultiLevelAlignment(self):
     doMultiLevelAlignment = False
     if align.alignmentLevel() != 3:
         if align.iteration() > 0 or mualign.jobType() == 'misal':
             doMultiLevelAlignment = True
     mualign.doMultiLevelAlignment = doMultiLevelAlignment
     return doMultiLevelAlignment
예제 #4
0
 def asztOutputFileName(self):
     if not MuonAlignmentIOFiles._asztOutputFileName:
         MuonAlignmentIOFiles._asztOutputFileName = MuonAlignmentIOFiles._IOFiles.asztOutputFileName(
             align.fileRootName(), align.iteration(), align.jobIndex())
     return MuonAlignmentIOFiles._asztOutputFileName
예제 #5
0
 def ntupleFile(self):
     if not MuonAlignmentIOFiles._ntupleFile:
         MuonAlignmentIOFiles._ntupleFile = MuonAlignmentIOFiles._IOFiles.ntupleFile(
             align.fileRootName(), align.iteration(), align.jobIndex())
     return MuonAlignmentIOFiles._ntupleFile
예제 #6
0
 def rootName(self, append=""):
     if self._rootName == "":
         self._rootName = self.rootNameBase() + "_iter" + str(
             align.iteration())
     return self._rootName