CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/OnlineDB/CSCCondDB/interface/CSCMap1.h

Go to the documentation of this file.
00001 #ifndef GUARD_cscmap1_H
00002 #define GUARD_cscmap1_H
00003 
00004 #include "CondFormats/CSCObjects/interface/CSCMapItem.h"
00005 #include <iostream>
00006 #include "OnlineDB/Oracle/interface/Oracle.h"
00007 #include <string>
00008 
00009 class cscmap1
00010 {
00011   private:
00012 
00013   oracle::occi::Environment *env;
00014   oracle::occi::Connection *con;
00015 
00016   public :
00020   cscmap1 () throw (oracle::occi::SQLException);
00024   ~cscmap1 () throw (oracle::occi::SQLException);
00025 
00026   /* 'chamberid' is a decimal chamber identifier like 122090 */
00027   void chamber (int chamberid, CSCMapItem::MapItem *item);
00028 
00029   /* 'crate' is either crateid (1-60) or crate logical number,
00030    corresponding to position of crate: VME+1/11 -> 111
00031                                        VME-3/04 -> 234
00032      'dmb' : 1-5,7-10                                        */
00033   void cratedmb (int crate, int dmb, CSCMapItem::MapItem *item);
00034 
00035   /* 'rui' is a rui (ddu) number: 1-36
00036      'ddu_input' : 0-14                 */
00037   void ruiddu (int rui, int ddu_input, CSCMapItem::MapItem *item);
00038 
00039 }; // end of class cscmap1
00040 #endif