Global Calo Trigger Raw2Digi

The GCT RawToDigi and DigiToRaw modules are packaged in EventFilter/GctRawToDigi.

Raw Data

Raw data formats can be found on the CMS.GlobalCaloTrigger page.

Test jobs

Needs to be updated

Error Codes

The GCT unpacker will detect and record various error conditions. These are encoded as below.

Code Condition Implemented
1 Missing FED yes
2 Unknown raw data version yes
3 Unknown firmware version no
4 Unknown data block yes
5 Out of sync block header no
6 Too many blocks yes

Out Of Date Information

Test Jobs

The following CMSSW config files are included in the test directory (EventFilter/SWGuideGctRawToDigi/test). You will need to edit them to change the input file name. Run them with eg.

cmsRun gctVmeToDigi.cfg

  • gctVmeToDigi.cfg - reads an ASCII dump of the concentrator card, prints digis to screen, and dumps an EDM file
  • gctDigiToRaw.cfg - reads digis from an EDM file and creates fake GCT raw data records (ie FEDRawData format)
  • gctRawToDigi.cfg - reads raw data from an EDM file and creates GCT digis

GCT RawToDigi module

The GctBlockUnpacker class recognises blocks and converts them to digis. The outputted digis - in C++ parlance - are:

  produces<L1CaloEmCollection>();
  produces<L1CaloRegionCollection>();
  produces<L1GctEmCandCollection>("isoEm");
  produces<L1GctEmCandCollection>("nonIsoEm");
  produces<L1GctInternEmCandCollection>();
  produces<L1GctJetCandCollection>("cenJets");
  produces<L1GctJetCandCollection>("forJets");
  produces<L1GctJetCandCollection>("tauJets");
  produces<L1GctEtTotal>();
  produces<L1GctEtHad>();
  produces<L1GctEtMiss>();
  produces<L1GctJetCounts>();
  produces<L1GctFibreCollection>();

The following config file parameters are available:

  untracked bool verbose = false          // Unpack verbosity
  bool hltMode = false                    // Only unpacks bx=0 of the GCT output to GT. All other data is skipped
  bool grenCompatibilityMode = false      // For reading older data (GREN era)
  untracked bool unpackEm = true          // GCT Electron Candidate output
  untracked bool unpackJets = true        // GCT Jet output (Jet cands + counts)
  untracked bool unpackEtSums = true      // GCT Energy Sums output
  untracked bool unpackInternEm = false   // Internal GCT EM cands (for hardware debug)
  untracked bool unpackRct = true         // RCT output data (Calo regions + RCT electron cands.)
  untracked bool unpackFibres = false     // Fibre data (hardware debug)

-- RobertFrazier - 11 Apr 2008

Topic attachments
I Attachment History Action Size Date Who Comment
Microsoft Excel Spreadsheetxls Pipeline_Format_v17.xls r1 manage 76.0 K 2008-02-04 - 16:21 RobertFrazier Latest and greatest as of 17 Jan 08.
Microsoft Excel Spreadsheetxls Pipeline_Format_v20.xls r1 manage 85.5 K 2008-02-20 - 21:02 RobertFrazier Pipe format for CMSSW_2_0_X
Microsoft Excel Spreadsheetxls Pipeline_Format_v22.xls r1 manage 106.0 K 2008-03-20 - 14:59 RobertFrazier Pipe Format release by Greg on 20-03-08. Contains new data on ConcElec/Jet input pipes 0x680/x580
Microsoft Excel Spreadsheetxls Pipeline_Format_v24_0.xls r1 manage 114.0 K 2008-06-24 - 18:05 RobertFrazier Pipeline Format V24
Microsoft Excel Spreadsheetxls Pipeline_Format_v25_0.xls r1 manage 116.5 K 2008-06-24 - 18:05 RobertFrazier Pipeline Format V25
Microsoft Excel Spreadsheetxls Pipeline_Format_v27_1.xls r1 manage 135.5 K 2008-06-24 - 18:07 RobertFrazier Pipeline Format V27.1 - Released on 24 June 2008
Microsoft Excel Spreadsheetxls Pipeline_Format_v3.xls r1 manage 28.5 K 2007-02-16 - 13:44 JimBrooke GCT DAQ Record definitions
Microsoft Excel Spreadsheetxls Pipeline_Format_v4.xls r1 manage 30.0 K 2007-02-20 - 11:08 JimBrooke GCT event record definition
Microsoft Excel Spreadsheetxls Pipeline_Format_v7.xls r1 manage 34.0 K 2007-07-06 - 13:48 JimBrooke  
Microsoft Excel Spreadsheetxls Pipeline_Format_v9.2.xls r1 manage 57.5 K 2008-02-04 - 16:19 RobertFrazier Pipeline formats for CMSSW_1_8_X
Microsoft Excel Spreadsheetxls Pipeline_Format_v9.xls r1 manage 40.5 K 2007-10-23 - 10:23 RobertFrazier GCT event record definition v9
Microsoft Excel Spreadsheetxls Pipeline_Format_v9_1.xls r1 manage 40.5 K 2007-10-23 - 10:37 RobertFrazier GCT event record definition v9.1
Edit | Attach | Watch | Print version | History: r33 < r32 < r31 < r30 < r29 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r33 - 2010-04-13 - JimBrooke
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CMSPublic All webs login

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