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
const DTHVStatus * getDBObject() const
access db object
int offChannelsNumber() const
Definition: DTHVHandler.cc:87
const DTHVStatus * objectPtr
Definition: DTHVHandler.h:60