Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:31:40

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("ERRORSANALYZER")
0004 
0005 process.source = cms.Source("EmptySource")
0006 process.maxEvents = cms.untracked.PSet(
0007     input = cms.untracked.int32(0)
0008 )
0009 
0010 process.ErrorsPropagationAnalyzerModule = cms.EDAnalyzer(
0011     "ErrorsPropagationAnalyzer",
0012 
0013     InputFileName = cms.string("/home/castello/7TeV/CMSSW_3_8_5_patch3/src/Tree/Fall10/Tree_MCFall2010_INNtk_CRAFTRealistic_wGEN.root"),
0014     MaxEvents = cms.int32(-1),
0015 
0016     # Function parameters
0017     ResolFitType = cms.int32(20),
0018 
0019 
0020     # double ptPart = parval[2]*1./pt + pt/(pt+parval[3]) + pt*parval[9] + pt*pt*parval[10];
0021 
0022     # if(fabsEta<parval[0]) {
0023     #   // To impose continuity we require that the parval[0] of type11 is
0024     #   double par = parval[1] + parval[6]*fabs((parval[0]-parval[8])) + parval[7]*(parval[0]-parval[8])*(parval[0]-parval[8]) - (parval[4]*parval[0] + parval[5]*parval[0]*parval[0]);
0025     #   return( par + ptPart + parval[4]*fabsEta + parval[5]*eta*eta );
0026     # }
0027     # else {
0028     #   return( parval[1]+ ptPart + parval[6]*fabs((fabsEta-parval[8])) + parval[7]*(fabsEta-parval[8])*(fabsEta-parval[8]) );
0029     # }
0030 
0031 
0032     Parameters = cms.vdouble(),
0033     Errors = cms.vdouble(),
0034     ErrorFactors = cms.vint32(),
0035 
0036     OutputFileName = cms.string("test.root"),
0037 
0038     PtBins = cms.int32(50),
0039     PtMin = cms.double(0.),
0040     PtMax = cms.double(100.),
0041     
0042     EtaBins = cms.int32(100),
0043     EtaMin = cms.double(-3.),
0044     EtaMax = cms.double(3.),
0045     
0046     # Optionally configure cuts on pt and eta of the muons used to fill the histograms
0047     PtMinCut = cms.untracked.double(0.),
0048     PtMaxCut = cms.untracked.double(999999.),
0049     EtaMinCut = cms.untracked.double(0.),
0050     EtaMaxCut = cms.untracked.double(100.),
0051 
0052     Debug = cms.bool(False),
0053 )
0054 
0055 process.p1 = cms.Path(process.ErrorsPropagationAnalyzerModule)
0056