~durga/maus/rel709

« back to all changes in this revision

Viewing changes to src/common_cpp/DataStructure/Step.hh

  • Committer: Adam Dobbs
  • Date: 2014-12-11 13:26:05 UTC
  • mfrom: (659.1.96 release-candidate)
  • Revision ID: phuccj@gmail.com-20141211132605-6g6j2927elggi2q6
Tags: MAUS-v0.9.2
MAUS-v0.9.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#ifndef _SRC_COMMON_CPP_DATASTRUCTURE_STEP_HH_
18
18
#define _SRC_COMMON_CPP_DATASTRUCTURE_STEP_HH_
19
19
 
 
20
#include <string>
20
21
#include <vector>
21
22
 
22
23
#include "src/common_cpp/Utils/VersionNumber.hh"
104
105
    /** Sets the electric field at the step point */
105
106
    void SetEField(ThreeVector field);
106
107
 
 
108
    /** Returns the G4Material name at the step point */
 
109
    std::string GetMaterial() const;
 
110
 
 
111
    /** Sets the G4Material name at the step point */
 
112
    void SetMaterial(std::string material);
 
113
 
 
114
    /** Returns the G4Volume name at the step point */
 
115
    std::string GetVolume() const;
 
116
 
 
117
    /** Sets the G4Volume name at the step point */
 
118
    void SetVolume(std::string volume);
 
119
 
107
120
  private:
108
121
    ThreeVector _position;
109
122
    ThreeVector _momentum;
110
 
    ThreeVector _spin; // added
 
123
    ThreeVector _spin;
111
124
    ThreeVector _bfield;
112
125
    ThreeVector _efield;
113
126
 
117
130
    double _energy;
118
131
    double _energy_deposited;
119
132
 
 
133
    std::string _volume;
 
134
    std::string _material;
 
135
 
120
136
    MAUS_VERSIONED_CLASS_DEF(Step)
121
137
};
122
138
}