CMS 3D CMS Logo

GTRecordGroup.h
Go to the documentation of this file.
1 #ifndef CondTools_L1Trigger_GTRecordGroup_h
2 #define CondTools_L1Trigger_GTRecordGroup_h
3 // -*- C++ -*-
4 //
5 // Package: L1Trigger
6 // Class : T1GlobalTriggerGroup
7 //
8 /*
9  Description: Overriding definitions for RecordHelpers to correctly
10  deal with the global trigger / global muon trigger
11  OMDS database layouts. Designate record types as belonging
12  to this group via
13 
14  RH_ASSIGN_GROUP(RecordType, TGlobalTriggerGroup)
15 
16  in namespace scope.
17 */
18 
19 
22 class TGlobalTriggerGroup;
23 
24 /* Keep the default behaviour for most types. */
25 template <typename TOutput,
26  typename TCType>
27 struct GroupFieldHandler<TOutput, TGlobalTriggerGroup, TCType> {
29  };
30 
31 /* But bool field are stored as '0'/'1' chars in the database*/
32 template <typename TOutput>
33 struct GroupFieldHandler<TOutput, TGlobalTriggerGroup, bool> {
35  };
36 
37 /* But int field are stored as short in the database*/
38 template <typename TOutput>
39 struct GroupFieldHandler<TOutput, TGlobalTriggerGroup, int> {
41  };
42 
43 /* But unsigned int field are stored as short in the database*/
44 template <typename TOutput>
45 struct GroupFieldHandler<TOutput, TGlobalTriggerGroup, unsigned int> {
47  };
48 
49 #endif // CondTools_L1Trigger_GTRecordGroup_h
FieldHandler< TOutput, TCType, TCType > Type
Definition: GTRecordGroup.h:28
FieldHandler< TOutput, int, short > Type
Definition: GTRecordGroup.h:40
ASCIIBoolFieldHandler< TOutput, '0'> Type
Definition: GTRecordGroup.h:34
FieldHandler< TOutput, unsigned int, short > Type
Definition: GTRecordGroup.h:46