Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef EcalTPGTPMode_h
0002 #define EcalTPGTPMode_h
0003 
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005 
0006 /*
0007 Author: Davide Valsecchi
0008 Date:  11/02/2021
0009 
0010 */
0011 
0012 class EcalTPGTPMode {
0013 public:
0014   EcalTPGTPMode();
0015   ~EcalTPGTPMode();
0016 
0017   bool EnableEBOddFilter;
0018   bool EnableEEOddFilter;
0019   bool EnableEBOddPeakFinder;
0020   bool EnableEEOddPeakFinder;
0021   bool DisableEBEvenPeakFinder;
0022   bool DisableEEEvenPeakFinder;
0023   uint16_t FenixEBStripOutput;
0024   uint16_t FenixEEStripOutput;
0025   uint16_t FenixEBStripInfobit2;
0026   uint16_t FenixEEStripInfobit2;
0027   uint16_t EBFenixTcpOutput;
0028   uint16_t EBFenixTcpInfobit1;
0029   uint16_t EEFenixTcpOutput;
0030   uint16_t EEFenixTcpInfobit1;
0031   // Wildcard parameters for future use
0032   uint16_t FenixPar15;
0033   uint16_t FenixPar16;
0034   uint16_t FenixPar17;
0035   uint16_t FenixPar18;
0036 
0037   // print parameters to stream:
0038   void print(std::ostream&) const;
0039 
0040   friend std::ostream& operator<<(std::ostream& out, const EcalTPGTPMode& params) {
0041     params.print(out);
0042     return out;
0043   }
0044 
0045   COND_SERIALIZABLE;
0046 };
0047 
0048 #endif