Skip to content

Instantly share code, notes, and snippets.

Marco Musich mmusich

View GitHub Profile
View printValues.C
#include "TFile.h"
#include "TH1F.h"
#include "TH2F.h"
#include "TStyle.h"
#include "TCanvas.h"
#include <iostream>
#include <vector>
void printValues(TString fname=""){
TFile *file = new TFile(fname);
View badChannelMerge.py
import FWCore.ParameterSet.Config as cms
import FWCore.ParameterSet.VarParsing as VarParsing
process = cms.Process("BadChannelMerge")
#prepare options
options = VarParsing.VarParsing("analysis")
View totalEventsPerRunRange.py
import os,sys
import getopt
import commands
import time
import ROOT
import urllib
import string
from optparse import OptionParser
totalEvents=0
View HNL_SecondaryVertex_cfg.py
import sys, os
import FWCore.ParameterSet.Config as cms
from FWCore.ParameterSet.VarParsing import VarParsing
from pdb import set_trace
process = cms.Process("HNLSecondaryVertex")
process.load("FWCore.MessageService.MessageLogger_cfi")
process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
process.load('Configuration.StandardSequences.MagneticField_cff')
View stack_trace_CMSSW_10_1_0_pre2
%MSG-e SiStripGainsPCLHarvester: SiStripGainsPCLHarvester:alcaSiStripGainsHarvester@endJob 07-Mar-2018 17:09:25 CET PostGlobalEndRun
Harvesting: could not retrieve AlCaReco/SiStripGains/Charge_Vs_Index_StdBunch, statistics will not be summed!
%MSG
%MSG-e SiStripGainsPCLHarvester: SiStripGainsPCLHarvester:alcaSiStripGainsHarvester@endJob 07-Mar-2018 17:09:25 CET PostGlobalEndRun
Harvesting: could not execute algoComputeMPVandGain method because StdBunch statistics cannot be retrieved.
Please check if input contains StdBunch data.
%MSG
%MSG-e SiStripGainsPCLHarvester: SiStripGainsPCLHarvester:alcaSiStripGainsHarvester@endJob 07-Mar-2018 17:09:25 CET PostGlobalEndRun
produceTagFilter -> Return false: could not retrieve the StdBunch statistics.
Please check if input contains StdBunch data.
View stack trace
15-Feb-2018 16:12:37 CET Initiating request to open file root://eoscms.cern.ch//eos/cms/store/data/Run2016C/ZeroBias/ALCARECO/SiStripCalMinBias-18Apr2017-v1/120000/6CFAB5AC-1335-E711-8A3A-24BE05C6B732.root
15-Feb-2018 16:12:40 CET Successfully opened file root://eoscms.cern.ch//eos/cms/store/data/Run2016C/ZeroBias/ALCARECO/SiStripCalMinBias-18Apr2017-v1/120000/6CFAB5AC-1335-E711-8A3A-24BE05C6B732.root
%MSG-i SiStripGainsPCLWorker: SiStripGainsPCLWorker:ALCARECOSiStripCalib@streamBeginRun 15-Feb-2018 16:12:48 CET Run: 276243 Stream: 0
Resetting APV struct
%MSG
%MSG-i SiStripGainsPCLWorker: SiStripGainsPCLWorker:ALCARECOSiStripCalib@streamBeginRun 15-Feb-2018 16:12:48 CET Run: 276243 Stream: 0
Setting AlCaReco/SiStripGainsin DQM and booking histograms for tag StdBunch
%MSG
%MSG-i SiStripGainsPCLWorker: SiStripGainsPCLWorker:ALCARECOSiStripCalib@streamBeginRun 15-Feb-2018 16:12:50 CET Run: 276244 Stream: 0
Setting AlCaReco/SiStripGainsin DQM and booking histograms for tag StdBunch
View test_ALCAStep_fromALCARECO.py
# Auto generated configuration file
# using:
# Revision: 1.19
# Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v
# with command line options: stepALCA --datatier ALCARECO --conditions auto:run2_data -s ALCA:PromptCalibProdSiStripGains --eventcontent ALCARECO -n 1000 --dasquery=file dataset=/ZeroBias/Run2016C-SiStripCalMinBias-18Apr2017-v1/ALCARECO run=276243 --no_exec
import FWCore.ParameterSet.Config as cms
from Configuration.StandardSequences.Eras import eras
process = cms.Process('ALCA')
View out.out
L1TRawToDigi Sequence configured for Stage-2 (2016) trigger.
%MSG-i ThreadSetup: (NoModuleName) 28-Feb-2017 16:56:24 CET pre-events
setting # threads 4
%MSG
%MSG-i StreamSetup: (NoModuleName) 28-Feb-2017 16:56:24 CET pre-events
setting # streams 4
%MSG
28-Feb-2017 16:56:32 CET Initiating request to open file file:step3.root
28-Feb-2017 16:56:34 CET Successfully opened file file:step3.root
Begin processing the 1st record. Run 1, Event 3, LumiSection 1 at 28-Feb-2017 16:56:46.823 CET
View Diff modsOn
diff --git a/DQM/SiStripMonitorClient/python/SiStripSourceConfigTier0_cff.py b/DQM/SiStripMonitorClient/python/SiStripSourceConfigTier0_cff.py
index efa6b10..53231b5 100644
--- a/DQM/SiStripMonitorClient/python/SiStripSourceConfigTier0_cff.py
+++ b/DQM/SiStripMonitorClient/python/SiStripSourceConfigTier0_cff.py
@@ -33,8 +33,6 @@ SiStripMonitorDigi.TProfNShotsVsTime.subdetswitchon = True
SiStripMonitorDigi.TProfNShotsVsTime.globalswitchon = True
SiStripMonitorDigi.TProfGlobalNShots.globalswitchon = True
-from DQM.SiStripMonitorClient.pset4GenericTriggerEventFlag_cfi import *
-
You can’t perform that action at this time.