CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Types | Protected Member Functions | Private Attributes | Static Private Attributes
GctFormatTranslateBase Class Referenceabstract

Abstract interface for RawToDigi/DigiToRaw conversions of GCT data. More...

#include <GctFormatTranslateBase.h>

Inheritance diagram for GctFormatTranslateBase:
GctFormatTranslateMCLegacy GctFormatTranslateV35 GctFormatTranslateV38

Public Member Functions

virtual bool convertBlock (const unsigned char *d, const GctBlockHeader &hdr)=0
 Get digis from the block - will return true if it succeeds, false otherwise. More...
 
 GctFormatTranslateBase (bool hltMode=false, bool unpackSharedRegions=false)
 Constructor. More...
 
virtual GctBlockHeader generateBlockHeader (const unsigned char *data) const =0
 Generate a block header from four 8-bit values. More...
 
const std::string & getBlockDescription (const GctBlockHeader &header) const
 Get block description. More...
 
void setPackingBxId (uint32_t bxId)
 
void setPackingEventId (uint32_t eventId)
 
void setUnpackCollections (GctUnpackCollections *const collections)
 Set the pointer to the unpack collections. More...
 
virtual ~GctFormatTranslateBase ()
 Destructor. More...
 

Protected Types

typedef std::map< unsigned int, unsigned int > BlkToRctCrateMap
 Typedef for mapping block ID to RCT crate. More...
 
typedef std::map< unsigned int, IsoBoundaryPairBlockIdToEmCandIsoBoundMap
 A typdef for mapping Block IDs to IsoBoundaryPairs. More...
 
typedef std::map< unsigned int, unsigned int > BlockLengthMap
 Block ID to Block Length map. More...
 
typedef std::pair< unsigned int, unsigned int > BlockLengthPair
 Block ID/length pair. More...
 
typedef std::map< unsigned int, std::string > BlockNameMap
 Block ID to Block Description map. More...
 
typedef std::pair< unsigned int, std::string > BlockNamePair
 Block ID/Description pair. More...
 
enum  EmCandCatagory { NON_ISO_EM_CANDS, ISO_EM_CANDS, NUM_EM_CAND_CATEGORIES }
 An enum of the EM candidate types. More...
 
typedef std::pair< unsigned int, unsigned int > IsoBoundaryPair
 
enum  JetCandCategory { TAU_JETS, FORWARD_JETS, CENTRAL_JETS, NUM_JET_CATEGORIES }
 Useful enumeration for jet candidate pack/unpack. More...
 

Protected Member Functions

void blockDoNothing (const unsigned char *d, const GctBlockHeader &hdr)
 The null unpack function - obviously common to all formats. More...
 
virtual const BlockLengthMapblockLengthMap () const =0
 get the static block ID to block-length map. More...
 
virtual const BlockNameMapblockNameMap () const =0
 get the static block ID to blockname map. More...
 
bool checkBlock (const GctBlockHeader &hdr) const
 Performs checks on the block header to see if the block is possible to unpack or not. More...
 
GctUnpackCollections *const colls () const
 Protected access to the GCT Unpack Collections. More...
 
L1GctJetCandCollection *const gctJets (const unsigned cat) const
 Get a specific jet candandiate collection using the JetCandCategory enumeration. More...
 
virtual uint32_t generateRawHeader (const uint32_t blockId, const uint32_t nSamples, const uint32_t bxId, const uint32_t eventId) const =0
 Returns a raw 32-bit header word generated from the blockId, number of time samples, bunch-crossing and event IDs. More...
 
bool hltMode () const
 Protected interface to get HLT optimisation mode flag. More...
 
virtual const BlockIdToEmCandIsoBoundMapinternEmIsoBounds () const =0
 get the static intern EM cand isolated boundary map. More...
 
const uint32_t packingBxId () const
 Get the BxId to be used when packing data. More...
 
const uint32_t packingEventId () const
 Get the EventId to be used when packing data. More...
 
virtual const BlkToRctCrateMaprctEmCrateMap () const =0
 get static the block ID to RCT crate map for electrons. More...
 
virtual const BlkToRctCrateMaprctJetCrateMap () const =0
 get the static block ID to RCT crate map for jets More...
 
const SourceCardRoutingsrcCardRouting () const
 Protected interface to the unpackSharedRegions commissioning option. More...
 
