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 //------------------------------------
20 // Collaborating Class Declarations --
21 //------------------------------------
22 class DTHVStatus;
23 class DTChamberId;
24 //class DTLayerId;
25 class DTWireId;
26 //class DTGeometry;
27 
28 //---------------
29 // C++ Headers --
30 //---------------
31 #include <string>
32 #include <vector>
33 
34 // ---------------------
35 // -- Class Interface --
36 // ---------------------
37 
38 class DTHVHandler {
39 
40  public:
41 
44  DTHVHandler();
45  DTHVHandler( const DTHVStatus* dbObject );
46 // DTHVHandler( const DTHVStatus* dbObject,
47 // const DTGeometry* geometry );
48 
51  ~DTHVHandler();
52 
55  int get( const DTWireId& id,
57  int& flagA,
58  int& flagC,
59  int& flagS ) const;
60  int offChannelsNumber() const;
61  int offChannelsNumber( const DTChamberId& id ) const;
63  const DTHVStatus* getDBObject() const;
64 
65  private:
66 
68 // const DTGeometry* dtGeomPtr;
69 
70 // int findLayerPart( const DTWireId& id ) const;
71 // int getLayerEdges( const DTLayerId& id,
72 // int& fCell, int& lCell ) const;
73 // int getLayerEdges( const DTLayerId& id, int part,
74 // int& fCell, int& lCell ) const;
75 
76 };
77 
78 
79 #endif // DTHVHandler_H
80 
const DTHVStatus * getDBObject() const
access db object
int offChannelsNumber() const
Definition: DTHVHandler.cc:113
const DTHVStatus * objectPtr
Definition: DTHVHandler.h:67