Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all in one tool to current 62X version #701

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions Alignment/OfflineValidation/macros/PlotAlignmentValidation.C
Original file line number Diff line number Diff line change
Expand Up @@ -440,8 +440,8 @@ void PlotAlignmentValidation::plotSS( const std::string& options, const std::str

TString subDetName;
switch (iSubDet) {
case 1: subDetName = "TPB"; break;
case 2: subDetName = "TPE"; break;
case 1: subDetName = "BPIX"; break;
case 2: subDetName = "FPIX"; break;
case 3: subDetName = "TIB"; break;
case 4: subDetName = "TID"; break;
case 5: subDetName = "TOB"; break;
Expand Down Expand Up @@ -696,8 +696,8 @@ void PlotAlignmentValidation::plotDMR(const std::string& variable, Int_t minHits
else if (variable=="rmsNormY") plotName << "rmsNYR_";

switch (i) {
case 1: plotName << "TPB"; break;
case 2: plotName << "TPE"; break;
case 1: plotName << "BPIX"; break;
case 2: plotName << "FPIX"; break;
case 3: plotName << "TIB"; break;
case 4: plotName << "TID"; break;
case 5: plotName << "TOB"; break;
Expand Down Expand Up @@ -902,7 +902,7 @@ void PlotAlignmentValidation::setCanvasStyle( TCanvas& canv )
canv.SetLeftMargin ( 0.15 );
canv.SetRightMargin ( 0.05 );
canv.SetBottomMargin( 0.15 );
canv.SetTopMargin ( 0.10 );
canv.SetTopMargin ( 0.12 );
}

//------------------------------------------------------------------------------
Expand Down Expand Up @@ -972,8 +972,8 @@ void PlotAlignmentValidation::setTitleStyle( TNamed &hist,const char* titleX, c
if (titelXAxis.Contains("rmsX")) histTitel="Distribution of the rms of the residuals in ";

switch (subDetId) {
case 1: histTitel+="TPB";break;
case 2: histTitel+="TPE";break;
case 1: histTitel+="BPIX";break;
case 2: histTitel+="FPIX";break;
case 3: histTitel+="TIB";break;
case 4: histTitel+="TID";break;
case 5: histTitel+="TOB";break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@
#bit xy for muons trigger


process.triggerSelection=cms.Sequence(process.bptxAnd)
#process.triggerSelection=cms.Sequence(process.bptxAnd)



Expand Down Expand Up @@ -1415,6 +1415,6 @@
#bit xy for muons trigger


process.triggerSelection=cms.Sequence(process.bptxAnd)
#process.triggerSelection=cms.Sequence(process.bptxAnd)

"""
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#Good Bunch Crossings
process.bptxAnd = process.hltLevel1GTSeed.clone(L1TechTriggerSeeding = cms.bool(True), L1SeedsLogicalExpression = cms.string('0'))
#BSCNOBEAMHALO
process.bit40 = process.hltLevel1GTSeed.clone(L1TechTriggerSeeding = cms.bool(True), L1SeedsLogicalExpression = cms.string('(40 OR 41) AND NOT (36 OR 37 OR 38 OR 39) AND NOT ((42 AND NOT 43) OR (43 AND NOT 42))'))
#process.bit40 = process.hltLevel1GTSeed.clone(L1TechTriggerSeeding = cms.bool(True), L1SeedsLogicalExpression = cms.string('(40 OR 41) AND NOT (36 OR 37 OR 38 OR 39) AND NOT ((42 AND NOT 43) OR (43 AND NOT 42))'))

#Physics declared
process.load('HLTrigger.special.hltPhysicsDeclared_cfi')
Expand Down Expand Up @@ -189,7 +189,7 @@
## PATH
##
process.p = cms.Path(
process.triggerSelection*
#process.triggerSelection*
process.offlineBeamSpot*process.HighPuritySelector*process.TrackRefitter1*process.TrackerTrackHitFilter*process.HitFilteredTracks
*process.AlignmentTrackSelector*process.TrackRefitter2*process.seqTrackerOfflineValidation.oO[offlineValidationMode]Oo.)

Expand Down Expand Up @@ -244,7 +244,7 @@
#Good Bunch Crossings
process.bptxAnd = process.hltLevel1GTSeed.clone(L1TechTriggerSeeding = cms.bool(True), L1SeedsLogicalExpression = cms.string('0'))
#BSCNOBEAMHALO
process.bit40 = process.hltLevel1GTSeed.clone(L1TechTriggerSeeding = cms.bool(True), L1SeedsLogicalExpression = cms.string('(40 OR 41) AND NOT (36 OR 37 OR 38 OR 39) AND NOT ((42 AND NOT 43) OR (43 AND NOT 42))'))
#process.bit40 = process.hltLevel1GTSeed.clone(L1TechTriggerSeeding = cms.bool(True), L1SeedsLogicalExpression = cms.string('(40 OR 41) AND NOT (36 OR 37 OR 38 OR 39) AND NOT ((42 AND NOT 43) OR (43 AND NOT 42))'))

#Physics declared
process.load('HLTrigger.special.hltPhysicsDeclared_cfi')
Expand Down Expand Up @@ -390,7 +390,7 @@
## PATH
##
process.p = cms.Path(
process.triggerSelection*
#process.triggerSelection*
process.offlineBeamSpot*process.HighPuritySelector*process.TrackRefitter1*process.TrackerTrackHitFilter*process.HitFilteredTracks
*process.AlignmentTrackSelector*process.TrackRefitter2*process.seqTrackerOfflineValidation.oO[offlineValidationMode]Oo.)

Expand Down Expand Up @@ -533,7 +533,7 @@
#no triger on bunch crossing bit 0


process.triggerSelection=cms.Sequence(process.bit40)
# process.triggerSelection=cms.Sequence(process.bit40)

"""