CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/CalibFormats/SiPixelObjects/src/PixelTrimBase.cc

Go to the documentation of this file.
00001 //
00002 // This class provide a base class for the
00003 // pixel mask data for the pixel FEC configuration
00004 // This is a pure interface (abstract class) that
00005 // needs to have an implementation.
00006 //
00007 // All applications should just use this 
00008 // interface and not care about the specific
00009 // implementation
00010 //
00011 //
00012 
00013 #include "CalibFormats/SiPixelObjects/interface/PixelTrimBase.h"
00014 #include "CalibFormats/SiPixelObjects/interface/PixelConfigBase.h"
00015 #include <vector>
00016 #include <iostream>
00017 
00018 using namespace pos;
00019 
00020 PixelTrimBase::PixelTrimBase(std::string description, 
00021                              std::string creator,
00022                              std::string date):
00023   PixelConfigBase(description,creator,date){
00024 }
00025 
00026 
00027 PixelTrimBase::~PixelTrimBase(){}
00028 
00029 void PixelTrimBase::setOverride(PixelTrimOverrideBase* override){
00030   trimOverride_=override;
00031 }
00032 
00033 std::ostream& operator<<(std::ostream& s, const PixelTrimBase& trim){
00034 
00035   s << trim.getTrimBits(0) <<std::endl; 
00036 
00037   return s;
00038 
00039 }
00040 
00041