/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
CondTools/DT/interface/DTPosNeg.h
72 строки
1 KB
Christopher Jones
Replace forward references with includes of Fwd.h files
18 фев 2026, 17:29
18 фев 2026, 17:29
bb39da7
Код
Авторство
О чём код?
#ifndef DTPosNeg_H #define DTPosNeg_H /** \class DTPosNeg * * Description: * * * $Date: 2008-08-15 12:52:44 $ * $Revision: 1.1 $ * \author Paolo Ronchese INFN Padova * */ //---------------------- // Base Class Headers -- //---------------------- //------------------------------------ // Collaborating Class Declarations -- //------------------------------------ #include "DataFormats/MuonDetId/interface/DTChamberIdFwd.h" //--------------- // C++ Headers -- //--------------- #include <map> // --------------------- // -- Class Interface -- // --------------------- /* class DTPosNegCompare { public: bool operator()( const DTCCBId& idl, const DTCCBId& idr ) const; }; */ class DTPosNeg { public: /** Constructor */ DTPosNeg(); /** Destructor */ virtual ~DTPosNeg(); /** Operations */ /// dump map static void dump(); static int getPN(int whe, int sec, int sta); static int getPN(const DTChamberId& cha); static int getCT(int whe, int sec, int sta); static int getCT(const DTChamberId& cha); private: static bool initRequest; static std::map<int, int> geomMap; // static std::map<DTCCBId,int,DTPosNegCompare> geomMap; static void fillMap(); static int idCode(int whe, int sec, int sta); static int pnCode(int p, int t); static void decode(int code, int& whe, int& sec, int& sta); static void decode(int code, int& p, int& t); static int getData(int whe, int sec, int sta); }; #endif // DTPosNeg_H