bool unpackSharedRegions () const
 
void writeRawHeader (unsigned char *data, uint32_t blockId, uint32_t nSamples) const
 Writes a raw block header into the raw data array for a given block ID and number of time-samples. More...
 

Private Attributes

GctUnpackCollectionsm_collections
 Pointer to the output collections object. More...
 
bool m_hltMode
 If true, unpack only BX zero and GCT output data (i.e. to run as quickly as possible) More...
 
uint32_t m_packingBxId
 The bunch-crossing ID to be used by the data packing methods. More...
 
uint32_t m_packingEventId
 The event ID to be used by the data packing methods. More...
 
SourceCardRouting m_srcCardRouting
 Source card mapping info. More...
 
bool m_unpackSharedRegions
 If true, the shared RCT Calo regions will be unpacked also. More...
 

Static Private Attributes

static const std::string INVALID_BLOCK_HEADER_STR = "UNKNOWN/INVALID BLOCK HEADER"
 

Detailed Description

Abstract interface for RawToDigi/DigiToRaw conversions of GCT data.

This class provides the common interface/functionality for the various concrete classes that can translate to/from specific RAW formats.

Author
Robert Frazier

Definition at line 25 of file GctFormatTranslateBase.h.

Member Typedef Documentation

◆ BlkToRctCrateMap

typedef std::map<unsigned int, unsigned int> GctFormatTranslateBase::BlkToRctCrateMap
protected

Typedef for mapping block ID to RCT crate.

Definition at line 69 of file GctFormatTranslateBase.h.

◆ BlockIdToEmCandIsoBoundMap

typedef std::map<unsigned int, IsoBoundaryPair> GctFormatTranslateBase::BlockIdToEmCandIsoBoundMap
protected

A typdef for mapping Block IDs to IsoBoundaryPairs.

Definition at line 79 of file GctFormatTranslateBase.h.

◆ BlockLengthMap

typedef std::map<unsigned int, unsigned int> GctFormatTranslateBase::BlockLengthMap
protected

Block ID to Block Length map.

Definition at line 63 of file GctFormatTranslateBase.h.

◆ BlockLengthPair

typedef std::pair<unsigned int, unsigned int> GctFormatTranslateBase::BlockLengthPair
protected

Block ID/length pair.

Definition at line 64 of file GctFormatTranslateBase.h.

◆ BlockNameMap

typedef std::map<unsigned int, std::string> GctFormatTranslateBase::BlockNameMap
protected

Block ID to Block Description map.

Definition at line 65 of file GctFormatTranslateBase.h.

◆ BlockNamePair

typedef std::pair<unsigned int, std::string> GctFormatTranslateBase::BlockNamePair
protected

Block ID/Description pair.

Definition at line 66 of file GctFormatTranslateBase.h.

◆ IsoBoundaryPair

typedef std::pair<unsigned int, unsigned int> GctFormatTranslateBase::IsoBoundaryPair
protected

A typedef that holds the inclusive lower and upper bounds of pipeline gct trigger object pair number for isolated EM candidates. I.e. if the first and second trig object pair in the pipeline payload are isolated cands (4 iso in total), then the IsoBoundaryPair would be (0,1).

Definition at line 76 of file GctFormatTranslateBase.h.

Member Enumeration Documentation

◆ EmCandCatagory

An enum of the EM candidate types.

Note that the order here mimicks the order in the RAW data format.

Enumerator
NON_ISO_EM_CANDS 
ISO_EM_CANDS 
NUM_EM_CAND_CATEGORIES 

Definition at line 57 of file GctFormatTranslateBase.h.

◆ JetCandCategory

Useful enumeration for jet candidate pack/unpack.

Note that the order here mimicks the order in the RAW data format.

Enumerator
TAU_JETS 
FORWARD_JETS 
CENTRAL_JETS 
NUM_JET_CATEGORIES 

Definition at line 61 of file GctFormatTranslateBase.h.

Constructor & Destructor Documentation

◆ GctFormatTranslateBase()

GctFormatTranslateBase::GctFormatTranslateBase ( bool  hltMode = false,
bool  unpackSharedRegions = false 
)
explicit

Constructor.

Parameters
hltMode- set true to unpack only BX zero and GCT output data (i.e. to run as quick as possible).
unpackSharedRegions- this is a commissioning option to unpack the shared RCT calo regions.

