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
SiStripProcessedRawDigi::adc_
float adc_
Definition: SiStripProcessedRawDigi.h:29
SiStripProcessedRawDigi::adc
const float & adc() const
Definition: SiStripProcessedRawDigi.h:36
SiStripProcessedRawDigi::SiStripProcessedRawDigi
SiStripProcessedRawDigi(const float &adc)
Definition: SiStripProcessedRawDigi.h:18
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:36
SiStripProcessedRawDigi::~SiStripProcessedRawDigi
~SiStripProcessedRawDigi()
Definition: SiStripProcessedRawDigi.h:21
trackingPlots.other
other
Definition: trackingPlots.py:1465
SiStripProcessedRawDigi::operator<
bool operator<(const SiStripProcessedRawDigi &other) const
Definition: SiStripProcessedRawDigi.h:37
SiStripProcessedRawDigi::SiStripProcessedRawDigi
SiStripProcessedRawDigi()
Definition: SiStripProcessedRawDigi.h:20
operator<<
std::ostream & operator<<(std::ostream &o, const SiStripProcessedRawDigi &digi)
Definition: SiStripProcessedRawDigi.h:33
SiStripProcessedRawDigi
A signed Digi for the silicon strip detector, containing only adc information, and suitable for stori...
Definition: SiStripProcessedRawDigi.h:16
edm::DoNotSortUponInsertion
Definition: traits.h:81
traits.h