mEmcDefGeom.c File Reference

#include "mEmcDefGeom.h"
#include "emlLib.h"
#include "gsl/gsl_math.h"
#include <math.h>

Include dependency graph for mEmcDefGeom.c:

Go to the source code of this file.

Defines

#define max1(x, y)   ( ( int ) ( (x) > (y) ) ? (x) : (y) )
#define amax1(x, y)   ( ( (x) > (y) ) ? (x) : (y) )
#define max(x, y)   ( ( (x) > (y) ) ? (x) : (y) )
#define min(x, y)   ( ( (x) < (y) ) ? (x) : (y) )
#define max_chanz   96
#define max_chany   48
#define max_subdet   8
#define max_fields   10

Functions

long type_of_call mEmcDefGeom_ (TABLE_HEAD_ST *dEmcGeaParams_h, DEMCGEAPARAMS_ST *dEmcGeaParams, TABLE_HEAD_ST *dEmcGeometry_h, DEMCGEOMETRY_ST *dEmcGeometry)
 This module generates the default geometry (as built in PISA) for runs where the PISA GEOM bank is not available.


Define Documentation

#define amax1 x,
 )     ( ( (x) > (y) ) ? (x) : (y) )
 

#define max x,
 )     ( ( (x) > (y) ) ? (x) : (y) )
 

#define max1 x,
 )     ( ( int ) ( (x) > (y) ) ? (x) : (y) )
 

#define max_chany   48
 

Referenced by mEmcDefGeom_(), mEmcGeaMakeRaw_(), and mEmcGeaParams_().

#define max_chanz   96
 

Referenced by mEmcDefGeom_(), mEmcGeaMakeRaw_(), and mEmcGeaParams_().

#define max_fields   10
 

Referenced by mEmcDefGeom_(), and mEmcGeaParams_().

#define max_subdet   8
 

Referenced by mEmcDefGeom_(), and mEmcGeaParams_().

#define min x,
 )     ( ( (x) < (y) ) ? (x) : (y) )
 


Function Documentation

long type_of_call mEmcDefGeom_ TABLE_HEAD_ST *  dEmcGeaParams_h,
DEMCGEAPARAMS_ST *  dEmcGeaParams,
TABLE_HEAD_ST *  dEmcGeometry_h,
DEMCGEOMETRY_ST *  dEmcGeometry
 

This module generates the default geometry (as built in PISA) for runs where the PISA GEOM bank is not available.

Detailed Documentation: {http://www.phenix.bnl.gov/WWW/emcal/documentation/offline/doc99}

Author:
Gabor David {mailto:david@bnl.gov}
Version:
1.0

Definition at line 15 of file mEmcDefGeom.c.

References j, max_chany, max_chanz, max_fields, max_subdet, and TRUE.