Definition at line 11 of file GctFormatTranslateBase.cc.

◆ ~GctFormatTranslateBase()

GctFormatTranslateBase::~GctFormatTranslateBase ( )
virtual

Destructor.

Definition at line 19 of file GctFormatTranslateBase.cc.

19 {}

Member Function Documentation

◆ blockDoNothing()

void GctFormatTranslateBase::blockDoNothing ( const unsigned char *  d,
const GctBlockHeader hdr 
)
inlineprotected

The null unpack function - obviously common to all formats.

Definition at line 128 of file GctFormatTranslateBase.h.

128 {}

◆ blockLengthMap()

virtual const BlockLengthMap& GctFormatTranslateBase::blockLengthMap ( ) const
protectedpure virtual

get the static block ID to block-length map.

Implemented in GctFormatTranslateMCLegacy, GctFormatTranslateV38, and GctFormatTranslateV35.

◆ blockNameMap()

virtual const BlockNameMap& GctFormatTranslateBase::blockNameMap ( ) const
protectedpure virtual

get the static block ID to blockname map.

Implemented in GctFormatTranslateMCLegacy, GctFormatTranslateV38, and GctFormatTranslateV35.

Referenced by getBlockDescription().

◆ checkBlock()

bool GctFormatTranslateBase::checkBlock ( const GctBlockHeader hdr) const
protected

Performs checks on the block header to see if the block is possible to unpack or not.

Definition at line 47 of file GctFormatTranslateBase.cc.

47  {
48  // check block is valid
49  if (!hdr.valid()) {
50  LogDebug("GCT") << "Block unpack error: cannot unpack the following unknown/invalid block:\n" << hdr;
51  return false;
52  }
53 
54  // check block doesn't have too many time samples
55  if (hdr.nSamples() >= 0xf) {
56  LogDebug("GCT") << "Block unpack error: cannot unpack a block with 15 or more time samples:\n" << hdr;
57  return false;
58  }
59  return true;
60 }

References LogDebug, GctBlockHeader::nSamples(), and GctBlockHeader::valid().

Referenced by GctFormatTranslateV35::convertBlock(), GctFormatTranslateV38::convertBlock(), and GctFormatTranslateMCLegacy::convertBlock().

◆ colls()

GctUnpackCollections* const GctFormatTranslateBase::colls ( ) const
inlineprotected

Protected access to the GCT Unpack Collections.

Definition at line 97 of file GctFormatTranslateBase.h.

References m_collections.

Referenced by GctFormatTranslateMCLegacy::blockToAllRctCaloRegions(), GctFormatTranslateV35::blockToFibres(), GctFormatTranslateV38::blockToFibres(), GctFormatTranslateMCLegacy::blockToFibres(), GctFormatTranslateV35::blockToGctEmCandsAndEnergySums(), GctFormatTranslateV38::blockToGctEmCandsAndEnergySums(), GctFormatTranslateMCLegacy::blockToGctEmCandsAndEnergySums(), GctFormatTranslateV35::blockToGctInternEmCand(), GctFormatTranslateV38::blockToGctInternEmCand(), GctFormatTranslateV35::blockToGctInternEtSums(), GctFormatTranslateV38::blockToGctInternEtSums(), GctFormatTranslateV35::blockToGctInternEtSumsAndJetCluster(), GctFormatTranslateV38::blockToGctInternEtSumsAndJetCluster(), GctFormatTranslateV38::blockToGctInternHtMissPostWheel(), GctFormatTranslateV38::blockToGctInternHtMissPreWheel(), GctFormatTranslateV35::blockToGctInternRingSums(), GctFormatTranslateV38::blockToGctInternRingSums(), GctFormatTranslateV35::blockToGctJetCandsAndCounts(), GctFormatTranslateV38::blockToGctJetCandsAndCounts(), GctFormatTranslateMCLegacy::blockToGctJetCandsAndCounts(), GctFormatTranslateV35::blockToGctJetClusterMinimal(), GctFormatTranslateV38::blockToGctJetClusterMinimal(), GctFormatTranslateV35::blockToGctJetPreCluster(), GctFormatTranslateV38::blockToGctJetPreCluster(), GctFormatTranslateV35::blockToGctTrigObjects(), GctFormatTranslateV38::blockToGctTrigObjects(), GctFormatTranslateV35::blockToGctWheelInputInternEtAndRingSums(), GctFormatTranslateV38::blockToGctWheelInputInternEtAndRingSums(), GctFormatTranslateV35::blockToGctWheelOutputInternEtAndRingSums(), GctFormatTranslateV38::blockToGctWheelOutputInternEtAndRingSums(), GctFormatTranslateV35::blockToRctCaloRegions(), GctFormatTranslateV38::blockToRctCaloRegions(), GctFormatTranslateV35::blockToRctEmCand(), GctFormatTranslateV38::blockToRctEmCand(), GctFormatTranslateMCLegacy::blockToRctEmCand(), and gctJets().

