CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalPseudoStripInputSample.cc
Go to the documentation of this file.
2 
3 
6 
7 EcalPseudoStripInputSample::EcalPseudoStripInputSample(int pseudoStripInput, bool fineGrain) {
8  theSample=(pseudoStripInput&0xFFF)|((fineGrain)?(0x1000):(0));
9 }
10 
11 
12 std::ostream& operator<<(std::ostream& s, const EcalPseudoStripInputSample& samp) {
13  return s << "PSInput=" << samp.pseudoStripInput() << ", FG=" << samp.fineGrain();
14 }
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
bool fineGrain() const
get the fine-grain bit (1 bit, the 13-th)
int pseudoStripInput() const
get the pseudoStrip Input amplitude (12 bits)