Commit in projects/lcdd/branches/v04-00-00-pre/include/lcdd/geant4 on MAIN
VUserTrackInformation.hh+30added 3165
Add virtual user track information class to LCDD, that will actually be implemented within SLIC.

projects/lcdd/branches/v04-00-00-pre/include/lcdd/geant4
VUserTrackInformation.hh added at 3165
--- projects/lcdd/branches/v04-00-00-pre/include/lcdd/geant4/VUserTrackInformation.hh	                        (rev 0)
+++ projects/lcdd/branches/v04-00-00-pre/include/lcdd/geant4/VUserTrackInformation.hh	2014-07-02 00:01:15 UTC (rev 3165)
@@ -0,0 +1,30 @@
+/*
+ * VUserTrackInformation.hh
+ *
+ *  Created on: Jun 24, 2014
+ *      Author: jeremym
+ */
+#ifndef LCDD_GEANT4_VUSERTRACKINFORMATION_HH_
+#define LCDD_GEANT4_VUSERTRACKINFORMATION_HH_
+
+#include "G4Track.hh"
+
+/**
+ * A pure virtual class for track information in LCDD,
+ * which allows an external module to define the implementation,
+ * e.g. SLIC.
+ */
+class VUserTrackInformation : public G4VUserTrackInformation {
+
+	/**
+	 * Update the track information from a G4Track.
+	 * @param The G4Track associated to the track information.
+	 */
+	//virtual void setTrack(const G4Track* track) = 0;
+
+public:
+
+	virtual void setHasTrackerHit() = 0;
+};
+
+#endif /* VUSERTRACKINFORMATION_HH_ */
SVNspam 0.1


Use REPLY-ALL to reply to list

To unsubscribe from the LCDET-SVN list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCDET-SVN&A=1