◆ convertBlock()

virtual bool GctFormatTranslateBase::convertBlock ( const unsigned char *  d,
const GctBlockHeader hdr 
)
pure virtual

Get digis from the block - will return true if it succeeds, false otherwise.

Implemented in GctFormatTranslateMCLegacy, GctFormatTranslateV38, and GctFormatTranslateV35.

Referenced by GctRawToDigi::unpack().

◆ gctJets()

L1GctJetCandCollection *const GctFormatTranslateBase::gctJets ( const unsigned  cat) const
protected

Get a specific jet candandiate collection using the JetCandCategory enumeration.

Definition at line 30 of file GctFormatTranslateBase.cc.

30  {
31  switch (cat) {
32  case TAU_JETS:
33  return colls()->gctTauJets();
34  case FORWARD_JETS:
35  return colls()->gctForJets();
36  default:
37  return colls()->gctCenJets();
38  }
39 }

References eostools::cat(), colls(), FORWARD_JETS, GctUnpackCollections::gctCenJets(), GctUnpackCollections::gctForJets(), GctUnpackCollections::gctTauJets(), and TAU_JETS.

Referenced by GctFormatTranslateV35::blockToGctJetCandsAndCounts(), GctFormatTranslateV38::blockToGctJetCandsAndCounts(), and GctFormatTranslateMCLegacy::blockToGctJetCandsAndCounts().

◆ generateBlockHeader()

virtual GctBlockHeader GctFormatTranslateBase::generateBlockHeader ( const unsigned char *  data) const
pure virtual

Generate a block header from four 8-bit values.

Implemented in GctFormatTranslateMCLegacy, GctFormatTranslateV38, and GctFormatTranslateV35.

Referenced by GctRawToDigi::unpack().

◆ generateRawHeader()

virtual uint32_t GctFormatTranslateBase::generateRawHeader ( const uint32_t  blockId,
const uint32_t  nSamples,
const uint32_t  bxId,
const uint32_t  eventId 
) const
protectedpure virtual

Returns a raw 32-bit header word generated from the blockId, number of time samples, bunch-crossing and event IDs.

Implemented in GctFormatTranslateMCLegacy, GctFormatTranslateV38, and GctFormatTranslateV35.

Referenced by writeRawHeader().

◆ getBlockDescription()

const std::string & GctFormatTranslateBase::getBlockDescription ( const GctBlockHeader header) const

Get block description.

Definition at line 21 of file GctFormatTranslateBase.cc.

21  {
22  if (!header.valid()) {
24  }
25  return blockNameMap().find(header.blockId())->second;
26 }

References blockNameMap(), RecoTauValidation_cfi::header, INVALID_BLOCK_HEADER_STR, and edm::second().

Referenced by GctRawToDigi::doVerboseOutput().

◆ hltMode()

bool GctFormatTranslateBase::hltMode ( ) const
inlineprotected

Protected interface to get HLT optimisation mode flag.

Definition at line 100 of file GctFormatTranslateBase.h.

References m_hltMode.

