Difference: AMC13RawDataAnalysis (10 vs. 11)

Revision 1114 Oct 2015 - DanielArcaro

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

New analysis code being developed for 2014 data format

Line: 64 to 64
  $ popd
Changed:
<
<
$ cp _somewhere_else_/unpacker/* ./
>
>
$ mv _somewhere_else_/unpacker/* ./
  You should now have all the FedEvent source code in the plugins folder alongside BuildFile.xml and parse.cc
Line: 72 to 72
  $ scram b
Added:
>
>
To run the analyzer on a root file use $ cmsRun python/ConfFile_cfg.py.

 Some modifications must be made to the analyzer code depending on the root file type. The only two files that would need to be changed are plugings/parse.cc and python/ConfFile_cfg.py. The ConfFile_cfg.py has the Fed ID input and the root file name. If the root file is local the line process.source = cms.Source("HcalTBSource", should not be commented out, but the one with PoolSource should be. Also, in parse.cc the lines Handle rawdata; iEvent.getByLabel("source",rawdata); should not be commented out, but the one with rawDataCollector should be. If the root file is a global run, the opposite should be done for both files.

All of this should be done using the same version of CMSSW as what the root file was produced with. To determine this use $ edmProvDump rootfile.root to see the CMSSW version number and other attributes of the file. There are also other edm functions that are quite useful (of course only on lxplus).

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback