CMS 3D CMS Logo

DTHVHandler.h
Go to the documentation of this file.
1 #ifndef DTHVHandler_H
2 #define DTHVHandler_H
3 
14 //----------------------
15 // Base Class Headers --
16 //----------------------
17 
18 //------------------------------------
19 // Collaborating Class Declarations --
20 //------------------------------------
21 class DTHVStatus;
22 class DTChamberId;
23 //class DTLayerId;
24 class DTWireId;
25 //class DTGeometry;
26 
27 //---------------
28 // C++ Headers --
29 //---------------
30 #include <string>
31 #include <vector>
32 
33 // ---------------------
34 // -- Class Interface --
35 // ---------------------
36 
37 class DTHVHandler {
38 public:
41  DTHVHandler();
42  DTHVHandler(const DTHVStatus* dbObject);
43  // DTHVHandler( const DTHVStatus* dbObject,
44  // const DTGeometry* geometry );
45 
48  ~DTHVHandler();
49 
52  int get(const DTWireId& id, int& flagA, int& flagC, int& flagS) const;
54  int offChannelsNumber() const;
55  int offChannelsNumber(const DTChamberId& id) const;
57  const DTHVStatus* getDBObject() const;
58 
59 private:
61  // const DTGeometry* dtGeomPtr;
62 
63  // int findLayerPart( const DTWireId& id ) const;
64  // int getLayerEdges( const DTLayerId& id,
65  // int& fCell, int& lCell ) const;
66  // int getLayerEdges( const DTLayerId& id, int part,
67  // int& fCell, int& lCell ) const;
68 };
69 
70 #endif // DTHVHandler_H
DTHVHandler
Definition: DTHVHandler.h:37
DTHVHandler::offChannelsNumber
int offChannelsNumber() const
Definition: DTHVHandler.cc:87
DTWireId
Definition: DTWireId.h:12
DTHVHandler::DTHVHandler
DTHVHandler()
Definition: DTHVHandler.cc:36
DTHVHandler::get
int get(const DTWireId &id, int &flagA, int &flagC, int &flagS) const
get content
Definition: DTHVHandler.cc:55
DTHVStatus
Definition: DTHVStatus.h:70
DTHVHandler::objectPtr
const DTHVStatus * objectPtr
Definition: DTHVHandler.h:60
DTChamberId
Definition: DTChamberId.h:14
DTHVHandler::getDBObject
const DTHVStatus * getDBObject() const
access db object
DTHVHandler::~DTHVHandler
~DTHVHandler()
Definition: DTHVHandler.cc:50