00001 /*************************************************************************** 00002 circmask.h - description 00003 ------------------- 00004 begin : Thu Sep 3 2009 00005 copyright : (C) 2001 by Thies Jochimsen 00006 email : jochimse@cns.mpg.de 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef RECOCIRCMASK_H 00019 #define RECOCIRCMASK_H 00020 00021 #include "step.h" 00022 00023 class RecoCircMask : public RecoStep { 00024 00025 // implementing virtual functions of RecoStep 00026 STD_string label() const {return "circmask";} 00027 STD_string description() const {return "Cut out central circular region.";} 00028 bool process(RecoData& rd, RecoController& controller); 00029 RecoCoord input_coord() const {return RecoCoord::coord_with_mode(RecoIndex::collected,line3d,line,readout);} 00030 void modify_coord(RecoCoord& coord) const {} 00031 RecoStep* allocate() const {return new RecoCircMask;} 00032 void init() {} 00033 00034 }; 00035 00036 00037 #endif 00038
1.5.6