Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:21:06

0001 /*
0002  * OmtfAngleConverter.h
0003  *
0004  *  Created on: Jan 14, 2019
0005  *      Author: kbunkow
0006  */
0007 
0008 #ifndef L1T_OmtfP1_OMTFANGLECONVERTER_H_
0009 #define L1T_OmtfP1_OMTFANGLECONVERTER_H_
0010 
0011 #include "L1Trigger/L1TMuonOverlapPhase1/interface/AngleConverterBase.h"
0012 
0013 class OmtfAngleConverter : public AngleConverterBase {
0014 public:
0015   OmtfAngleConverter() : AngleConverterBase(){};
0016 
0017   ~OmtfAngleConverter() override;
0018 
0019   ///Convert local eta coordinate to global digital microGMT scale.
0020   ///theta is  returned only if in the dtThDigis is only one hit, otherwise eta = 95 or middle of the chamber
0021   virtual int getGlobalEta(const DTChamberId dTChamberId, const L1MuDTChambThContainer *dtThDigis, int bxNum) const;
0022 
0023   ///Convert local eta coordinate to global digital microGMT scale.
0024   virtual int getGlobalEta(unsigned int rawid, const CSCCorrelatedLCTDigi &aDigi, float &r) const;
0025 
0026   ///Convert local eta coordinate to global digital microGMT scale.
0027   virtual int getGlobalEtaRpc(unsigned int rawid, const unsigned int &aDigi, float &r) const;
0028 
0029   //to avoid  Clang Warnings "hides overloaded virtual functions"
0030   using AngleConverterBase::getGlobalEta;
0031 };
0032 
0033 #endif /* L1T_OmtfP1_OMTFANGLECONVERTER_H_ */