CMS 3D CMS Logo

SiStripProcessedRawDigi.h
Go to the documentation of this file.
1 #ifndef AnalysisDataFormats_SiStripDigi_SiStripProcessedRawDigi_H
2 #define AnalysisDataFormats_SiStripDigi_SiStripProcessedRawDigi_H
3 
5 
17 public:
18  SiStripProcessedRawDigi(const float& adc) : adc_(adc) { ; }
19 
22 
23  inline const float& adc() const;
24 
26  inline bool operator<(const SiStripProcessedRawDigi& other) const;
27 
28 private:
29  float adc_;
30 };
31 
32 #include <iostream>
33 inline std::ostream& operator<<(std::ostream& o, const SiStripProcessedRawDigi& digi) { return o << " " << digi.adc(); }
34 
35 // inline methods
36 const float& SiStripProcessedRawDigi::adc() const { return adc_; }
38  return (this->adc() < other.adc());
39 }
40 
41 #endif // AnalysisDataFormats_SiStripDigi_SiStripProcessedRawDigi_H
A signed Digi for the silicon strip detector, containing only adc information, and suitable for stori...
SiStripProcessedRawDigi(const float &adc)
bool operator<(const SiStripProcessedRawDigi &other) const
std::ostream & operator<<(std::ostream &o, const SiStripProcessedRawDigi &digi)