Newer
Older
STAging / scripts / runAllcheckShift.py
import os
import sys



if __name__ == '__main__':

    '''
    Autor: Michele Atzeni
    Email: michele.atzeni@cern.ch

    Working in date 14.06.2017
    '''
    detDict = {"TT":{"layer":["TTaU"],"nstrips":['3','5','7']},
               "IT":{"layer":["T3X2"],"nstrips":['7']},
    }

    for idet in ["TT","IT"]:
        print "======= Detector: {} =======".format(idet)

        for ilay in detDict[idet]["layer"]:
            print "======= Layer: {} =======".format(ilay)
            
            for instrip in detDict[idet]["nstrips"]:
                print "======= nStrips: {} =======".format(instrip)

                os.system('python -u checkShift.py -d {} -l {} -n {} --Vred'.format(idet,ilay,instrip))