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
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
def doMultiLevelAlignment(self): doMultiLevelAlignment = False if align.alignmentLevel() != 3: if align.iteration() > 0 or mualign.jobType() == 'misal': doMultiLevelAlignment = True mualign.doMultiLevelAlignment = doMultiLevelAlignment return doMultiLevelAlignment
def asztOutputFileName(self): if not MuonAlignmentIOFiles._asztOutputFileName: MuonAlignmentIOFiles._asztOutputFileName = MuonAlignmentIOFiles._IOFiles.asztOutputFileName( align.fileRootName(), align.iteration(), align.jobIndex()) return MuonAlignmentIOFiles._asztOutputFileName
def ntupleFile(self): if not MuonAlignmentIOFiles._ntupleFile: MuonAlignmentIOFiles._ntupleFile = MuonAlignmentIOFiles._IOFiles.ntupleFile( align.fileRootName(), align.iteration(), align.jobIndex()) return MuonAlignmentIOFiles._ntupleFile
def rootName(self, append=""): if self._rootName == "": self._rootName = self.rootNameBase() + "_iter" + str( align.iteration()) return self._rootName