Difference: AMC13RawDataAnalysis (2 vs. 3)

Revision 304 Aug 2014 - EricHazen

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

New analysis code being developed for 2014 data format

Line: 10 to 10
 
Class Description
FedEvent one event fragment as received from an AMC13 in response to a single L1A
FedAmc Payload for one AMC
Changed:
<
<
AMC13Block internal block structure of event fragment
>
>
FedBlock internal block structure of event fragment
  Each class is documented below:
Line: 24 to 24
 
CRC() CRC16 from event trailer
CalcCRC() CRC16 calculated from event data (should match CRC())
Changed:
<
<

FedAmc

>
>

To Do List

 
Added:
>
>

Bugs

 
Added:
>
>
  • In FedEvent::PreParse the expression if(GetNAMC() > 0 || GetNAMC() < 13) is always true. I think you mean to use && instead of ||.
  • In FedEvent::PreParse there are two possibilities for size: a) 2 and b) 4...14. It should throw an exception if any other value is passed. The comments should reflect this.
  • Add a doxygen configuration file and "doc" target to makefile so one can do 'make doc' and get the doxygen output.
 
Changed:
<
<

For preliminary HCAL data format used through 2013

>
>

New Features

 
Changed:
<
<
I've developed a simple unpacker and some command-line tools to dump and error-check the data from the VME system or the new MicroTCA system (data formats are a bit different). The original version was developed as a CMSSW job "EricDIM" TWiki page.
>
>
  • Check for consistency of LMSEPVC bits through an entire event
    • MS should be "10" for first block, "11" for intermediate blocks, "01" for final blocks.
    • C should be 1 when MS="01".
    • EP should always be "11" I think
  • Check Blk_No, AmcNo, BoardID in block headers for consistency throughout event
  • Add option to dump entire AMC payloads
 
Deleted:
<
<
To get the tools from our svn and build them:

  $ svn co svn://cms1.bu.edu/Eric
  $ cd Eric/RawAnalysis
  $ make
  $ ./dump_DTC.exe
  usage:  dump_DTC.exe [options] file_name
    -e (check for sequential EvN)
    -h (check for uHTR EvN)
    -v (verbose)
    -d 
       1=DTC header 2=uHTR headers  3=uHTR payload
  $

If you run e.g. ./dump_DTC.exe -h dump1.dat it will check the file dump1.dat for EvN, BcN and OrN errors. The data format is documented here. ("HCAL Upgrade Data Format", latest version).

-- EricHazen - 18 Oct 2013

 \ No newline at end of file
Added:
>
>
-- EricHazen - 04 Aug 2014
 
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