test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
18  public:
19 
20  SiStripProcessedRawDigi( const float& adc ) : adc_(adc) {;}
21 
24 
25  inline const float& adc() const;
26 
28  inline bool operator< ( const SiStripProcessedRawDigi& other ) const;
29 
30  private:
31 
32  float adc_;
33 
34 };
35 
36 #include<iostream>
37 inline std::ostream & operator<<(std::ostream & o, const SiStripProcessedRawDigi& digi) {
38  return o << " " << digi.adc();
39 }
40 
41 // inline methods
42 const float& SiStripProcessedRawDigi::adc() const { return adc_; }
43 bool SiStripProcessedRawDigi::operator< ( const SiStripProcessedRawDigi& other ) const { return ( this->adc() < other.adc() ); }
44 
45 #endif // AnalysisDataFormats_SiStripDigi_SiStripProcessedRawDigi_H
46 
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:188
const float & adc() const
bool operator<(const SiStripProcessedRawDigi &other) const