Referenced by GctFormatTranslateMCLegacy::blockToAllRctCaloRegions(), GctFormatTranslateV35::blockToFibres(), GctFormatTranslateV38::blockToFibres(), GctFormatTranslateMCLegacy::blockToFibres(), GctFormatTranslateV35::blockToGctEmCandsAndEnergySums(), GctFormatTranslateMCLegacy::blockToGctEmCandsAndEnergySums(), GctFormatTranslateV35::blockToGctInternEmCand(), GctFormatTranslateV38::blockToGctInternEmCand(), GctFormatTranslateV35::blockToGctInternEtSums(), GctFormatTranslateV38::blockToGctInternEtSums(), GctFormatTranslateV35::blockToGctInternEtSumsAndJetCluster(), GctFormatTranslateV38::blockToGctInternEtSumsAndJetCluster(), GctFormatTranslateV38::blockToGctInternHtMissPostWheel(), GctFormatTranslateV38::blockToGctInternHtMissPreWheel(), GctFormatTranslateV35::blockToGctInternRingSums(), GctFormatTranslateV38::blockToGctInternRingSums(), GctFormatTranslateV35::blockToGctJetCandsAndCounts(), GctFormatTranslateMCLegacy::blockToGctJetCandsAndCounts(), GctFormatTranslateV35::blockToGctJetClusterMinimal(), GctFormatTranslateV38::blockToGctJetClusterMinimal(), GctFormatTranslateV35::blockToGctJetPreCluster(), GctFormatTranslateV38::blockToGctJetPreCluster(), GctFormatTranslateV35::blockToGctTrigObjects(), GctFormatTranslateV38::blockToGctTrigObjects(), GctFormatTranslateV35::blockToGctWheelInputInternEtAndRingSums(), GctFormatTranslateV38::blockToGctWheelInputInternEtAndRingSums(), GctFormatTranslateV35::blockToGctWheelOutputInternEtAndRingSums(), GctFormatTranslateV38::blockToGctWheelOutputInternEtAndRingSums(), GctFormatTranslateV35::blockToRctCaloRegions(), GctFormatTranslateV38::blockToRctCaloRegions(), GctFormatTranslateV35::blockToRctEmCand(), GctFormatTranslateV38::blockToRctEmCand(), and GctFormatTranslateMCLegacy::blockToRctEmCand().

◆ internEmIsoBounds()

virtual const BlockIdToEmCandIsoBoundMap& GctFormatTranslateBase::internEmIsoBounds ( ) const
protectedpure virtual

get the static intern EM cand isolated boundary map.

Implemented in GctFormatTranslateMCLegacy, GctFormatTranslateV38, and GctFormatTranslateV35.

◆ packingBxId()

const uint32_t GctFormatTranslateBase::packingBxId ( ) const
inlineprotected

Get the BxId to be used when packing data.

Definition at line 107 of file GctFormatTranslateBase.h.

References m_packingBxId.

Referenced by writeRawHeader().

◆ packingEventId()

const uint32_t GctFormatTranslateBase::packingEventId ( ) const
inlineprotected

Get the EventId to be used when packing data.

Definition at line 108 of file GctFormatTranslateBase.h.

References m_packingEventId.

Referenced by writeRawHeader().

◆ rctEmCrateMap()

virtual const BlkToRctCrateMap& GctFormatTranslateBase::rctEmCrateMap ( ) const
protectedpure virtual

get static the block ID to RCT crate map for electrons.

Implemented in GctFormatTranslateMCLegacy, GctFormatTranslateV38, and GctFormatTranslateV35.

◆ rctJetCrateMap()

virtual const BlkToRctCrateMap& GctFormatTranslateBase::rctJetCrateMap ( ) const
protectedpure virtual

get the static block ID to RCT crate map for jets

Implemented in GctFormatTranslateMCLegacy, GctFormatTranslateV38, and GctFormatTranslateV35.

◆ setPackingBxId()

void GctFormatTranslateBase::setPackingBxId ( uint32_t  bxId)
inline

Definition at line 38 of file GctFormatTranslateBase.h.

38 { m_packingBxId = bxId; }

References m_packingBxId.

Referenced by GctDigiToRaw::produce().

◆ setPackingEventId()

void GctFormatTranslateBase::setPackingEventId ( uint32_t  eventId)
inline

Definition at line 41 of file GctFormatTranslateBase.h.

41 { m_packingEventId = eventId; }

References m_packingEventId.

Referenced by GctDigiToRaw::produce().

◆ setUnpackCollections()

void GctFormatTranslateBase::setUnpackCollections ( GctUnpackCollections *const  collections)
inline

Set the pointer to the unpack collections.

Definition at line 35 of file GctFormatTranslateBase.h.

References oniaPATMuonsWithTrigger_cff::collections, and m_collections.

Referenced by GctRawToDigi::unpack().

◆ srcCardRouting()

const SourceCardRouting& GctFormatTranslateBase::srcCardRouting ( ) const
inlineprotected

