Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:02:45

0001 #ifndef DTHVHandler_H
0002 #define DTHVHandler_H
0003 /** \class DTHVHandler
0004  *
0005  *  Description:
0006  *       Class to analyze high voltage status
0007  *
0008  *  $Date: 2008/11/20 12:00:00 $
0009  *  $Revision: 1.1 $
0010  *  \author Paolo Ronchese INFN Padova
0011  *
0012  */
0013 
0014 //----------------------
0015 // Base Class Headers --
0016 //----------------------
0017 
0018 //------------------------------------
0019 // Collaborating Class Declarations --
0020 //------------------------------------
0021 class DTHVStatus;
0022 class DTChamberId;
0023 //class DTLayerId;
0024 class DTWireId;
0025 //class DTGeometry;
0026 
0027 //---------------
0028 // C++ Headers --
0029 //---------------
0030 #include <string>
0031 #include <vector>
0032 
0033 //              ---------------------
0034 //              -- Class Interface --
0035 //              ---------------------
0036 
0037 class DTHVHandler {
0038 public:
0039   /** Constructor
0040    */
0041   DTHVHandler();
0042   DTHVHandler(const DTHVStatus* dbObject);
0043   //  DTHVHandler( const DTHVStatus* dbObject,
0044   //               const DTGeometry* geometry );
0045 
0046   /** Destructor
0047    */
0048   ~DTHVHandler();
0049 
0050   /** Operations
0051    */
0052   /// get content
0053   int get(const DTWireId& id, int& flagA, int& flagC, int& flagS) const;
0054   int offChannelsNumber() const;
0055   int offChannelsNumber(const DTChamberId& id) const;
0056   /// access db object
0057   const DTHVStatus* getDBObject() const;
0058 
0059 private:
0060   const DTHVStatus* objectPtr;
0061   //  const DTGeometry* dtGeomPtr;
0062 
0063   //  int findLayerPart( const DTWireId& id ) const;
0064   //  int getLayerEdges( const DTLayerId& id,
0065   //                     int& fCell, int& lCell  ) const;
0066   //  int getLayerEdges( const DTLayerId& id, int part,
0067   //                     int& fCell, int& lCell  ) const;
0068 };
0069 
0070 #endif  // DTHVHandler_H