remove headers from old location
diff -N AuthorType.hh --- AuthorType.hh 24 Jun 2013 22:10:32 -0000 1.6 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,49 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/AuthorType.hh,v 1.6 2013/06/24 22:10:32 jeremy Exp $ - -#ifndef LCDD_AUTHORTYPE_HH -#define LCDD_AUTHORTYPE_HH 1 - -#include <string> - -/** - @class AuthorType - @brief AuthorType from schema. - */ -class AuthorType -{ -public: - AuthorType() - { - } - - virtual ~AuthorType() - { - } - - void set_name(const std::string& n) - { - m_name = n; - } - - void set_email(const std::string& o) - { - m_email = o; - } - - const std::string& get_name() const - { - return m_name; - } - - const std::string& get_email() const - { - return m_email; - } - -private: - - std::string m_name; - std::string m_email; -}; - -#endif
diff -N BoxDipoleType.hh --- BoxDipoleType.hh 24 Jun 2013 22:10:32 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,128 +0,0 @@
-#ifndef LCDD_BOXDIPOLETYPE_HH -#define LCDD_BOXDIPOLETYPE_HH 1 - -#include "FieldType.hh" - -/** - * @class BoxDipoleType - * @brief This is a representation of the BoxDipoleType from the LCDD schema. - */ -class BoxDipoleType: public FieldType -{ - -public: - - BoxDipoleType() - { - } - - virtual ~BoxDipoleType() - { - } - -public: - - void set_x(const std::string& s) - { - _x = s; - } - - void set_y(const std::string& s) - { - _y = s; - } - - void set_z(const std::string& s) - { - _z = s; - } - - void set_dx(const std::string& s) - { - _dx = s; - } - - void set_dy(const std::string& s) - { - _dy = s; - } - - void set_dz(const std::string& s) - { - _dz = s; - } - - void set_bx(const std::string& s) - { - _bx = s; - } - - void set_by(const std::string& s) - { - _by = s; - } - - void set_bz(const std::string& s) - { - _bz = s; - } - - const std::string& get_x() const - { - return _x; - } - - const std::string& get_y() const - { - return _y; - } - - const std::string& get_z() const - { - return _z; - } - - const std::string& get_dx() const - { - return _dx; - } - - const std::string& get_dy() const - { - return _dy; - } - - const std::string& get_dz() const - { - return _dz; - } - - const std::string& get_bx() const - { - return _bx; - } - - const std::string& get_by() const - { - return _by; - } - - const std::string& get_bz() const - { - return _bz; - } - -private: - - std::string _x; - std::string _y; - std::string _z; - std::string _dx; - std::string _dy; - std::string _dz; - std::string _bx; - std::string _by; - std::string _bz; -}; - -#endif
diff -N CalorimeterType.hh --- CalorimeterType.hh 24 Jun 2013 22:10:33 -0000 1.8 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,59 +0,0 @@
-#ifndef LCDD_CALORIMETERTYPE_HH -#define LCDD_CALORIMETERTYPE_HH 1 - -#include "Schema/ContentGroup.h" - -#include "SensitiveDetectorType.hh" - -#include <iostream> - -/** - * @class CalorimeterType - * @brief CalorimeterType from schema. - */ -class CalorimeterType: public SensitiveDetectorType -{ - -public: - - CalorimeterType() - { - } - - virtual ~CalorimeterType() - { - } - -public: - - const ContentSequence* get_content() const - { - return &m_sequence; - } - - // add a segmentation - void add_content(const std::string& tag, SAXObject* so) - { - ContentGroup::ContentItem ci = { tag, so }; - m_sequence.add_content(ci); - } - - void set_compare(const std::string& compare) - { - m_compare = compare; - } - - const std::string& get_compare() const - { - return m_compare; - } - -private: - - ContentSequence m_sequence; - - std::string m_compare; - -}; - -#endif
diff -N ColorType.hh --- ColorType.hh 24 Jun 2013 22:10:33 -0000 1.6 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,70 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/ColorType.hh,v 1.6 2013/06/24 22:10:33 jeremy Exp $ - -#ifndef LCDD_COLORTYPE_HH -#define LCDD_COLORTYPE_HH 1 - -#include <string> - -/** - @class ColorType - @brief ColorType from schema. - */ -class ColorType -{ -public: - ColorType() - { - } - - virtual ~ColorType() - { - } - - void set_R(const std::string& r) - { - m_R = r; - } - - void set_G(const std::string& g) - { - m_G = g; - } - - void set_B(const std::string& b) - { - m_B = b; - } - - void set_alpha(const std::string& a) - { - m_alpha = a; - } - - const std::string& get_R() - { - return m_R; - } - - const std::string& get_G() - { - return m_G; - } - - const std::string& get_B() - { - return m_B; - } - - const std::string& get_alpha() - { - return m_alpha; - } - -private: - std::string m_R; - std::string m_G; - std::string m_B; - std::string m_alpha; -}; - -#endif
diff -N CommentType.hh --- CommentType.hh 24 Jun 2013 22:10:33 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,39 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/CommentType.hh,v 1.5 2013/06/24 22:10:33 jeremy Exp $ - -#ifndef LCDD_COMMENTTYPE_HH -#define LCDD_COMMENTTYPE_HH 1 - -#include <string> - -/** - @class CommentType - @brief CommentType from schema. - */ -class CommentType -{ -public: - CommentType() - { - } - - virtual ~CommentType() - { - } - - void set_comment(const std::string& c) - { - m_comment = c; - } - - const std::string& get_comment() const - { - return m_comment; - } - -private: - - std::string m_comment; - -}; - -#endif
diff -N DetectorType.hh --- DetectorType.hh 24 Jun 2013 22:10:33 -0000 1.6 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,61 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/DetectorType.hh,v 1.6 2013/06/24 22:10:33 jeremy Exp $ - -#ifndef LCDD_DETECTORTYPE_HH -#define LCDD_DETECTORTYPE_HH 1 - -#include <string> - -/** - @class DetectorType - @brief DetectorType from schema. - */ -class DetectorType -{ -public: - DetectorType() - { - } - - virtual ~DetectorType() - { - } - -public: - - void set_name(const std::string& n) - { - m_name = n; - } - - void set_version(const std::string& v) - { - m_version = v; - } - - void set_url(const std::string& u) - { - m_url = u; - } - - const std::string& get_name() const - { - return m_name; - } - - const std::string& get_version() const - { - return m_version; - } - - const std::string& get_url() const - { - return m_url; - } - -private: - std::string m_name; - std::string m_version; - std::string m_url; -}; - -#endif
diff -N DipoleCoeffType.hh --- DipoleCoeffType.hh 24 Jun 2013 22:10:33 -0000 1.4 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,38 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/DipoleCoeffType.hh,v 1.4 2013/06/24 22:10:33 jeremy Exp $ -#ifndef LCDD_DIPOLECOEFFTYPE_HH -#define LCDD_DIPOLECOEFFTYPE_HH - -#include <string> - -/** - * @class DipoleCoeffType - * @brief The DipoleCoeffType from the lcdd_fields.xsd schema. - */ -class DipoleCoeffType -{ -public: - DipoleCoeffType() - { - } - - virtual ~DipoleCoeffType() - { - } - -public: - - void set_value(const std::string& s) - { - m_value = s; - } - - const std::string& get_value() - { - return m_value; - } - -private: - std::string m_value; -}; - -#endif
diff -N DipoleType.hh --- DipoleType.hh 24 Jun 2013 22:10:33 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,81 +0,0 @@
-#ifndef LCDD_DIPOLETYPE_HH -#define LCDD_DIPOLETYPE_HH 1 - -// parent class -#include "FieldType.hh" - -// gdml -#include "Schema/ContentGroup.h" - -// std -#include <string> - -/** - * @class DipoleType - * @brief DipoleType from lcdd_fields.xsd schema. - */ -class DipoleType: public FieldType -{ -public: - - DipoleType() - { - } - - virtual ~DipoleType() - { - } - -public: - - void set_zmax(const std::string& s) - { - m_zmax = s; - } - - void set_zmin(const std::string& s) - { - m_zmin = s; - } - - void set_rmax(const std::string& s) - { - m_rmax = s; - } - - const std::string& get_zmin() const - { - return m_zmin; - } - - const std::string& get_zmax() const - { - return m_zmax; - } - - const std::string& get_rmax() const - { - return m_rmax; - } - - void add_content(const std::string& tag, SAXObject* so) - { - ContentGroup::ContentItem ci = { tag, so }; - m_sequence.add_content(ci); - } - - const ContentSequence* get_content() const - { - return &m_sequence; - } - -private: - - std::string m_zmax; - std::string m_zmin; - std::string m_rmax; - - ContentSequence m_sequence; -}; - -#endif
diff -N FieldMap3DType.hh --- FieldMap3DType.hh 24 Jun 2013 22:10:33 -0000 1.4 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,42 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/FieldMap3DType.hh,v 1.4 2013/06/24 22:10:33 jeremy Exp $ -#ifndef LCDD_FIELDMAP3DTYPE_HH -#define LCDD_FIELDMAP3DTYPE_HH 1 - -#include "FieldMapType.hh" - -#include <string> - -/** - * @class - * @brief - */ -class FieldMap3DType: public FieldMapType -{ - -public: - - FieldMap3DType() - { - } - - virtual ~FieldMap3DType() - { - } - - void set_filename(const std::string& filename) - { - _filename = filename; - } - - const std::string& get_filename() const - { - return _filename; - } - -private: - - std::string _filename; - -}; - -#endif
diff -N FieldMapType.hh --- FieldMapType.hh 24 Jun 2013 22:10:33 -0000 1.6 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,47 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/FieldMapType.hh,v 1.6 2013/06/24 22:10:33 jeremy Exp $ -#ifndef LCDD_FIELDMAPTYPE_HH -#define LCDD_FIELDMAPTYPE_HH 1 - -#include "FieldType.hh" - -// GDML -#include "Schema/ContentGroup.h" -#include "Schema/ReferenceType.h" - -/** - * @class FieldMapType - * @brief The "abstract" FieldMapType from lcdd_fields.xsd subschema. - * @note The only behavior implemented by this class is adding generic content. - */ -class FieldMapType: public FieldType -{ -public: - - FieldMapType() - { - } - - virtual ~FieldMapType() - { - } - -public: - - const ContentSequence* get_content() const - { - return &m_sequence; - } - - void add_content(const std::string& tag, SAXObject* so) - { - ContentGroup::ContentItem ci = { tag, so }; - m_sequence.add_content(ci); - } - -public: - - ContentSequence m_sequence; - -}; - -#endif
diff -N FieldType.hh --- FieldType.hh 24 Jun 2013 22:10:33 -0000 1.8 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,87 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/FieldType.hh,v 1.8 2013/06/24 22:10:33 jeremy Exp $ -#ifndef LCDD_FIELDTYPE_HH -#define LCDD_FIELDTYPE_HH 1 - -// GDML -#include "Schema/ReferenceType.h" - -// std -#include <string> - -/** - * @class FieldType - * @brief FieldType from schema. - */ -class FieldType -{ -public: - - /** - * @class FieldType::fieldref - * @brief Reference to a field element. - */ - class fieldref: public SAXObject, public ReferenceType - { - public: - fieldref() - { - } - - virtual ~fieldref() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } - }; - -public: - - FieldType() - { - } - - virtual ~FieldType() - { - } - - void set_name(const std::string& n) - { - _name = n; - } - - const std::string& get_name() const - { - return _name; - } - - void set_funit(const std::string& s) - { - _funit = s; - } - - void set_lunit(const std::string& s) - { - _lunit = s; - } - - const std::string& get_funit() const - { - return _funit; - } - - const std::string& get_lunit() const - { - return _lunit; - } - -private: - - std::string _name; - std::string _funit; - std::string _lunit; -}; - -#endif
diff -N G4CalorimeterHit.hh --- G4CalorimeterHit.hh 24 Jun 2013 22:10:33 -0000 1.17 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,142 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/G4CalorimeterHit.hh,v 1.17 2013/06/24 22:10:33 jeremy Exp $ -#ifndef LCDD_G4CALORIMETERHIT_HH -#define LCDD_G4CALORIMETERHIT_HH 1 - -// LCDD -#include "Id64bit.hh" -#include "McpHitContrib.hh" - -// G4 -#include "G4VHit.hh" -#include "G4THitsCollection.hh" -#include "G4Allocator.hh" -#include "G4ThreeVector.hh" -#include "G4UnitsTable.hh" - -#include <iostream> - -/** - * @class G4CalorimeterHit - * @brief Implementation of G4VHit for calorimeter-type hits. - */ -class G4CalorimeterHit: public G4VHit -{ - -public: - - G4CalorimeterHit(); - G4CalorimeterHit(const G4CalorimeterHit &right); - G4CalorimeterHit(G4double edep, G4ThreeVector globalCellPos); - virtual ~G4CalorimeterHit(); - - const G4CalorimeterHit& operator=(const G4CalorimeterHit &right); - bool operator==(const G4CalorimeterHit &right); - inline void *operator new(size_t); - inline void operator delete(void *aHit); - -#ifdef G4VIS_USE - void Draw(); -#endif - - void printMcpHitContribs(std::ostream&); - void printMcpHitContribsHeader(std::ostream&); - - void Print(); - -public: - - friend std::ostream& operator<<(std::ostream &os, const G4CalorimeterHit& hit); - - void setPos(const G4ThreeVector& posXYZ) - { - m_pos = posXYZ; - } - - void setEdep(const G4double ed) - { - m_edep = ed; - } - - void incrEdep(const G4double edincr) - { - m_edep += edincr; - } - - G4ThreeVector getPos() const - { - return m_pos; - } - - G4double getEdep() const - { - return m_edep; - } - - void addMcpHitContrib(McpHitContrib contrib) - { - m_particleList.push_back(contrib); - } - - const McpHitContribList& getMcpHitContribList() const - { - return m_particleList; - } - - // set value of 64 bit id - void setId64bit(Id64bit::ElementType id0, Id64bit::ElementType id1) - { - m_id64.setId0(id0); - m_id64.setId1(id1); - } - - // get 64 bit id - const Id64bit& getId64bit() const - { - return m_id64; - } - - void setEndcapFlag(bool ec = true) - { - m_endcap = ec; - } - - bool getEndcapFlag() - { - return m_endcap; - } - -private: - - // 64-bit id. - Id64bit m_id64; - - // Energy deposition. - G4double m_edep; - - // Position. - G4ThreeVector m_pos; - - // Endcap flag. - bool m_endcap; - - // List of contributions by MCParticle. - McpHitContribList m_particleList; -}; - -typedef G4THitsCollection<G4CalorimeterHit> (G4CalorimeterHitsCollection); - -extern G4Allocator<G4CalorimeterHit> G4CalorimeterHitAllocator; - -inline void* G4CalorimeterHit::operator new(size_t) -{ - void* aHit; - aHit = (void *) G4CalorimeterHitAllocator.MallocSingle(); - return aHit; -} - -inline void G4CalorimeterHit::operator delete(void *aHit) -{ - G4CalorimeterHitAllocator.FreeSingle((G4CalorimeterHit*) aHit); -} - -#endif
diff -N G4CalorimeterSD.hh --- G4CalorimeterSD.hh 24 Jun 2013 22:10:33 -0000 1.17 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,71 +0,0 @@
-// $Id: G4CalorimeterSD.hh,v 1.17 2013/06/24 22:10:33 jeremy Exp $ -#ifndef LCDD_G4CALORIMETERSD_HH -#define LCDD_G4CALORIMETERSD_HH 1 - -// geant4 -#include "G4SensitiveDetector.hh" -#include "G4CalorimeterHit.hh" - -// lcdd -#include "HitComparator.hh" - -// lcdd -#include "G4Segmentation.hh" - -// class G4Segmentation - -/** - @class G4CalorimeterSD - @brief Simulator implementation of calorimeter-type SD. - */ -class G4CalorimeterSD: public G4SensitiveDetector -{ - -public: - - typedef std::vector<G4CalorimeterHit*> G4CalorimeterHitList; - -public: - G4CalorimeterSD(G4String sdName, G4String hcName, G4Segmentation* sdSeg, HitComparator* compare = 0); - - G4CalorimeterSD(G4String sdName, const std::vector<G4String>& hcNames, G4Segmentation* sdSeg, HitComparator* compare = 0); - - virtual ~G4CalorimeterSD(); - -public: - - virtual bool isValidVolume(G4LogicalVolume* lv); - - virtual void Initialize(G4HCofThisEvent *); - virtual void EndOfEvent(G4HCofThisEvent *); - - G4Segmentation* getSegmentation() const; - - G4CalorimeterHit* findHit(G4CalorimeterHit* aHit) const; - G4CalorimeterHit* findHit(G4CalorimeterHit* aHit, G4int nHC) const; - - std::ostream& printHits(std::ostream& os); - - void clearHits(); - - virtual std::ostream& printBasicInfo(std::ostream& os); - - virtual double getEdep() const; - virtual double getEdep(G4int nHC) const; - - G4CalorimeterHitList getCalorimeterHitList(); - G4CalorimeterHitList getCalorimeterHitList(G4int nHC); - -protected: - virtual G4bool ProcessHits(G4Step*, G4TouchableHistory*); - -protected: - G4Segmentation* m_segmentation; - G4CalorimeterHitsCollection* m_collection; - std::vector<G4CalorimeterHitsCollection*> m_hitsCollections; - G4CalorimeterHitList m_hits; - std::vector<G4CalorimeterHitList> hits_vector; - HitComparator* m_hitCompare; -}; - -#endif
diff -N G4Dipole.hh --- G4Dipole.hh 24 Jun 2013 22:10:33 -0000 1.6 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,54 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/G4Dipole.hh,v 1.6 2013/06/24 22:10:33 jeremy Exp $ - -#ifndef LCDD_G4DIPOLE_HH -#define LCDD_G4DIPOLE_HH 1 - -#include "G4MagneticField.hh" - -#include <vector> - -/** - * @class G4Dipole - * @brief The Geant4 binding for the dipole element. - */ -class G4Dipole: public G4MagneticField -{ -public: - G4Dipole() - { - } - virtual ~G4Dipole() - { - } - -public: - void GetFieldValue(const double Point[3], double *Bfield) const; - - void setZMax(double zmax); - double getZMax(); - - void setRMax(double rmax); - double getRMax(); - - void setZMin(double zmin); - double getZMin(); - - void addCoeff(double coeff); - const std::vector<double>& getCoeffs(); - - void setFieldUnit(double unit); - double getFieldUnit(); - - void setLengthUnit(double unit); - double getLengthUnit(); - -private: - double m_zmin; - double m_zmax; - double m_rmax; - double m_lunit; - double m_funit; - std::vector<double> m_coeffs; -}; - -#endif
diff -N G4GlobalGridXYSegmentation.hh --- G4GlobalGridXYSegmentation.hh 24 Jun 2013 22:10:33 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,58 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/G4GlobalGridXYSegmentation.hh,v 1.3 2013/06/24 22:10:33 jeremy Exp $ -#ifndef LCDD_G4GLOBALGRIDXYSEGMENTATION_HH -#define LCDD_G4GLOBALGRIDXYSEGMENTATION_HH 1 - -#include "G4Segmentation.hh" - -#include "globals.hh" - -/** - * @class G4GridXYSegmentation - * @brief Uniform 3D grid segmentation class. - * @note Version of grid segmentation with binning on global coordinates, not local. - */ -class G4GlobalGridXYSegmentation: public G4Segmentation -{ - -public: - - G4GlobalGridXYSegmentation(double gridSizeX, double gridSizeY); - - virtual ~G4GlobalGridXYSegmentation(); - -public: - - // from par class - virtual G4ThreeVector getGlobalHitPos(const G4Step* aStep); - - // hit position from step position - G4ThreeVector getLocalHitPos(const G4ThreeVector& localStepPos); - - virtual void setBins(const G4Step* aStep); - - virtual void setBinNames() - { - addBinName("x"); - addBinName("y"); - } - -protected: - - // compute signed int bin values with base at local origin - int computeBinX(const G4ThreeVector& localStepPos); - int computeBinY(const G4ThreeVector& localStepPos); - int computeBinZ(const G4ThreeVector& localStepPos); - - // individual position dim from bin - double computeDimX(int bin); - double computeDimY(int bin); - double computeDimZ(int bin); - -private: - - double m_gridSizeX; - double m_gridSizeY; - double m_gridSizeZ; -}; - -#endif
diff -N G4GridXYZSegmentation.hh --- G4GridXYZSegmentation.hh 24 Jun 2013 22:10:33 -0000 1.10 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,63 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/G4GridXYZSegmentation.hh,v 1.10 2013/06/24 22:10:33 jeremy Exp $ -#ifndef LCDD_G4GRIDXYZSEGMENTATION_HH -#define LCDD_G4GRIDXYZSEGMENTATION_HH 1 - -#include "G4Segmentation.hh" - -#include "globals.hh" - -/** - * @class G4GridXYZSegmentation - * @brief Uniform 3D grid segmentation class. - * @note This class performs calculations to divide a box-like - * volume into a uniform, 3D grid with square cells. - */ -class G4GridXYZSegmentation: public G4Segmentation -{ - -public: - - G4GridXYZSegmentation(double gridSizeX, double gridSizeY, double gridSizeZ); - - virtual ~G4GridXYZSegmentation(); - -public: - - // from par class - virtual G4ThreeVector getGlobalHitPos(const G4Step* aStep); - - virtual void setBins(const G4Step* aStep); - - // DEPRECATED - virtual G4ThreeVector getGlobalHitPosPreStep(const G4StepPoint* aPreStepPoint); - - // DEPRECATED - virtual G4ThreeVector getLocalHitPos(const G4ThreeVector& localStepPos); - - virtual void setBinNames() - { - addBinName("x"); - addBinName("y"); - addBinName("z"); - } - -protected: - - // compute signed int bin values with base at local origin - int computeBinX(const G4ThreeVector& localStepPos); - int computeBinY(const G4ThreeVector& localStepPos); - int computeBinZ(const G4ThreeVector& localStepPos); - - // individual position dim from bin - double computeDimX(int bin); - double computeDimY(int bin); - double computeDimZ(int bin); - -private: - - double m_gridSizeX; - double m_gridSizeY; - double m_gridSizeZ; -}; - -#endif
diff -N G4LimitSet.hh --- G4LimitSet.hh 24 Jun 2013 22:10:33 -0000 1.6 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,86 +0,0 @@
-#ifndef LCDD_G4LIMITSET_HH -#define LCDD_G4LIMITSET_HH 1 - -#include "G4UserLimits.hh" -#include "globals.hh" - -#include <map> -#include <string> - -/** - * @class G4LimitSet - * @brief Looks up physics limits by particle type from the G4Track. - */ - -class G4LimitSet: public G4UserLimits -{ -public: - typedef G4String ParticleType; - typedef G4String LimitNameType; - typedef G4double LimitValueType; - typedef std::map<ParticleType, LimitValueType> LimitMap; - typedef std::map<LimitNameType, LimitMap> LimitSetMap; - typedef const G4String& LimitNameKeyType; - - static const ParticleType ANY_PARTICLE; - - static const LimitValueType LIMIT_NOT_SET; - - static const LimitNameKeyType STEP_LENGTH_MAX_KEY; - static const LimitNameKeyType TRACK_LENGTH_MAX_KEY; - static const LimitNameKeyType TIME_MAX_KEY; - static const LimitNameKeyType EKIN_MIN_KEY; - static const LimitNameKeyType RANGE_MIN_KEY; - - static const LimitValueType STEP_LENGTH_MAX_DEFAULT; - static const LimitValueType TRACK_LENGTH_MAX_DEFAULT; - static const LimitValueType TIME_MAX_DEFAULT; - static const LimitValueType EKIN_MIN_DEFAULT; - static const LimitValueType RANGE_MIN_DEFAULT; - -public: - G4LimitSet(const G4String& name); - virtual ~G4LimitSet(); - -public: - - const LimitSetMap& getLimitSetMap() const - { - return m_limitsMap; - } - - virtual G4double GetMaxAllowedStep(const G4Track&); - virtual G4double GetUserMaxTrackLength(const G4Track&); - virtual G4double GetUserMaxTime(const G4Track&); - virtual G4double GetUserMinEkine(const G4Track&); - virtual G4double GetUserMinRange(const G4Track&); - - /* Set limits by particle type. */ - void setLimitForParticle(LimitNameType limitName, ParticleType particleType, LimitValueType limitValue); - - void setName(const G4String& n); - G4String& getName(); - -private: - - /** - * Get the limit value for a particular particle type. - * @param limitName The name of the limit type (1 of 5 valid types). - * @param particleType Type, e.g. name, of the Geant4 particle. - * @return Value of the limit or LIMIT_NOT_SET if no key exists and ANY_PARTICLE is also not set. - */ - LimitValueType getLimitForParticle(LimitNameType limitName, ParticleType particleType = ANY_PARTICLE); - - LimitValueType getLimitForParticle(LimitNameType limitName, const G4Track&); - - const ParticleType getParticleType(const G4Track&); - -protected: - - /* Map of ( limitName -> particleName -> limitValue ). */ - LimitSetMap m_limitsMap; - - G4String m_name; -}; - -#endif
diff -N G4NonprojectiveCylinderSegmentation.hh --- G4NonprojectiveCylinderSegmentation.hh 24 Jun 2013 22:10:33 -0000 1.8 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,47 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/G4NonprojectiveCylinderSegmentation.hh,v 1.8 2013/06/24 22:10:33 jeremy Exp $ -#ifndef LCDD_G4NONPROJECTIVECYLINDERSEGMENTATION -#define LCDD_G4NONPROJECTIVECYLINDERSEGMENTATION 1 - -#include "G4Segmentation.hh" - -/** - @class G4NonprojectiveCylinderSegmentation - @brief Segmentation using a nonprojective cylinder. - */ -class G4NonprojectiveCylinderSegmentation: public G4Segmentation -{ -public: - G4NonprojectiveCylinderSegmentation(double gridSizePhi, double gridSizeZ); - virtual ~G4NonprojectiveCylinderSegmentation(); - -public: - - virtual G4ThreeVector getGlobalHitPos(const G4Step* aStep); - virtual G4ThreeVector getGlobalHitPos(const G4StepPoint* aPreStepPoint); - virtual void setBins(const G4Step* aStep); - virtual void setBins(const G4StepPoint* aPreStepPoint); - virtual void setBinNames() - { - addBinName("phi"); - addBinName("z"); - } - - G4ThreeVector getLocalHitPos(const G4Step* aStep); - G4ThreeVector getLocalHitPos(const G4StepPoint* aPreStepPoint); - virtual bool isValidSolid(G4VSolid*); - -private: - - double computeDeltaPhi(const G4Step* aStep); - double computeDeltaPhi(const G4StepPoint* aPreStepPoint); - int computeBinPhi(const G4Step* aStep); - int computeBinPhi(const G4StepPoint* aPreStepPoint); - int computeBinZ(const G4ThreeVector& localStepPos); - -private: - - double m_gridSizePhi; - double m_gridSizeZ; -}; - -#endif
diff -N G4OpticalCalorimeterSD.hh --- G4OpticalCalorimeterSD.hh 24 Jun 2013 22:10:33 -0000 1.7 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,36 +0,0 @@
-#ifndef LCDD_G4OPTICALCALORIMETERSD_HH -#define LCDD_G4OPTICALCALORIMETERSD_HH - -// slic -#include "G4CalorimeterSD.hh" - -// stl -#include <vector> -class Cerenkov; - -/** - @class G4OpticalCalorimeterSD - @brief Simulator implementation of a calorimeter SD that is sensitive to optical photons. - */ -class G4OpticalCalorimeterSD: public G4CalorimeterSD -{ -private: - Cerenkov* CerenGenerator; -public: - //enum for the two Hit Collections (cerenkov and edep): - enum HCType - { - eEdep = 0, eCerenkov = 1 - }; - - G4OpticalCalorimeterSD(G4String sdName, G4String hcName, G4Segmentation* sdSeg, HitComparator* compare = 0); - - G4OpticalCalorimeterSD(G4String sdName, const std::vector<G4String>& hcNames, G4Segmentation* sdSeg, HitComparator* compare = 0); - - virtual ~G4OpticalCalorimeterSD(); - -protected: - virtual G4bool ProcessHits(G4Step*, G4TouchableHistory*); -}; - -#endif
diff -N G4ProjectiveCylinderSegmentation.hh --- G4ProjectiveCylinderSegmentation.hh 24 Jun 2013 22:10:33 -0000 1.10 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,31 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/G4ProjectiveCylinderSegmentation.hh,v 1.10 2013/06/24 22:10:33 jeremy Exp $ -#ifndef LCDD_G4PROJECTIVECYLINDERSEGMENTATION_HH -#define LCDD_G4PROJECTIVECYLINDERSEGMENTATION_HH 1 - -#include "G4ProjectiveSegmentation.hh" - -#include "globals.hh" - -/** - @class G4ProjectiveCylinderSegmentation - @brief Simulation class for projective cylinder segmentation. - */ -class G4ProjectiveCylinderSegmentation: public G4ProjectiveSegmentation -{ - -public: - G4ProjectiveCylinderSegmentation(G4int ntheta, G4int nphi); - - virtual ~G4ProjectiveCylinderSegmentation(); - - virtual bool isValidSolid(G4VSolid* s); - -protected: - - virtual double getRadius(const G4Step* aStep); - virtual double getZ(const G4Step* aStep); - virtual double getRadius(const G4StepPoint* aPreStepPoint); - virtual double getZ(const G4StepPoint* aPreStepPoint); -}; - -#endif
diff -N G4ProjectiveSegmentation.hh --- G4ProjectiveSegmentation.hh 24 Jun 2013 22:10:33 -0000 1.11 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,72 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/G4ProjectiveSegmentation.hh,v 1.11 2013/06/24 22:10:33 jeremy Exp $ -#ifndef LCDD_G4PROJECTIVESEGMENTATION_HH -#define LCDD_G4PROJECTIVESEGMENTATION_HH 1 - -#include "G4Segmentation.hh" - -#include "globals.hh" - -/** - @class G4ProjectiveSegmentation - @brief Generic projective segmentation class. - */ -class G4ProjectiveSegmentation: public G4Segmentation -{ - -public: - G4ProjectiveSegmentation(int ntheta, int nphi); - - virtual ~G4ProjectiveSegmentation(); - -public: - - // virtuals from G4Segmentation; should not be overridden - // in subclasses - G4ThreeVector getGlobalHitPos(const G4Step* aStep); - G4ThreeVector getGlobalHitPos(const G4StepPoint* aPreStepPoint); - void setBins(const G4Step* aStep); - void setBins(const G4StepPoint* aPreStepPoint); - virtual void setBinNames() - { - addBinName("theta"); - addBinName("phi"); - } - -protected: - - int getNtheta() const; - int getNphi() const; - - // bins from 3vect pos - int getThetaBin(const G4ThreeVector& globalStepPos); - int getPhiBin(const G4ThreeVector& globalStepPos); - - // dim from bin - double getThetaDim(const int &thetaBin) const; - double getPhiDim(const int &phiBin) const; - - // dim from step - double getThetaDim(const G4Step* aStep); - // dim from prestep - double getThetaDim(const G4StepPoint* aPreStepPoint); - - double getPhiDim(const G4Step* aStep); - // dim from prestep point: - double getPhiDim(const G4StepPoint* aPreStepPoint); - - // These should be overridden in subclasses - // for a specific shape or orientation. - virtual double getRadius(const G4Step* aStep); - virtual double getZ(const G4Step* aStep); - virtual double getRadius(const G4StepPoint* aPreStepPoint); - virtual double getZ(const G4StepPoint* aPreStepPoint); -private: - - void computeDivisions(); - -private: - int m_ntheta, m_nphi; - double m_divTheta, m_divPhi; -}; - -#endif
diff -N G4ProjectiveZPlaneSegmentation.hh --- G4ProjectiveZPlaneSegmentation.hh 24 Jun 2013 22:10:33 -0000 1.7 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,31 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/G4ProjectiveZPlaneSegmentation.hh,v 1.7 2013/06/24 22:10:33 jeremy Exp $ -#ifndef LCDD_G4PROJECTIVEZPLANESEGMENTATION_HH -#define LCDD_G4PROJECTIVEZPLANESEGMENTATION_HH 1 - -#include "G4ProjectiveSegmentation.hh" - -#include "globals.hh" - -/** - @class G4ProjectiveZPlaneSegmentation - @brief Projective segmentation using Z. - @note This class uses Z from current volume - rather than the cylindrical radius. - */ -class G4ProjectiveZPlaneSegmentation: public G4ProjectiveSegmentation -{ - -public: - G4ProjectiveZPlaneSegmentation(int ntheta, int nphi); - - virtual ~G4ProjectiveZPlaneSegmentation(); - -protected: - - virtual double getRadius(const G4Step* aStep); - virtual double getZ(const G4Step* aStep); - virtual double getRadius(const G4StepPoint* aPreStepPoint); - virtual double getZ(const G4StepPoint* aPreStepPoint); -}; - -#endif
diff -N G4RZFieldMap.hh --- G4RZFieldMap.hh 24 Jun 2013 22:10:33 -0000 1.8 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,54 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/G4RZFieldMap.hh,v 1.8 2013/06/24 22:10:33 jeremy Exp $ - -#ifndef LCDD_G4RZFIELDMAP_HH -#define LCDD_G4RZFIELDMAP_HH 1 - -#include "G4MagneticField.hh" - -// LCDD -#include "RZBData.hh" - -#include <iostream> -#include <vector> - -/** - * @class G4RZFieldMap - * @brief Magnetic field defined by rows of r, z, Br and Bz values. - */ -class G4RZFieldMap: public G4MagneticField -{ - -public: - - G4RZFieldMap(int numBinsR, int numBinsZ, double gridSizeR, double gridSizeZ, std::vector<RZBData> fieldData); - - virtual ~G4RZFieldMap(); - -public: - void GetFieldValue(const double Point[3], double *Bfield) const; - -private: - void initializeArrays(); - void fillArrays(std::vector<RZBData> fieldData); - void deleteArrays(); - -private: - - void computeNumBins(); - -private: - - int m_numBinsR; - int m_numBinsZ; - - double m_gridSizeR; - double m_gridSizeZ; - - double m_maxR; - double m_maxZ; - - double** m_BrArray; - double** m_BzArray; -}; - -#endif
diff -N G4ScorerSD.hh --- G4ScorerSD.hh 24 Jun 2013 22:10:33 -0000 1.7 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,22 +0,0 @@
-#ifndef LCDD_G4SCORERSD_HH -#define LCDD_G4SCORERSD_HH 1 - -#include "G4TrackerSD.hh" - -/** - * @class G4ScorerSD - * @brief Scoring plane sensitive detector. - */ -class G4ScorerSD: public G4TrackerSD -{ -public: - G4ScorerSD(G4String sdName, G4String hcName); - -protected: - virtual G4bool ProcessHits(G4Step*, G4TouchableHistory*); - -protected: - int m_currentTrackID; -}; - -#endif
diff -N G4Segmentation.hh --- G4Segmentation.hh 24 Jun 2013 22:10:33 -0000 1.19 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,144 +0,0 @@
-#ifndef LCDD_G4SEGMENTATION_HH -#define LCDD_G4SEGMENTATION_HH 1 - -// G4 -#include "G4ThreeVector.hh" -#include "G4Step.hh" - -// std -#include <iostream> -#include <vector> - -/** - * @class G4Segmentation - * @brief Segmentation base class. - * @todo Add method setVolume(G4LogicalVolume*) for setting up segmentation with current step volume. - */ -class G4Segmentation -{ -public: - enum EType - { - eProjective = 1, eNonprojective - }; - typedef std::vector<std::string> BinNames; - -public: - G4Segmentation(EType segType, int nbins = 2); - virtual ~G4Segmentation(); - -public: - - /** - * Compute the global hit position from a step. - */ - virtual G4ThreeVector getGlobalHitPos(const G4Step* aStep); - - /** - * Set the identifier bin values from a step. - */ - virtual void setBins(const G4Step*) = 0; - - /** - * Add valid bin names to this segmentation. - */ - virtual void setBinNames() = 0; - - /** - * Compute the bin given a coordinate in one dimension. - */ - static int computeBin(double localDim, double gridDim) - { - return int(floor(localDim / gridDim)); - - } - - /** - * Compute the coordinate in one dimension given a bin value. - */ - static double computeDim(const int &bin, const double &incr) - { - return (double(bin) + .5) * incr; - } - - // DEPRECATED - // Used by G4OpticalCalorimeter only. - virtual G4ThreeVector getGlobalHitPosPreStep(const G4StepPoint* aPreStepPoint); - - // DEPRECATED - // Used by G4OpticalCalorimeter only. - G4ThreeVector getLocalHitPos(const G4ThreeVector& localStepPos); - - void resetBins(); - - EType getType(); - - inline const G4String& getTypeString() - { - static G4String typestr; - if (m_type == eProjective) { - typestr = "Projective"; - } else if (m_type == eNonprojective) { - typestr = "Nonprojective"; - } else { - typestr = "Unknown"; - } - - return typestr; - } - - inline int getBin(int idx) - { - return m_bins.at(idx); - } - - inline const std::string& getBinName(int idx) - { - return m_binNames.at(idx); - } - - inline void addBinName(const std::string& binName) - { - m_binNames.push_back(binName); - } - - void setBin(int binIdx, int binVal); - - int getNumberOfBins(); - - const std::vector<int>& getBins(); - - const std::vector<std::string>& getBinNames() - { - return m_binNames; - } - - // Print the bins. - void printOutBins(std::ostream& os) - { - printOutBins(os, m_bins); - } - - static void printOutBins(std::ostream& os, const std::vector<int>& bins); - - /* - * Check whether the solid is valid for this segmentation. - */ - virtual bool isValidSolid(G4VSolid*); - -private: - - // bin values - std::vector<int> m_bins; - - // bin names - BinNames m_binNames; - - // number of numbers - int m_numBins; - - // type of segmentation - EType m_type; -}; - -#endif
diff -N G4SegmentationFactory.hh --- G4SegmentationFactory.hh 24 Jun 2013 22:10:33 -0000 1.6 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,29 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/G4SegmentationFactory.hh,v 1.6 2013/06/24 22:10:33 jeremy Exp $ -#ifndef LCDD_G4SEGMENTATIONFACTORY_HH -#define LCDD_G4SEGMENTATIONFACTORY_HH 1 - -class G4Segmentation; -class SAXObject; - -// std -#include <string> - -/** - @class G4SegmentationFactory - @brief Returns a concrete segmentation object depending on input tag. - @note Includes a single, static method. - */ -class G4SegmentationFactory -{ -private: - - // should not be instantiated - G4SegmentationFactory() - { - } - -public: - static G4Segmentation* createSegmentation(SAXObject* obj, const std::string& tag); -}; - -#endif
diff -N G4SensitiveDetector.hh --- G4SensitiveDetector.hh 24 Jun 2013 22:10:33 -0000 1.23 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,304 +0,0 @@
-#ifndef LCDD_G4SENSITIVEDETECTOR_HH -#define LCDD_G4SENSITIVEDETECTOR_HH 1 - -// geant4 -#include "G4VSensitiveDetector.hh" -#include "G4UnitsTable.hh" - -// lcdd -#include "StepReadout.hh" -#include "IdSpec.hh" -#include "Id64bit.hh" - -class G4UImessenger; -class G4VHitsCollection; - -/** - * @class G4SensitiveDetector - * @brief Basic implementation of G4VSensitiveDetector. - * @note Primary attributes include verbosity, energy cut, - * IdSpec,and hits collections. - */ -class G4SensitiveDetector: public G4VSensitiveDetector, protected StepReadout -{ -public: - - /** - * EType indicates the basic type of detector, e.g. tracker or calorimeter. - */ - enum EType - { - eNone = 0, eTracker = 1, eCalorimeter = 2 - }; - - static const std::string& trackerStr; - static const std::string& calorimeterStr; - static const std::string& noneStr; - -public: - - G4SensitiveDetector(G4String sdName, G4String hcName, EType sdType); - - G4SensitiveDetector(G4String sdName, const std::vector<G4String>& hcNames, EType sdType); - - virtual ~G4SensitiveDetector(); - -public: - - /** - * Geant4 initialization function called at beginning of event. - */ - virtual void Initialize(G4HCofThisEvent *); - - /** - * Geant4 EndOfEvent hook. - */ - virtual void EndOfEvent(G4HCofThisEvent *); - -protected: - - /** - * Geant4 function to make hits from the step. - */ - virtual G4bool ProcessHits(G4Step*, G4TouchableHistory*); - -public: - - /** - * Return the type of this detector encoded as an int. - */ - inline G4SensitiveDetector::EType getType() const - { - return m_type; - } - - /** - * Return the type of this detector encoded as a string. - */ - inline const std::string& getTypeString() const; - - /** - * Return the hits collection ID associated with this detector. - */ - inline G4int getHCID() const - { - return m_hcids[0]; - } - - inline G4int getHCID(G4int nHC) const - { - if (nHC > getNumberOfHitsCollections() + 1 || nHC < 0) { - G4cerr << "The index " << nHC << " is not valid for SD " << this->GetName() << "." << G4endl; - G4Exception("", "", FatalException, "Invalid index."); - } - return m_hcids[nHC]; - } - - /** - * Check whether the G4LogicalVolume can be readout by this detector. - * Base function just returns if the volume was assigned to this detector. - */ - inline virtual bool isValidVolume(G4LogicalVolume* lv) - { - return lv != 0; - } - - /** - * Return the hits collection name associated with this detector. - */ - inline const std::string& getHCName() const - { - return collectionName[0]; - } - - inline const std::string& getHCName(G4int nHC) const - { - return collectionName[nHC]; - } - - /** - * Set the verbosity level of this detector. - */ - inline void setVerbose(unsigned int v) - { - m_verbose = v; - } - - /** - * Get the verbosity level of this detector. - */ - inline unsigned int getVerbose() const - { - return m_verbose; - } - - /** - * Return the hit energy cut of this detector. - */ - inline G4double getEcut() - { - return m_ecut; - } - - /** - * Set the hit energy cut of this detector. - */ - inline void setEcut(G4double ecut) - { - m_ecut = ecut; - } - - /** - * Set the identifier specification for this detector. - */ - inline void setIdSpec(IdSpec* idspec) - { - m_idspec = idspec; - } - - /** - * Return the identifier specification for this detector. - */ - inline IdSpec* getIdSpec() const - { - return m_idspec; - } - - /** - * Returns whether or not this detector has an associated identifier specification. - */ - inline bool hasIdSpec() const - { - return m_idspec != 0; - } - - /** - * Create a 64-bit identifier based on the current step information. - */ - Id64bit makeId() const; - - /** - * Set the endcap flag. - */ - inline void setEndcapFlag( bool ec = true ) - { - m_endcap = ec; - } - - /** - * Return the endcap flag. - */ - inline bool getEndcapFlag() - { - return m_endcap; - } - - /** - * Print basic information about this detector to the output stream. - */ - virtual std::ostream& printBasicInfo(std::ostream& os); - - /** - * Print the number of hits to the output stream. - */ - virtual std::ostream& printNumberOfHits(std::ostream& os); - - /** - * Print the number of hits to the output stream. - */ - virtual std::ostream& printEdep(std::ostream& os); - - /** - * Print the names of volumes associated to this detector. - */ - virtual std::ostream& printVolumes(std::ostream& os); - - /** - * Print the list of hits. Subclasses must implement this. - */ - virtual std::ostream& printHits(std::ostream& os) {return os;} - - /** - * Get single (first) HC associated with this detector. - */ - G4VHitsCollection* getHitsCollection() const; - - /** - * Retrieve the hits collection associated with this detector, - * using the hits collection ID (HCID). - */ - G4VHitsCollection* getHitsCollection(G4int) const; - - /** - * Get the number of hits collections in this SD. - */ - inline int getNumberOfHitsCollections() const {return m_hcids.size();} - - /** - * Return the total energy deposition from the hits of this detector. - * Requires access to concrete hit types, so this function must be - * implemented by subclasses. - */ - virtual double getEdep() const {return 0.0;} - - /** - * Return a list of G4LogicalVolume objects that have been assigned - * this sensitive detector. - */ - std::vector<G4LogicalVolume*> getLogicalVolumes() const; - - /** - * Subclasses need to implement this method. - */ - virtual void clearHits() {;} - -protected: - - /** - * Set the Hits Collection ID for a single collection. - */ - inline void setHCID(G4int hcid) - { - m_hcids[0] = hcid; - } - - /** - * Set the Hits Collection ID for a given collection. - */ - inline void setHCID(G4int hcid, G4int nHC) - { - if ( nHC > getNumberOfHitsCollections() + 1 || nHC < 0) - { - G4cerr << this->GetName() << "setHCID Nr of HC"<< nHC << "not valid"<< G4endl; - G4Exception("", "", FatalException, "Bad HC index."); - } - m_hcids[nHC] = hcid; - } - -protected: - - // vector containing Hit Collection ID's - std::vector<G4int> m_hcids; - - // verbosity - unsigned int m_verbose; - - // endcap flag for LCIO's CHBIT_BARREL bit - bool m_endcap; - - // energy cut - double m_ecut; - - // identifier field description - IdSpec* m_idspec; - - private: - - // type = calorimeter or tracker - EType m_type; - - // The Geant4 command messenger associated with this detector. - G4UImessenger* m_messenger; - }; - -#endif
diff -N G4Solenoid.hh --- G4Solenoid.hh 24 Jun 2013 22:10:33 -0000 1.7 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,96 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/G4Solenoid.hh,v 1.7 2013/06/24 22:10:33 jeremy Exp $ - -#ifndef LCDD_G4SOLENOID_HH -#define LCDD_G4SOLENOID_HH 1 - -#include "G4MagneticField.hh" - -#include <iostream> - -/** - @class G4Solenoid - @brief Simulation class for a simple magnetic solenoid. - */ -class G4Solenoid: public G4MagneticField -{ - -public: - G4Solenoid(); - virtual ~G4Solenoid(); - -public: - - void GetFieldValue(const double Point[3], double *Bfield) const; - - void setInnerField(double d) - { - _innerField = d; - } - - void setOuterField(double d) - { - _outerField = d; - } - - void setInnerR(double d) - { - _innerR = d; - } - - void setOuterR(double d) - { - _outerR = d; - } - - void setInnerZ(double d) - { - _innerZ = d; - } - - void setOuterZ(double d) - { - _outerZ = d; - } - - double getInnerField() const - { - return _innerField; - } - - double getOuterField() const - { - return _outerField; - } - - double getInnerR() const - { - return _innerR; - } - - double getOuterR() const - { - return _outerR; - } - - double getInnerZ() const - { - return _innerZ; - } - - double getOuterZ() const - { - return _outerZ; - } - - void printOut(std::ostream &os); - -private: - double _innerField; - double _outerField; - double _innerR; - double _outerR; - double _innerZ; - double _outerZ; -}; - -#endif
diff -N G4StoreManager.hh --- G4StoreManager.hh 24 Jun 2013 22:10:33 -0000 1.7 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,33 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/G4StoreManager.hh,v 1.7 2013/06/24 22:10:33 jeremy Exp $ - -#ifndef LCDD_G4STOREMANAGER_HH -#define LCDD_G4STOREMANAGER_HH 1 - -// FIXME: This class actually needs to do something besides just creating "/stores/" cmd dir. - -/** - @class G4StoreManager G4StoreManager.hh - @brief Singleton manager class for retrieval of - G4 solids, LV, PV and regions from stores. - @note Can also dumps/clear G4 stores. - */ -class G4StoreManager -{ - -protected: - G4StoreManager(); - -public: - - virtual ~G4StoreManager(); - -public: - - // get singleton instance - static G4StoreManager* instance(); - -private: - static G4StoreManager *_instance; -}; - -#endif
diff -N G4TrackerCombineSD.hh --- G4TrackerCombineSD.hh 24 Jun 2013 22:10:33 -0000 1.6 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,48 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/G4TrackerCombineSD.hh,v 1.6 2013/06/24 22:10:33 jeremy Exp $ -#ifndef LCDD_G4TRACKERCOMBINESD_HH -#define LCDD_G4TRACKERCOMBINESD_HH 1 - -#include "G4TrackerSD.hh" - -/** - * @class G4TrackerCombineSD - * @brief Tracker subclass to combine multiple hits in the same tracker layer - * into a single hit having the mean momentum and position. - * @note The logic in this class is based on a refactoring of Mokka's TRKSD00. - */ -class G4TrackerCombineSD: public G4TrackerSD -{ -public: - G4TrackerCombineSD(G4String sdName, G4String hcName); - - virtual ~G4TrackerCombineSD(); - -public: - virtual void EndOfEvent(G4HCofThisEvent *); - -protected: - virtual G4bool ProcessHits(G4Step*, G4TouchableHistory*); - -private: - - void startHit(G4StepPoint* aStepPoint); - void updateHit(); - bool insertHit(); - void clear(); - -private: - - bool m_combineHits; - int m_currentTrackID; - G4VPhysicalVolume* m_currentPV; - G4ThreeVector m_entryPoint; - G4ThreeVector m_exitPoint; - G4ThreeVector m_entryMomentum; - G4ThreeVector m_exitMomentum; - G4double m_edepTotal; - G4double m_minTime; - bool m_startedHit; - G4Track* m_currentTrack; -}; - -#endif
diff -N G4TrackerHit.hh --- G4TrackerHit.hh 24 Jun 2013 22:10:33 -0000 1.13 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,134 +0,0 @@
-#ifndef LCDD_G4TRACKERHIT_HH -#define LCDD_G4TRACKERHIT_HH 1 - -#include "Id64bit.hh" - -#include "G4VHit.hh" -#include "G4THitsCollection.hh" -#include "G4Allocator.hh" -#include "G4ThreeVector.hh" -#include "G4UnitsTable.hh" - -/** - @class G4TrackerHit - @brief Simulation class for a tracker-type hit. - */ -class G4TrackerHit: public G4VHit -{ -public: - G4TrackerHit(); - - virtual ~G4TrackerHit(); - - inline void *operator new(size_t); - inline void operator delete(void *aHit); - -#ifdef G4VIS_USE - void Draw(); -#endif - - void Print(); - -public: - - friend std::ostream& operator<<(std::ostream &os, const G4TrackerHit& hit); - - void setTdep(const G4double tdep) - { - m_tdep = tdep; - } - void setEdep(const G4double edep) - { - m_edep = edep; - } - void setPos(const G4ThreeVector& posXYZ) - { - m_pos = posXYZ; - } - void setMomentum(const G4ThreeVector& mom) - { - m_mom = mom; - } - void setTrackID(const G4int trkID) - { - m_trkID = trkID; - } - void setPDG(const G4int pdg) - { - m_PDG = pdg; - } - void setLength(const G4double l) - { - m_length = l; - } - - G4double getTdep() const - { - return m_tdep; - } - G4double getEdep() const - { - return m_edep; - } - G4ThreeVector getPos() const - { - return m_pos; - } - G4ThreeVector getMomentum() const - { - return m_mom; - } - G4int getTrackID() const - { - return m_trkID; - } - G4int getPDG() const - { - return m_PDG; - } - G4double getLength() const - { - return m_length; - } - - void setId(Id64bit::ElementType id1) - { - m_id64.setId1(id1); - } - - int getId() - { - return m_id64.getId1(); - } - -public: - - G4double m_edep; - G4double m_tdep; - G4ThreeVector m_pos; - G4ThreeVector m_mom; - G4int m_trkID; - G4int m_PDG; - G4double m_length; - - // TODO: make this a 32-bit, as only first 32-bits are used - Id64bit m_id64; -}; - -typedef G4THitsCollection<G4TrackerHit> (G4TrackerHitsCollection); - -extern G4Allocator<G4TrackerHit> G4TrackerHitAllocator; - -inline void* G4TrackerHit::operator new(size_t) -{ - void* aHit; - aHit = (void *) G4TrackerHitAllocator.MallocSingle(); - return aHit; -} - -inline void G4TrackerHit::operator delete(void *aHit) -{ - G4TrackerHitAllocator.FreeSingle((G4TrackerHit*) aHit); -} - -#endif
diff -N G4TrackerSD.hh --- G4TrackerSD.hh 24 Jun 2013 22:10:33 -0000 1.19 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,41 +0,0 @@
-#ifndef LCDD_G4TRACKERSD_HH -#define LCDD_G4TRACKERSD_HH 1 - -#include "G4SensitiveDetector.hh" -#include "G4TrackerHit.hh" -#include "ReadoutUtil.hh" // for cc file and subclasses -/** - @class G4TrackerSD - @brief Geant4 binding for a tracker-type SD. - */ -class G4TrackerSD: public G4SensitiveDetector -{ -public: - - typedef std::vector<G4TrackerHit*> G4TrackerHitList; - -public: - G4TrackerSD(G4String sdName, G4String hcName); - - virtual ~G4TrackerSD(); - -public: - virtual void Initialize(G4HCofThisEvent *); - virtual void EndOfEvent(G4HCofThisEvent *); - std::ostream& printHits(std::ostream& os); - - double getEdep() const; - - void clearHits(); - - G4TrackerHitList getTrackerHitList(); - -protected: - virtual G4bool ProcessHits(G4Step*, G4TouchableHistory*); - -protected: - G4TrackerHitsCollection* m_HC; - G4TrackerHitList m_hits; -}; - -#endif
diff -N G4UnsegmentedCalorimeterSD.hh --- G4UnsegmentedCalorimeterSD.hh 24 Jun 2013 22:10:33 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,24 +0,0 @@
-// $Id: G4UnsegmentedCalorimeterSD.hh,v 1.3 2013/06/24 22:10:33 jeremy Exp $ - -#ifndef G4UNSEGMENTEDCALORIMETERSD_HH_ -#define G4UNSEGMENTEDCALORIMETERSD_HH_ - -#include "G4CalorimeterSD.hh" - -/** - * @class UnsegmentedCalorimeterSD - * @brief A sensitive detector that writes out a CalorimeterHit for - * each step. It does not have any segmentation. - */ -class G4UnsegmentedCalorimeterSD: public G4CalorimeterSD -{ -public: - - G4UnsegmentedCalorimeterSD(G4String sdName, G4String hcName, G4Segmentation* seg); - -protected: - - virtual G4bool ProcessHits(G4Step*, G4TouchableHistory*); -}; - -#endif /* G4UNSEGMENTEDCALORIMETERSD_HH_ */
diff -N G4UserRegionInformation.hh --- G4UserRegionInformation.hh 24 Jun 2013 22:10:33 -0000 1.11 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,87 +0,0 @@
-//$Header: /cvs/lcd/lcdd/include/Attic/G4UserRegionInformation.hh,v 1.11 2013/06/24 22:10:33 jeremy Exp $ - -#ifndef LCDD_G4USERREGIONINFORMATION_HH -#define LCDD_G4USERREGIONINFORMATION_HH 1 - -#include "G4VUserRegionInformation.hh" -#include "G4Track.hh" -#include "G4StepPoint.hh" -#include "globals.hh" - -#include <string> - -/** - @class G4UserRegionInformation - @brief Implementation of G4VUserRegionInformation. - */ -class G4UserRegionInformation: public G4VUserRegionInformation -{ - -public: - - G4UserRegionInformation() : - _storeSecondaries(false), _killTracks(false) - { - } - - virtual ~G4UserRegionInformation() - { - } - -public: - - void setStoreSecondaries(bool b) - { - _storeSecondaries = b; - } - - bool getStoreSecondaries() const - { - return _storeSecondaries; - } - - void setKillTracks(bool killTracks) - { - _killTracks = killTracks; - } - - bool getKillTracks() const - { - return _killTracks; - } - - void setThreshold(G4double t) - { - _threshold = t; - } - - G4double getThreshold() const - { - return _threshold; - } - - // region info from track - static inline G4UserRegionInformation* getRegionInformation(const G4Track* aTrack) - { - return static_cast<G4UserRegionInformation*>(aTrack->GetLogicalVolumeAtVertex()->GetRegion()->GetUserInformation()); - } - - // region info from step point - static G4UserRegionInformation* getRegionInformation(const G4StepPoint* aStepPoint) - { - return static_cast<G4UserRegionInformation*>(aStepPoint->GetPhysicalVolume()->GetLogicalVolume()->GetRegion()->GetUserInformation()); - } - - void Print() const - { - } - -private: - - bool _storeSecondaries; - bool _killTracks; - - G4double _threshold; -}; - -#endif
diff -N GlobalFieldType.hh --- GlobalFieldType.hh 24 Jun 2013 22:10:33 -0000 1.7 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,37 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/GlobalFieldType.hh,v 1.7 2013/06/24 22:10:33 jeremy Exp $ -#ifndef LCDD_GLOBALFIELDTYPE_HH -#define LCDD_GLOBALFIELDTYPE_HH 1 - -#include "Schema/ContentGroup.h" -/** - * @class GlobalFieldType - * @brief GlobalFieldType from schema. - */ -class GlobalFieldType -{ -public: - GlobalFieldType() - { - } - - virtual ~GlobalFieldType() - { - } - - const ContentSequence* get_content() const - { - return &m_sequence; - } - - void add_content(const std::string& tag, SAXObject* so) - { - ContentGroup::ContentItem ci = { tag, so }; - m_sequence.add_content(ci); - } - -private: - - ContentSequence m_sequence; -}; - -#endif
diff -N IdSpecType.hh --- IdSpecType.hh 24 Jun 2013 22:10:33 -0000 1.8 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,90 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/IdSpecType.hh,v 1.8 2013/06/24 22:10:33 jeremy Exp $ - -#ifndef LCDD_IDSPECTYPE_HH -#define LCDD_IDSPECTYPE_HH - -// GDML -#include "Processes/ReferenceTypeProcess.h" -#include "Schema/ContentGroup.h" - -#include <string> - -/** - @class IdSpecType - @brief IdSpecType from schema. - */ -class IdSpecType -{ -public: - - /** - * @class IdSpecType::idspecref - * @brief Reference to an idspec element. - * - */ - class idspecref: public SAXObject, public ReferenceType - { - public: - idspecref() - { - } - - virtual ~idspecref() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } - }; - -public: - IdSpecType() - { - } - - virtual ~IdSpecType() - { - } - - void set_name(const std::string& n) - { - m_name = n; - } - - void set_length(const std::string& l) - { - m_length = l; - } - - const std::string& get_name() const - { - return m_name; - } - - const std::string& get_length() const - { - return m_length; - } - - const ContentSequence* get_content() const - { - return &m_sequence; - } - - void add_content(const std::string& tag, SAXObject* so) - { - ContentGroup::ContentItem ci = { tag, so }; - m_sequence.add_content(ci); - } - -private: - - std::string m_name; - std::string m_length; - - ContentSequence m_sequence; -}; - -#endif
diff -N NonprojectiveCylinderSegmentationType.hh --- NonprojectiveCylinderSegmentationType.hh 24 Jun 2013 22:10:33 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,65 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/NonprojectiveCylinderSegmentationType.hh,v 1.5 2013/06/24 22:10:33 jeremy Exp $ - -#ifndef LCDD_NONPROJECTIVECYLINDERSEGMENTATIONTYPE_HH -#define LCDD_NONPROJECTIVECYLINDERSEGMENTATIONTYPE_HH 1 - -#include "SegmentationType.hh" - -#include <string> - -/** - @class NonprojectiveCylinderSegmentationType - @brief NonprojectiveCylinderSegmentationType from schema. - */ -class NonprojectiveCylinderSegmentationType: public SegmentationType -{ -public: - - NonprojectiveCylinderSegmentationType() - { - } - - virtual ~NonprojectiveCylinderSegmentationType() - { - } - -public: - - void set_gridSizeZ(const std::string& gsz) - { - m_gridSizeZ = gsz; - } - - void set_gridSizePhi(const std::string& gsp) - { - m_gridSizePhi = gsp; - } - - void set_lunit(const std::string& lunit) - { - m_lunit = lunit; - } - - const std::string& get_gridSizeZ() - { - return m_gridSizeZ; - } - - const std::string& get_gridSizePhi() - { - return m_gridSizePhi; - } - - const std::string& get_lunit() - { - return m_lunit; - } - -protected: - - std::string m_gridSizeZ; - std::string m_gridSizePhi; - std::string m_lunit; -}; - -#endif
diff -N NonprojectiveSegmentationType.hh --- NonprojectiveSegmentationType.hh 24 Jun 2013 22:10:33 -0000 1.6 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,76 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/NonprojectiveSegmentationType.hh,v 1.6 2013/06/24 22:10:33 jeremy Exp $ - -#ifndef LCDD_NONPROJECTIVESEGMENTATIONTYPE_HH -#define LCDD_NONPROJECTIVESEGMENTATIONTYPE_HH 1 - -#include "SegmentationType.hh" - -#include <string> - -/** - @class NonprojectiveSegmentationType - @brief NonprojectiveSegmentationType from schema. - */ -class NonprojectiveSegmentationType: public SegmentationType -{ -public: - - NonprojectiveSegmentationType() - { - } - - virtual ~NonprojectiveSegmentationType() - { - } - -public: - - void set_gridSizeX(const std::string& gsx) - { - m_gridSizeX = gsx; - } - - void set_gridSizeY(const std::string& gsy) - { - m_gridSizeY = gsy; - } - - void set_gridSizeZ(const std::string& gsz) - { - m_gridSizeZ = gsz; - } - - void set_lunit(const std::string& lunit) - { - m_lunit = lunit; - } - - const std::string& get_gridSizeX() - { - return m_gridSizeX; - } - - const std::string& get_gridSizeY() - { - return m_gridSizeY; - } - - const std::string& get_gridSizeZ() - { - return m_gridSizeZ; - } - - const std::string& get_lunit() - { - return m_lunit; - } - -protected: - - std::string m_gridSizeX; - std::string m_gridSizeY; - std::string m_gridSizeZ; - std::string m_lunit; -}; - -#endif
diff -N PhysVolIdType.hh --- PhysVolIdType.hh 24 Jun 2013 22:10:33 -0000 1.6 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,49 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/PhysVolIdType.hh,v 1.6 2013/06/24 22:10:33 jeremy Exp $ - -#ifndef LCDD_PHYSVOLIDTYPE_HH -#define LCDD_PHYSVOLIDTYPE_HH - -#include <string> - -/** - @class PhysVolIdType - @brief PhysVolIdType from schema. - */ -class PhysVolIdType -{ -public: - PhysVolIdType() - { - } - - virtual ~PhysVolIdType() - { - } - - void set_value(const std::string& v) - { - m_value = v; - } - - void set_field_name(const std::string& f) - { - m_field_name = f; - } - - const std::string& get_value() - { - return m_value; - } - - const std::string& get_field_name() - { - return m_field_name; - } - -private: - - std::string m_value; - std::string m_field_name; -}; - -#endif
diff -N ProjectiveCylinderSegmentationType.hh --- ProjectiveCylinderSegmentationType.hh 24 Jun 2013 22:10:33 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,53 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/ProjectiveCylinderSegmentationType.hh,v 1.5 2013/06/24 22:10:33 jeremy Exp $ - -#ifndef LCDD_PROJECTIVECYLINDERSEGMENTATIONTYPE_HH -#define LCDD_PROJECTIVECYLINDERSEGMENTATIONTYPE_HH 1 - -#include "SegmentationType.hh" - -#include <string> - -/** - @class ProjectiveCylinderSegmentationType - @brief ProjectiveCylinderSegmentationType from schema. - */ -class ProjectiveCylinderSegmentationType: public SegmentationType -{ -public: - - ProjectiveCylinderSegmentationType() - { - } - - virtual ~ProjectiveCylinderSegmentationType() - { - } - -public: - - void set_ntheta(const std::string& ntheta) - { - m_ntheta = ntheta; - } - - void set_nphi(const std::string& nphi) - { - m_nphi = nphi; - } - - const std::string& get_ntheta() const - { - return m_ntheta; - } - - const std::string& get_nphi() const - { - return m_nphi; - } - -protected: - - std::string m_ntheta, m_nphi; -}; - -#endif
diff -N ProjectiveZPlaneSegmentationType.hh --- ProjectiveZPlaneSegmentationType.hh 24 Jun 2013 22:10:33 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,53 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/ProjectiveZPlaneSegmentationType.hh,v 1.5 2013/06/24 22:10:33 jeremy Exp $ - -#ifndef LCDD_PROJECTIVEZPLANESEGMENTATIONTYPE_HH -#define LCDD_PROJECTIVEZPLANESEGMENTATIONTYPE_HH 1 - -#include "SegmentationType.hh" - -#include <string> - -/** - @class ProjectiveZPlaneSegmentationType - @brief ProjectiveZPlaneSegmentationType from schema. - */ -class ProjectiveZPlaneSegmentationType: public SegmentationType -{ -public: - - ProjectiveZPlaneSegmentationType() - { - } - - virtual ~ProjectiveZPlaneSegmentationType() - { - } - -public: - - void set_ntheta(const std::string& ntheta) - { - m_ntheta = ntheta; - } - - void set_nphi(const std::string& nphi) - { - m_nphi = nphi; - } - - const std::string& get_ntheta() const - { - return m_ntheta; - } - - const std::string& get_nphi() const - { - return m_nphi; - } - -protected: - - std::string m_ntheta, m_nphi; -}; - -#endif
diff -N RZBType.hh --- RZBType.hh 24 Jun 2013 22:10:33 -0000 1.4 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,70 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/RZBType.hh,v 1.4 2013/06/24 22:10:33 jeremy Exp $ -#ifndef LCDD_RZBTYPE_HH -#define LCDD_RZBTYPE_HH 1 - -#include <string> - -/** - * @class RZBType - * @brief The RZBType from lcdd_fields.xsd subschema. - */ -class RZBType -{ - -public: - RZBType() - { - } - - virtual ~RZBType() - { - } - - void set_r(const std::string& r) - { - m_r = r; - } - - void set_z(const std::string& z) - { - m_z = z; - } - - void set_Br(const std::string& Br) - { - m_Br = Br; - } - - void set_Bz(const std::string& Bz) - { - m_Bz = Bz; - } - - const std::string& get_r() const - { - return m_r; - } - - const std::string& get_z() const - { - return m_z; - } - - const std::string& get_Br() const - { - return m_Br; - } - - const std::string& get_Bz() const - { - return m_Bz; - } - -public: - std::string m_r; - std::string m_z; - std::string m_Br; - std::string m_Bz; -}; - -#endif
diff -N RZFieldMapType.hh --- RZFieldMapType.hh 24 Jun 2013 22:10:33 -0000 1.7 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,71 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/RZFieldMapType.hh,v 1.7 2013/06/24 22:10:33 jeremy Exp $ -#ifndef LCDD_RZFIELDMAPTYPE_HH -#define LCDD_RZFIELDMAPTYPE_HH 1 - -#include "FieldMapType.hh" - -/** - * @class RZFieldMapType - * @brief The RZFieldMapType from the lcdd_fields.lcdd subschema. - */ -class RZFieldMapType: public FieldMapType -{ - -public: - - RZFieldMapType() - { - } - - virtual ~RZFieldMapType() - { - } - - void set_num_bins_r(const std::string& num_bins_r) - { - m_num_bins_r = num_bins_r; - } - - const std::string& get_num_bins_r() const - { - return m_num_bins_r; - } - - void set_grid_size_r(const std::string& grid_size_r) - { - m_grid_size_r = grid_size_r; - } - - const std::string& get_grid_size_r() const - { - return m_grid_size_r; - } - - void set_num_bins_z(const std::string& num_bins_z) - { - m_num_bins_z = num_bins_z; - } - - const std::string& get_num_bins_z() const - { - return m_num_bins_z; - } - - void set_grid_size_z(const std::string& grid_size_z) - { - m_grid_size_z = grid_size_z; - } - - const std::string& get_grid_size_z() const - { - return m_grid_size_z; - } - -private: - std::string m_num_bins_r; - std::string m_grid_size_r; - std::string m_num_bins_z; - std::string m_grid_size_z; -}; - -#endif
diff -N RegionType.hh --- RegionType.hh 24 Jun 2013 22:10:33 -0000 1.11 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,149 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/RegionType.hh,v 1.11 2013/06/24 22:10:33 jeremy Exp $ - -#ifndef LCDD_REGIONTYPE_HH -#define LCDD_REGIONTYPE_HH 1 - -// GDML -#include "Saxana/SAXObject.h" -#include "Schema/ReferenceType.h" -#include "Schema/ContentGroup.h" -#include "Schema/ReferenceType.h" - -/** - @class RegionType - @brief RegionType from schema. - */ -class RegionType -{ - -public: - - /** - * @class RegionType::regionref - * @brief Reference to a region element. - */ - class regionref: public SAXObject, public ReferenceType - { - - public: - regionref() - { - } - - virtual ~regionref() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } - }; - -public: - RegionType() - { - } - - virtual ~RegionType() - { - } - - void set_name(const std::string& s) - { - m_name = s; - } - - void set_storeSecondaries(const std::string& s) - { - m_storeSecondaries = s; - } - - void set_killTracks(const std::string& killTracks) - { - m_killTracks = killTracks; - } - - void set_cut(const std::string& s) - { - m_cut = s; - } - - void set_lunit(const std::string& s) - { - m_lunit = s; - } - - void set_threshold(const std::string& s) - { - m_threshold = s; - } - - void set_eunit(const std::string& s) - { - m_eunit = s; - } - - const std::string& get_name() const - { - return m_name; - } - - const std::string& get_storeSecondaries() const - { - return m_storeSecondaries; - } - - const std::string& get_killTracks() const - { - return m_killTracks; - } - - const std::string& get_cut() const - { - return m_cut; - } - - const std::string& get_lunit() const - { - return m_lunit; - } - - const std::string& get_threshold() const - { - return m_threshold; - } - - const std::string& get_eunit() const - { - return m_eunit; - } - - void add_content(const std::string& tag, SAXObject* so) - { - ContentGroup::ContentItem ci = { tag, so }; - m_sequence.add_content(ci); - } - - const ContentSequence* get_content() const - { - return &m_sequence; - } - -private: - - ContentSequence m_sequence; - - std::string m_name; - - std::string m_storeSecondaries; - std::string m_killTracks; - - std::string m_cut; - std::string m_lunit; - - std::string m_threshold; - std::string m_eunit; -}; - -#endif
diff -N author.hh --- author.hh 24 Jun 2013 22:10:33 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,31 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/author.hh,v 1.5 2013/06/24 22:10:33 jeremy Exp $ - -#ifndef LCDD_AUTHOR_HH -#define LCDD_AUTHOR_HH 1 - -#include "Saxana/SAXObject.h" - -#include "AuthorType.hh" - -/** - @class author - @brief author element from schema. - */ -class author: public SAXObject, public AuthorType -{ -public: - author() - { - } - - virtual ~author() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N box_dipole.hh --- box_dipole.hh 24 Jun 2013 22:10:33 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,34 +0,0 @@
-// $Id: box_dipole.hh,v 1.2 2013/06/24 22:10:33 jeremy Exp $ -#ifndef LCDD_BOX_DIPOLE_HH -#define LCDD_BOX_DIPOLE_HH 1 - -// LCDD -#include "BoxDipoleType.hh" - -// GDML -#include "Saxana/SAXObject.h" - -/** - * @class box_dipole - * @brief A representation of the box_dipole class from the LCDD schema. - */ -class box_dipole: public SAXObject, public BoxDipoleType -{ - -public: - - box_dipole() - { - } - - virtual ~box_dipole() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N calorimeter.hh --- calorimeter.hh 24 Jun 2013 22:10:33 -0000 1.7 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,30 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/calorimeter.hh,v 1.7 2013/06/24 22:10:33 jeremy Exp $ -#ifndef LCDD_CALORIMETER_HH -#define LCDD_CALORIMETER_HH 1 - -#include "Saxana/SAXObject.h" - -#include "CalorimeterType.hh" - -/** - @class calorimeter - @brief calorimeter element from schema. - */ -class calorimeter: public SAXObject, public CalorimeterType -{ -public: - calorimeter() - { - } - - virtual ~calorimeter() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N cell_readout_2d.hh --- cell_readout_2d.hh 30 May 2013 00:04:12 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,31 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/cell_readout_2d.hh,v 1.1 2013/05/30 00:04:12 jeremy Exp $ - -#ifndef lcdd_cell_readout_2d_hh -#define lcdd_cell_readout_2d_hh 1 - -// LCDD -#include "CellReadout2DSegmentationType.hh" - -// GDML -#include "Saxana/SAXObject.h" - -class cell_readout_2d: public SAXObject, public CellReadout2DSegmentationType -{ - -public: - - cell_readout_2d() - { - } - - virtual ~cell_readout_2d() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N color.hh --- color.hh 24 Jun 2013 22:10:34 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,32 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/color.hh,v 1.5 2013/06/24 22:10:34 jeremy Exp $ -#ifndef LCDD_COLOR_HH -#define LCDD_COLOR_HH 1 - -// GDML -#include "Saxana/SAXObject.h" - -// LCDD -#include "ColorType.hh" - -/** - @class color - @brief color element from schema. - */ -class color: public SAXObject, public ColorType -{ -public: - color() - { - } - - virtual ~color() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N comment.hh --- comment.hh 24 Jun 2013 22:10:34 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,31 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/comment.hh,v 1.5 2013/06/24 22:10:34 jeremy Exp $ - -#ifndef LCDD_COMMENT_HH -#define LCDD_COMMENT_HH 1 - -#include "Saxana/SAXObject.h" - -#include "CommentType.hh" - -/** - @class comment - @brief comment element from schema. - */ -class comment: public SAXObject, public CommentType -{ -public: - comment() - { - } - - virtual ~comment() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N detector.hh --- detector.hh 24 Jun 2013 22:10:34 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,31 +0,0 @@
-// $Detector$ - -#ifndef LCDD_DETECTOR_HH -#define LCDD_DETECTOR_HH 1 - -#include "Saxana/SAXObject.h" - -#include "DetectorType.hh" - -/** - @class detector - @brief detector element from schema (in header). - */ -class detector: public SAXObject, public DetectorType -{ -public: - detector() - { - } - - virtual ~detector() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N dipole.hh --- dipole.hh 24 Jun 2013 22:10:34 -0000 1.4 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,30 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/dipole.hh,v 1.4 2013/06/24 22:10:34 jeremy Exp $ -#ifndef LCDD_DIPOLE_HH -#define LCDD_DIPOLE_HH - -#include "Saxana/SAXObject.h" - -#include "DipoleType.hh" - -/** - * @class dipole - * @class The dipole element from the lcdd_fields.xsd schema. - */ -class dipole: public SAXObject, public DipoleType -{ -public: - dipole() - { - } - - virtual ~dipole() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N dipole_coeff.hh --- dipole_coeff.hh 24 Jun 2013 22:10:34 -0000 1.4 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,28 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/dipole_coeff.hh,v 1.4 2013/06/24 22:10:34 jeremy Exp $ -#ifndef LCDD_DIPOLE_COEFF_HH -#define LCDD_DIPOLE_COEFF_HH 1 - -#include "DipoleCoeffType.hh" - -/** - * @class dipole_coeff - * @brief The dipole_coeff element from the lcdd_fields.xsd schema. - */ -class dipole_coeff: public SAXObject, public DipoleCoeffType -{ -public: - dipole_coeff() - { - } - - virtual ~dipole_coeff() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N field.hh --- field.hh 24 Jun 2013 22:10:34 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,30 +0,0 @@
-#ifndef LCDD_FIELD_HH -#define LCDD_FIELD_HH 1 - -#include "Saxana/SAXObject.h" - -#include "FieldType.hh" - -/** - @class field - @brief field element from schema. - */ -class field: public SAXObject, public FieldType -{ -public: - - field() - { - } - - virtual ~field() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N field_map_3d.hh --- field_map_3d.hh 24 Jun 2013 22:10:34 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,30 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/field_map_3d.hh,v 1.3 2013/06/24 22:10:34 jeremy Exp $ -#ifndef LCDD_FIELD_MAP_3D_HH -#define LCDD_FIELD_MAP_3D_HH 1 - -#include "FieldMap3DType.hh" - -/** - * @class - * @brief - */ -class field_map_3d: public SAXObject, public FieldMap3DType -{ - -public: - - field_map_3d() - { - } - - virtual ~field_map_3d() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N generator.hh --- generator.hh 24 Jun 2013 22:10:34 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,31 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/generator.hh,v 1.5 2013/06/24 22:10:34 jeremy Exp $ - -#ifndef LCDD_GENERATOR_HH -#define LCDD_GENERATOR_HH 1 - -#include "Saxana/SAXObject.h" - -#include "GeneratorType.hh" - -/** - @class generator - @brief generator element from schema. - */ -class generator: public SAXObject, public GeneratorType -{ -public: - generator() - { - } - - virtual ~generator() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N global_field.hh --- global_field.hh 24 Jun 2013 22:10:34 -0000 1.6 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,31 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/global_field.hh,v 1.6 2013/06/24 22:10:34 jeremy Exp $ - -#ifndef LCDD_GLOBAL_FIELD_HH -#define LCDD_GLOBAL_FIELD_HH 1 - -#include "Saxana/SAXObject.h" - -#include "GlobalFieldType.hh" - -/** - @class global_field - @brief global_field element from schema. - */ -class global_field: public SAXObject, public GlobalFieldType -{ -public: - global_field() - { - } - - virtual ~global_field() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N global_grid_xy.hh --- global_grid_xy.hh 24 Jun 2013 22:10:34 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,35 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/global_grid_xy.hh,v 1.2 2013/06/24 22:10:34 jeremy Exp $ -#ifndef LCDD_GLOBAL_GRID_XY_HH -#define LCDD_GLOBAL_GRID_XY_HH 1 - -#include "GlobalGridXYSegmentationType.hh" - -#include <string> - -#include "Saxana/SAXObject.h" - -/** - @class GlobalGridXYSegmentationType - @brief GlobalGridXYSegmentation from schema. - */ -class global_grid_xy: public SAXObject, public GlobalGridXYSegmentationType -{ -public: - - global_grid_xy() - { - } - - virtual ~global_grid_xy() - { - } - -public: - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N grid_xyz.hh --- grid_xyz.hh 24 Jun 2013 22:10:34 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,32 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/grid_xyz.hh,v 1.5 2013/06/24 22:10:34 jeremy Exp $ - -#ifndef LCDD_GRID_XYZ_HH -#define LCDD_GRID_XYZ_HH 1 - -#include "NonprojectiveSegmentationType.hh" - -#include "Saxana/SAXObject.h" - -/** - @class grid_xyz - @brief grid_xyz element from schema. - */ -class grid_xyz: public SAXObject, public NonprojectiveSegmentationType -{ - -public: - grid_xyz() - { - } - - virtual ~grid_xyz() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N header.hh --- header.hh 24 Jun 2013 22:10:34 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,31 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/header.hh,v 1.5 2013/06/24 22:10:34 jeremy Exp $ - -#ifndef LCDD_HEADER_HH -#define LCDD_HEADER_HH 1 - -#include "Saxana/SAXObject.h" - -#include "HeaderType.hh" - -/** - @class header - @brief header element from schema. - */ -class header: public SAXObject, public HeaderType -{ -public: - header() - { - } - - virtual ~header() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N idspecElem.hh --- idspecElem.hh 24 Jun 2013 22:10:34 -0000 1.4 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,31 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/idspecElem.hh,v 1.4 2013/06/24 22:10:34 jeremy Exp $ -#ifndef LCDD_IDSPECELEM_HH -#define LCDD_IDSPECELEM_HH - -#include "Saxana/SAXObject.h" - -#include "IdSpecType.hh" - -/** - @class idspecElem - @brief idspec element class. - */ -class idspecElem: public SAXObject, public IdSpecType -{ - -public: - idspecElem() - { - } - - virtual ~idspecElem() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N limit.hh --- limit.hh 24 Jun 2013 22:10:34 -0000 1.6 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,30 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/limit.hh,v 1.6 2013/06/24 22:10:34 jeremy Exp $ -#ifndef LCDD_LIMIT_HH -#define LCDD_LIMIT_HH 1 - -#include "LimitParamType.hh" - -#include "Saxana/SAXObject.h" - -/** - * @class limit - * @brief Element limit from the lcdd_limits.lcdd subschema. - */ -class limit: public SAXObject, public LimitParamType -{ -public: - limit() - { - } - - virtual ~limit() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N limitset.hh --- limitset.hh 24 Jun 2013 22:10:34 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,31 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/limitset.hh,v 1.5 2013/06/24 22:10:34 jeremy Exp $ -#ifndef LCDD_LIMITSET_HH -#define LCDD_LIMITSET_HH 1 - -#include "LimitSetType.hh" - -#include "Saxana/SAXObject.h" - -/** - * @class limitset - * @brief Element limitset from the lcdd_limits.lcdd subschema. - */ -class limitset: public SAXObject, public LimitSetType -{ -public: - - limitset() - { - } - - virtual ~limitset() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N nonprojective_cylinder.hh --- nonprojective_cylinder.hh 24 Jun 2013 22:10:34 -0000 1.4 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,32 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/nonprojective_cylinder.hh,v 1.4 2013/06/24 22:10:34 jeremy Exp $ - -#ifndef LCDD_NONPROJECTIVE_CYLINDER_HH -#define LCDD_NONPROJECTIVE_CYLINDER_HH 1 - -#include "NonprojectiveCylinderSegmentationType.hh" - -#include "Saxana/SAXObject.h" - -/** - @class nonprojective_cylinder - @brief nonprojective_cylinder element from schema. - */ -class nonprojective_cylinder: public SAXObject, public NonprojectiveCylinderSegmentationType -{ - -public: - nonprojective_cylinder() - { - } - - virtual ~nonprojective_cylinder() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N optical_calorimeter.hh --- optical_calorimeter.hh 24 Jun 2013 22:10:34 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,31 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/optical_calorimeter.hh,v 1.2 2013/06/24 22:10:34 jeremy Exp $ -#ifndef LCDD_OPTICAL_CALORIMETER_HH -#define LCDD_OPTICAL_CALORIMETER_HH 1 - -#include "Saxana/SAXObject.h" - -#include "OpticalCalorimeterType.hh" - -/** - - @class optical_calorimeter - @brief optical_calorimeter element from schema. - */ -class optical_calorimeter: public SAXObject, public OpticalCalorimeterType -{ -public: - optical_calorimeter() - { - } - - virtual ~optical_calorimeter() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N physvolidElem.hh --- physvolidElem.hh 24 Jun 2013 22:10:34 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,31 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/physvolidElem.hh,v 1.3 2013/06/24 22:10:34 jeremy Exp $ -#ifndef physvolid_hh -#define physvolid_hh 1 - -#include "Saxana/SAXObject.h" - -#include "PhysVolIdType.hh" - -/** - @class physvolidElem - @brief physvolid element from schema. - */ -class physvolidElem: public SAXObject, public PhysVolIdType -{ - -public: - physvolidElem() - { - } - - virtual ~physvolidElem() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N projective_cylinder.hh --- projective_cylinder.hh 24 Jun 2013 22:10:34 -0000 1.4 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,32 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/projective_cylinder.hh,v 1.4 2013/06/24 22:10:34 jeremy Exp $ - -#ifndef LCDD_PROJECTIVE_CYLINDER_HH -#define LCDD_PROJECTIVE_CYLINDER_HH 1 - -#include "ProjectiveCylinderSegmentationType.hh" - -#include "Saxana/SAXObject.h" - -/** - @class projective_cylinder - @brief projective_cylinder element from schema. - */ -class projective_cylinder: public SAXObject, public ProjectiveCylinderSegmentationType -{ - -public: - projective_cylinder() - { - } - - virtual ~projective_cylinder() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N projective_zplane.hh --- projective_zplane.hh 24 Jun 2013 22:10:34 -0000 1.4 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,32 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/projective_zplane.hh,v 1.4 2013/06/24 22:10:34 jeremy Exp $ - -#ifndef LCDD_PROJECTIVE_ZPLANE_HH -#define LCDD_PROJECTIVE_ZPLANE_HH 1 - -#include "ProjectiveZPlaneSegmentationType.hh" - -#include "Saxana/SAXObject.h" - -/** - @class projective_zplane - @brief projective_zplane element from schema. - */ -class projective_zplane: public SAXObject, public ProjectiveZPlaneSegmentationType -{ - -public: - projective_zplane() - { - } - - virtual ~projective_zplane() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N region.hh --- region.hh 24 Jun 2013 22:10:34 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,29 +0,0 @@
-#ifndef LCDD_REGION_HH -#define LCDD_REGION_HH 1 - -#include "Saxana/SAXObject.h" - -#include "RegionType.hh" - -/** - @class region - @brief region element from schema. - */ -class region: public SAXObject, public RegionType -{ -public: - region() - { - } - - virtual ~region() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N rz_field_map.hh --- rz_field_map.hh 24 Jun 2013 22:10:34 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,28 +0,0 @@
-// $Header: /cvs/lcd/lcdd/include/Attic/rz_field_map.hh,v 1.5 2013/06/24 22:10:34 jeremy Exp $ -#ifndef LCDD_RZ_FIELD_MAP_HH -#define LCDD_RZ_FIELD_MAP_HH 1 - -#include "RZFieldMapType.hh" - -/** - * @class rz_field_map - * @brief The rz_field_map element from lcdd_fields.xsd subschema. - */ -class rz_field_map: public SAXObject, public RZFieldMapType -{ -public: - rz_field_map() - { - } - - virtual ~rz_field_map() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N scorer.hh --- scorer.hh 24 Jun 2013 22:10:34 -0000 1.4 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,30 +0,0 @@
-#ifndef LCDD_SCORER_HH -#define LCDD_SCORER_HH - -#include "ScorerType.hh" - -#include "Saxana/SAXObject.h" -#include "SensitiveDetectorType.hh" - -/** - * @class scorer - * @brief scorer element from schema. - */ -class scorer: public SAXObject, public ScorerType -{ -public: - scorer() - { - } - - virtual ~scorer() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N solenoid.hh --- solenoid.hh 24 Jun 2013 22:10:34 -0000 1.6 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,31 +0,0 @@
-// $Id: solenoid.hh,v 1.6 2013/06/24 22:10:34 jeremy Exp $ - -#ifndef LCDD_SOLENOID_HH -#define LCDD_SOLENOID_HH - -#include "SolenoidType.hh" - -#include "Saxana/SAXObject.h" -/** - @class solenoid - @brief solenoid element from schema. - */ - -class solenoid: public SAXObject, public SolenoidType -{ -public: - solenoid() - { - } - - virtual ~solenoid() - { - } - - virtual SAXObject::Type type() - { - return SAXObject::element; - } -}; - -#endif
diff -N tracker.hh --- tracker.hh 24 Jun 2013 22:10:34 -0000 1.7 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,31 +0,0 @@
-#ifndef LCDD_TRACKER_HH -#define LCDD_TRACKER_HH 1 - -#include "TrackerType.hh" - -#include "Saxana/SAXObject.h" -#include "SensitiveDetectorType.hh" - -/** - * @class tracker - * @brief tracker element from schema. - */ -class tracker: public SAXObject, public TrackerType -{ -public: - tracker() - { - } - - virtual ~tracker() - { - } - - virtual SAXObject::Type type() - { - //std::cout << "tracker::type()" << std::endl; - return SAXObject::element; - } -}; - -#endif
Use REPLY-ALL to reply to list
To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1