Protected interface to the unpackSharedRegions commissioning option.

Protected access to SourceCardRouting.

Definition at line 104 of file GctFormatTranslateBase.h.

References m_srcCardRouting.

Referenced by GctFormatTranslateV35::blockToRctEmCand(), GctFormatTranslateV38::blockToRctEmCand(), GctFormatTranslateMCLegacy::blockToRctEmCand(), and GctFormatTranslateMCLegacy::writeRctEmCandBlocks().

◆ unpackSharedRegions()

bool GctFormatTranslateBase::unpackSharedRegions ( ) const
inlineprotected

Definition at line 101 of file GctFormatTranslateBase.h.

101  {
102  return m_unpackSharedRegions;
103  }

References m_unpackSharedRegions.

Referenced by GctFormatTranslateV38::blockToRctCaloRegions().

◆ writeRawHeader()

void GctFormatTranslateBase::writeRawHeader ( unsigned char *  data,
uint32_t  blockId,
uint32_t  nSamples 
) const
protected

Writes a raw block header into the raw data array for a given block ID and number of time-samples.

BxId and EventId values for the raw header are set via the setPackingBxId() and setPackingEventId() methods.

Definition at line 41 of file GctFormatTranslateBase.cc.

41  {
42  uint32_t hdr = generateRawHeader(blockId, nSamples, packingBxId(), packingEventId());
43  uint32_t* p = reinterpret_cast<uint32_t*>(const_cast<unsigned char*>(data));
44  *p = hdr;
45 }

References data, generateRawHeader(), PresampleTask_cfi::nSamples, AlCaHLTBitMon_ParallelJobs::p, packingBxId(), and packingEventId().

Referenced by GctFormatTranslateMCLegacy::writeAllRctCaloRegionBlock(), GctFormatTranslateMCLegacy::writeGctOutEmAndEnergyBlock(), GctFormatTranslateMCLegacy::writeGctOutJetBlock(), and GctFormatTranslateMCLegacy::writeRctEmCandBlocks().

Member Data Documentation

◆ INVALID_BLOCK_HEADER_STR

const std::string GctFormatTranslateBase::INVALID_BLOCK_HEADER_STR = "UNKNOWN/INVALID BLOCK HEADER"
staticprivate

Definition at line 132 of file GctFormatTranslateBase.h.

Referenced by getBlockDescription().

◆ m_collections

GctUnpackCollections* GctFormatTranslateBase::m_collections
private

Pointer to the output collections object.

Definition at line 137 of file GctFormatTranslateBase.h.

Referenced by colls(), and setUnpackCollections().

◆ m_hltMode

bool GctFormatTranslateBase::m_hltMode
private

If true, unpack only BX zero and GCT output data (i.e. to run as quickly as possible)

Definition at line 140 of file GctFormatTranslateBase.h.

Referenced by hltMode().

◆ m_packingBxId

uint32_t GctFormatTranslateBase::m_packingBxId
private

The bunch-crossing ID to be used by the data packing methods.

Definition at line 150 of file GctFormatTranslateBase.h.

Referenced by packingBxId(), and setPackingBxId().

◆ m_packingEventId

uint32_t GctFormatTranslateBase::m_packingEventId
private

The event ID to be used by the data packing methods.

Definition at line 153 of file GctFormatTranslateBase.h.

Referenced by packingEventId(), and setPackingEventId().

◆ m_srcCardRouting

SourceCardRouting GctFormatTranslateBase::m_srcCardRouting
private

Source card mapping info.

Definition at line 147 of file GctFormatTranslateBase.h.

Referenced by srcCardRouting().

◆ m_unpackSharedRegions

bool GctFormatTranslateBase::m_unpackSharedRegions
private

If true, the shared RCT Calo regions will be unpacked also.

This is a commissioning option only - may not be relevant to all concrete implementations!

Definition at line 144 of file GctFormatTranslateBase.h.

Referenced by unpackSharedRegions().

