Fork me on GitHub

Changeset 100 in svn for trunk/Utilities/FROG/Includes


Ignore:
Timestamp:
Dec 18, 2008, 2:39:26 PM (16 years ago)
Author:
severine ovyn
Message:

Remove datacard bug + CaloTowers OK

Location:
trunk/Utilities/FROG/Includes/FROG
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Utilities/FROG/Includes/FROG/FROG_Chunk.h

    r95 r100  
    114114#define C_PRIMITIVE_PARTIALSPHERE       41031   // Contains a sphere
    115115#define C_PRIMITIVE_CYLINDER            41040   // Contains a cylinder
     116#define C_PRIMITIVE_CONE                41080   // Contains a cylinder
    116117
    117118#define C_PRIMITIVE_SURFACE                     42000   // Contains Chunks related to Surface Primtive (Plane, Disc, ...)
  • trunk/Utilities/FROG/Includes/FROG/FROG_Element_Tools.cpp

    r95 r100  
    139139                                }                               
    140140                        break;
     141
     142                       case C_PRIMITIVE_CONE :
     143                                NObjs = (chunk_size-chunk_read)/(FROG_Element_Primitive_Cone::sizeOf()-6);
     144                                for(int i=0;i<NObjs;i++){
     145                                        mother->addDaughter(new FROG_Element_Primitive_Cone(pFile));
     146                                        chunk_read += FROG_Element_Primitive_Cone::sizeOf()-6;
     147                                }
     148                        break;
     149
    141150
    142151                        case C_PRIMITIVE_CUSTOM_SURFACE :
  • trunk/Utilities/FROG/Includes/FROG/FROG_Element_Tools.h

    r95 r100  
    2525#include "FROG_Element_Primitive_PartialSphere.h"
    2626#include "FROG_Element_Primitive_Cylinder.h"
     27#include "FROG_Element_Primitive_Cone.h"
    2728
    2829#include "FROG_Element_Primitive_CustomSurface.h"
Note: See TracChangeset for help on using the changeset viewer.