- static const AliHLTMUONTriggerRecordStruct& NilTriggerRecordStruct()
- {
- return fgkNilTriggerRecordStruct;
- }
-
- static const AliHLTMUONTrigRecInfoStruct& NilTrigRecInfoStruct()
- {
- return fgkNilTrigRecInfoStruct;
- }
-
- static const AliHLTMUONTriggerChannelStruct& NilTriggerChannelStruct()
- {
- return fgkNilTriggerChannelStruct;
- }
-
- static const AliHLTMUONRecHitStruct& NilRecHitStruct()
- {
- return fgkNilRecHitStruct;
- }
-
- static const AliHLTMUONChannelStruct& NilChannelStruct()
- {
- return fgkNilChannelStruct;
- }
-
- static const AliHLTMUONClusterStruct& NilClusterStruct()
- {
- return fgkNilClusterStruct;
- }
-
- static const AliHLTMUONMansoTrackStruct& NilMansoTrackStruct()
- {
- return fgkNilMansoTrackStruct;
- }
-
- static const AliHLTMUONMansoRoIStruct& NilMansoRoIStruct()
- {
- return fgkNilMansoRoIStruct;
- }
-
- static const AliHLTMUONMansoCandidateStruct& NilMansoCandidateStruct()
- {
- return fgkNilMansoCandidateStruct;
- }
-
- static const AliHLTMUONTrackDecisionStruct& NilTrackDecisionStruct()
- {
- return fgkNilTrackDecisionStruct;
- }
-
- static const AliHLTMUONPairDecisionStruct& NilPairDecisionStruct()
- {
- return fgkNilPairDecisionStruct;
- }
-
- // Returns the raw data type for MUON DDLs. To figure out if the DDL format
- // will be for a tracking DDL or trigger DDL one needs to also check the
- // sepcification word of the input data block. If one of the first 20 least
- // significant bits are set then it is a tracker DDL otherwise if it is
- // the 21st or 22nd bit then it is from the muon trigger.
- static const AliHLTComponentDataType& DDLRawDataType()
- {
- return fgkDDLRawDataType;
- }
-
- static const AliHLTComponentDataType& TriggerRecordsBlockDataType()
- {
- return fgkTriggerRecordsBlockDataType;
- }
-
- static const AliHLTComponentDataType& TrigRecsDebugBlockDataType()
- {
- return fgkTrigRecsDebugBlockDataType;
- }
-
- static const AliHLTComponentDataType& TriggerChannelBlockDataType()
- {
- return fgkTriggerChannelBlockDataType;
- }
-
- static const AliHLTComponentDataType& RecHitsBlockDataType()
- {
- return fgkRecHitsBlockDataType;
- }
-
- static const AliHLTComponentDataType& ClusterBlockDataType()
- {
- return fgkClusterBlockDataType;
- }
-
- static const AliHLTComponentDataType& ChannelBlockDataType()
- {
- return fgkChannelBlockDataType;
- }
-
- static const AliHLTComponentDataType& MansoTracksBlockDataType()
- {
- return fgkMansoTracksBlockDataType;
- }
-
- static const AliHLTComponentDataType& MansoCandidatesBlockDataType()
- {
- return fgkMansoCandidatesBlockDataType;
- }
-
- static const AliHLTComponentDataType& SinglesDecisionBlockDataType()
- {
- return fgkSinglesDecisionBlockDataType;
- }
-
- static const AliHLTComponentDataType& PairsDecisionBlockDataType()
- {
- return fgkPairsDecisionBlockDataType;
- }
-
- static const char* RecHitsSourceId()
- {
- return fgkRecHitsSourceId;
- }
+ // The following methods return null/nil structures that can also be used as sentinels:
+ static const AliHLTMUONTriggerRecordStruct& NilTriggerRecordStruct();
+ static const AliHLTMUONTrigRecInfoStruct& NilTrigRecInfoStruct();
+ static const AliHLTMUONRecHitStruct& NilRecHitStruct();
+ static const AliHLTMUONChannelStruct& NilChannelStruct();
+ static const AliHLTMUONClusterStruct& NilClusterStruct();
+ static const AliHLTMUONMansoTrackStruct& NilMansoTrackStruct();
+ static const AliHLTMUONMansoRoIStruct& NilMansoRoIStruct();
+ static const AliHLTMUONMansoCandidateStruct& NilMansoCandidateStruct();
+ static const AliHLTMUONTrackStruct& NilTrackStruct();
+ static const AliHLTMUONTrackDecisionStruct& NilTrackDecisionStruct();
+ static const AliHLTMUONPairDecisionStruct& NilPairDecisionStruct();
+
+ // Methods returning HLT component input and output data block types: