CMS 3D CMS Logo

FiducialVolume.h

Go to the documentation of this file.
00001 #ifndef TrackAssociator_FiducialVolume_h
00002 #define TrackAssociator_FiducialVolume_h 1
00003 
00004 // -*- C++ -*-
00005 //
00006 // Package:    TrackAssociator
00007 // Class:      FiducialVolume
00008 // 
00009 /*
00010 
00011  Description: detector active volume described by a closed cylinder with non-zero thickness.
00012 
00013 */
00014 //
00015 // Original Author:  Dmytro Kovalskyi
00016 // $Id: FiducialVolume.h,v 1.2 2007/06/06 22:27:16 dmytro Exp $
00017 //
00022 
00023 #include "DataFormats/GeometryVector/interface/GlobalPoint.h"
00024 #include <vector>
00025 
00026 class FiducialVolume {
00027  public:
00028    FiducialVolume(){ reset(); }
00031    void determinInnerDimensions();
00033    bool isValid() const;
00035    void addActivePoint( const GlobalPoint& point );
00037    void reset();
00038    const double& minR() const { return minR_; }
00039    const double& maxR() const { return maxR_; }
00040    const double& minZ() const { return minZ_; }
00041    const double& maxZ() const { return maxZ_; }
00042         
00043  private:
00044    double minR_;
00045    double maxR_;
00046    double minZ_;
00047    double maxZ_;
00048 };
00049 #endif

Generated on Tue Jun 9 17:48:28 2009 for CMSSW by  doxygen 1.5.4