CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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)
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:167
const float & adc() const
bool operator<(const SiStripProcessedRawDigi &other) const