CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Variables
offlineValidationTemplates Namespace Reference

Variables

string LorentzAngleTemplate = "#use lorentz angle from global tag"
 
string mergeOfflineParallelResults
 
string mergeOfflineParJobsTemplate
 
string offlineDqmFileOutputTemplate
 
string offlineFileOutputTemplate
 
string offlineTemplate
 
string TrackSelectionTemplate
 

Variable Documentation

string offlineValidationTemplates.LorentzAngleTemplate = "#use lorentz angle from global tag"

Definition at line 254 of file offlineValidationTemplates.py.

string offlineValidationTemplates.mergeOfflineParallelResults
Initial value:
1 = """
2 
3 # Merging works also if there is only one file to merge
4 # if merged file already exists it will be moved to a backup file (~)
5 
6 # run TkAlOfflineJobsMerge.C
7 echo -e "\n\nMerging results from offline parallel jobs with TkAlOfflineJobsMerge.C"
8 #set directory to which TkAlOfflineJobsMerge.C saves the merged file
9 # export OUTPUTDIR=.oO[datadir]Oo.
10 export OUTPUTDIR=.
11 cp .oO[CMSSW_BASE]Oo./src/Alignment/OfflineValidation/scripts/merge_TrackerOfflineValidation.C .
12 .oO[haddLoop]Oo.
13 
14 # create log file
15 # ls -al .oO[datadir]Oo./AlignmentValidation*.root > .oO[datadir]Oo./log_rootfilelist.txt
16 ls -al AlignmentValidation*.root > .oO[datadir]Oo./log_rootfilelist.txt
17 
18 # Remove parallel job files
19 .oO[rmUnmerged]Oo.
20 """

Definition at line 193 of file offlineValidationTemplates.py.

string offlineValidationTemplates.mergeOfflineParJobsTemplate
Initial value:
1 = """
2 int TkAlOfflineJobsMerge(TString pars, TString outFile)
3 {
4 // load framework lite just to find the CMSSW libs...
5 gSystem->Load("libFWCoreFWLite");
6 AutoLibraryLoader::enable();
7 //compile the macro
8 gROOT->ProcessLine(".L merge_TrackerOfflineValidation.C++");
9 
10 return hadd(pars, outFile);
11 }
12 """

Definition at line 217 of file offlineValidationTemplates.py.

string offlineValidationTemplates.offlineDqmFileOutputTemplate
Initial value:
1 = """
2 process.TrackerOfflineValidationSummary.oO[offlineValidationMode]Oo..removeModuleLevelHists = .oO[offlineModuleLevelHistsTransient]Oo.
3 process.DqmSaverTkAl.workflow = '.oO[workflow]Oo.'
4 process.DqmSaverTkAl.dirName = '.oO[workdir]Oo./.'
5 process.DqmSaverTkAl.forceRunNumber = .oO[firstRunNumber]Oo.
6 """

Definition at line 239 of file offlineValidationTemplates.py.

string offlineValidationTemplates.offlineFileOutputTemplate
Initial value:
1 = """
2 process.TFileService.fileName = '.oO[outputFile]Oo.'
3 """

Definition at line 233 of file offlineValidationTemplates.py.

string offlineValidationTemplates.offlineTemplate

Definition at line 3 of file offlineValidationTemplates.py.

string offlineValidationTemplates.TrackSelectionTemplate

Definition at line 259 of file offlineValidationTemplates.py.