Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:31:44

0001 #ifndef GUARD_cscmap1_H
0002 #define GUARD_cscmap1_H
0003 
0004 #include "CondFormats/CSCObjects/interface/CSCMapItem.h"
0005 #include <iostream>
0006 #include "OnlineDB/Oracle/interface/Oracle.h"
0007 #include <string>
0008 
0009 class cscmap1 {
0010 private:
0011   oracle::occi::Environment *env;
0012   oracle::occi::Connection *con;
0013 
0014 public:
0015   /**
0016    * Constructor for cscmap1
0017    */
0018   cscmap1() noexcept(false);
0019   /**
0020    * Destructor for cscmap1
0021    */
0022   ~cscmap1() noexcept(false);
0023 
0024   /* 'chamberid' is a decimal chamber identifier like 122090 */
0025   void chamber(int chamberid, CSCMapItem::MapItem *item);
0026 
0027   /* 'crate' is either crateid (1-60) or crate logical number,
0028    corresponding to position of crate: VME+1/11 -> 111
0029                                        VME-3/04 -> 234
0030      'dmb' : 1-5,7-10                                        */
0031   void cratedmb(int crate, int dmb, CSCMapItem::MapItem *item);
0032 
0033   /* 'rui' is a rui (ddu) number: 1-36
0034      'ddu_input' : 0-14                 */
0035   void ruiddu(int rui, int ddu_input, CSCMapItem::MapItem *item);
0036 
0037 };  // end of class cscmap1
0038 #endif