CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
21 class TGlobalTriggerGroup;
22 
23 /* Keep the default behaviour for most types. */
24 template <typename TOutput,
25  typename TCType>
26 struct GroupFieldHandler<TOutput, TGlobalTriggerGroup, TCType> {
28  };
29 
30 /* But bool field are stored as '0'/'1' chars in the database*/
31 template <typename TOutput>
32 struct GroupFieldHandler<TOutput, TGlobalTriggerGroup, bool> {
34  };
35 
36 /* But int field are stored as short in the database*/
37 template <typename TOutput>
38 struct GroupFieldHandler<TOutput, TGlobalTriggerGroup, int> {
40  };
41 
42 /* But unsigned int field are stored as short in the database*/
43 template <typename TOutput>
44 struct GroupFieldHandler<TOutput, TGlobalTriggerGroup, unsigned int> {
46  };
47 
48 #endif // CondTools_L1Trigger_GTRecordGroup_h
FieldHandler< TOutput, TCType, TCType > Type
Definition: GTRecordGroup.h:27
FieldHandler< TOutput, int, short > Type
Definition: GTRecordGroup.h:39
ASCIIBoolFieldHandler< TOutput, '0'> Type
Definition: GTRecordGroup.h:33
FieldHandler< TOutput, unsigned int, short > Type
Definition: GTRecordGroup.h:45