GctBlockHeader::valid
bool valid() const
Returns true if it's valid block header - i.e. if the header is known and can be unpacked.
Definition: GctBlockHeader.h:42
GctFormatTranslateBase::FORWARD_JETS
Definition: GctFormatTranslateBase.h:61
GctFormatTranslateBase::m_packingBxId
uint32_t m_packingBxId
The bunch-crossing ID to be used by the data packing methods.
Definition: GctFormatTranslateBase.h:150
GctFormatTranslateBase::m_hltMode
bool m_hltMode
If true, unpack only BX zero and GCT output data (i.e. to run as quickly as possible)
Definition: GctFormatTranslateBase.h:140
GctFormatTranslateBase::NUM_JET_CATEGORIES
Definition: GctFormatTranslateBase.h:61
GctUnpackCollections::gctTauJets
L1GctJetCandCollection *const gctTauJets() const
GCT output: Tau Jets collection.
Definition: GctUnpackCollections.h:66
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
eostools.cat
def cat(path)
Definition: eostools.py:401
GctFormatTranslateBase::packingBxId
const uint32_t packingBxId() const
Get the BxId to be used when packing data.
Definition: GctFormatTranslateBase.h:107
GctFormatTranslateBase::unpackSharedRegions
bool unpackSharedRegions() const
Definition: GctFormatTranslateBase.h:101
edm::second
U second(std::pair< T, U > const &p)
Definition: ParameterSet.cc:215
PresampleTask_cfi.nSamples
nSamples
Definition: PresampleTask_cfi.py:7
GctFormatTranslateBase::m_unpackSharedRegions
bool m_unpackSharedRegions
If true, the shared RCT Calo regions will be unpacked also.
Definition: GctFormatTranslateBase.h:144
GctFormatTranslateBase::packingEventId
const uint32_t packingEventId() const
Get the EventId to be used when packing data.
Definition: GctFormatTranslateBase.h:108
GctFormatTranslateBase::m_packingEventId
uint32_t m_packingEventId
The event ID to be used by the data packing methods.
Definition: GctFormatTranslateBase.h:153
oniaPATMuonsWithTrigger_cff.collections
collections
Definition: oniaPATMuonsWithTrigger_cff.py:37
GctFormatTranslateBase::hltMode
bool hltMode() const
Protected interface to get HLT optimisation mode flag.
Definition: GctFormatTranslateBase.h:100
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:670
GctUnpackCollections::gctForJets
L1GctJetCandCollection *const gctForJets() const
GCT output: Forward Jets collection.
Definition: GctUnpackCollections.h:63
GctFormatTranslateBase::m_collections
GctUnpackCollections * m_collections
Pointer to the output collections object.
Definition: GctFormatTranslateBase.h:137
GctFormatTranslateBase::CENTRAL_JETS
Definition: GctFormatTranslateBase.h:61
GctFormatTranslateBase::colls
GctUnpackCollections *const colls() const
Protected access to the GCT Unpack Collections.
Definition: GctFormatTranslateBase.h:97
GctFormatTranslateBase::blockNameMap
virtual const BlockNameMap & blockNameMap() const =0
get the static block ID to blockname map.
GctFormatTranslateBase::generateRawHeader
virtual uint32_t generateRawHeader(const uint32_t blockId, const uint32_t nSamples, const uint32_t bxId, const uint32_t eventId) const =0
Returns a raw 32-bit header word generated from the blockId, number of time samples,...
GctFormatTranslateBase::TAU_JETS
Definition: GctFormatTranslateBase.h:61
GctBlockHeader::nSamples
uint32_t nSamples() const
Get the number of time samples.
Definition: GctBlockHeader.h:33
GctFormatTranslateBase::m_srcCardRouting
SourceCardRouting m_srcCardRouting
Source card mapping info.
Definition: GctFormatTranslateBase.h:147
GctFormatTranslateBase::ISO_EM_CANDS
Definition: GctFormatTranslateBase.h:57
GctFormatTranslateBase::NON_ISO_EM_CANDS
Definition: GctFormatTranslateBase.h:57
GctFormatTranslateBase::NUM_EM_CAND_CATEGORIES
Definition: GctFormatTranslateBase.h:57
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
GctUnpackCollections::gctCenJets
L1GctJetCandCollection *const gctCenJets() const
GCT output: Central Jets collection.
Definition: GctUnpackCollections.h:60
RecoTauValidation_cfi.header
header
Definition: RecoTauValidation_cfi.py:292
GctFormatTranslateBase::INVALID_BLOCK_HEADER_STR
static const std::string INVALID_BLOCK_HEADER_STR
Definition: GctFormatTranslateBase.h:132