CMS 3D CMS Logo

IgSoCalHit.h

Go to the documentation of this file.
00001 #ifndef IG_OPEN_INVENTOR_IG_SO_CAL_HIT_H
00002 # define IG_OPEN_INVENTOR_IG_SO_CAL_HIT_H
00003 
00004 //<<<<<< INCLUDES                                                       >>>>>>
00005 
00006 # include "Iguana/Inventor/interface/IgSoShapeKit.h"
00007 # include "Inventor/fields/SoSFBool.h"
00008 # include "Inventor/fields/SoSFFloat.h"
00009 # include "Inventor/fields/SoMFVec3f.h"
00010 # include "Inventor/fields/SoMFUInt32.h"
00011 # ifdef WIN32
00012 #  include <SoWinLeaveScope.h>
00013 # endif
00014 
00015 //<<<<<< PUBLIC DEFINES                                                 >>>>>>
00016 //<<<<<< PUBLIC CONSTANTS                                               >>>>>>
00017 //<<<<<< PUBLIC TYPES                                                   >>>>>>
00018 //<<<<<< PUBLIC VARIABLES                                               >>>>>>
00019 //<<<<<< PUBLIC FUNCTIONS                                               >>>>>>
00020 //<<<<<< CLASS DECLARATIONS                                             >>>>>>
00021 
00051 class IG_OPEN_INVENTOR_API IgSoCalHit : public IgSoShapeKit
00052 {
00053     SO_KIT_HEADER (IgSoCalHit);
00054     SO_KIT_CATALOG_ENTRY_HEADER (faces);
00055 
00056 public:
00057     IgSoCalHit (void);
00058     static void initClass (void);
00059 
00060     SoMFVec3f   vertices;       //< vertices for the base shape, in order (must be even no.)
00061     SoSFFloat   energy;         //< total energy deposited
00062     SoSFFloat   emFraction;     //< EM/Total
00063     SoSFFloat   scaleFactor;    //< GeV to unit distance
00064     SoSFFloat   minimumEnergy;  //< energy threshold to draw hit
00065     SoSFFloat   relativeWidth;  //< relative size of hit wrt shape
00066     SoSFBool    drawShape;
00067     SoSFBool    drawHit;
00068     SoSFBool    twoColor;       //< display EM/had in different materials
00069     SoMFUInt32  orderedRGBA;    //< materials
00070 
00071 protected:
00072     virtual void refresh (void);
00073 };
00074 
00075 //<<<<<< INLINE PUBLIC FUNCTIONS                                        >>>>>>
00076 //<<<<<< INLINE MEMBER FUNCTIONS                                        >>>>>>
00077 
00078 # ifdef WIN32
00079 #  include <SoWinEnterScope.h>
00080 # endif
00081 #endif // IG_OPEN_INVENTOR_IG_SO_CAL_HIT_H

Generated on Tue Jun 9 17:38:43 2009 for CMSSW by  doxygen 1.5.4