Skip to content

Commit

Permalink
Merge pull request #3087 from skaplanhex/PLTSimulation_710pre4
Browse files Browse the repository at this point in the history
Sim -- Add PLT To Event Simulation
  • Loading branch information
ktf committed Mar 31, 2014
2 parents 9c32a10 + 39fb4f1 commit 9e9377d
Show file tree
Hide file tree
Showing 5 changed files with 358 additions and 268 deletions.
@@ -1,5 +1,5 @@
#ifndef Forward_PLTSensitiveDetector_h
#define Forward_PLTSensitiveDetector_h
#ifndef Forward_PltSD_h
#define Forward_PltSD_h

// system include files

Expand Down Expand Up @@ -27,17 +27,17 @@ class UpdatablePSimHit;
class G4ProcessTypeEnumerator;
class G4TrackToParticleID;

class PLTSensitiveDetector : public SensitiveTkDetector,
class PltSD : public SensitiveTkDetector,
public Observer<const BeginOfEvent*>,
public Observer<const BeginOfTrack*>,
public Observer<const BeginOfJob*> {

public:

PLTSensitiveDetector(std::string, const DDCompactView &,
PltSD(std::string, const DDCompactView &,
SensitiveDetectorCatalog &,
edm::ParameterSet const &, const SimTrackManager*);
virtual ~PLTSensitiveDetector();
virtual ~PltSD();

virtual bool ProcessHits(G4Step *,G4TouchableHistory *);
virtual uint32_t setDetUnitId(G4Step*);
Expand Down Expand Up @@ -78,4 +78,4 @@ class PLTSensitiveDetector : public SensitiveTkDetector,

};

#endif
#endif
3 changes: 2 additions & 1 deletion SimG4CMS/Forward/plugins/module.cc
Expand Up @@ -5,7 +5,7 @@
#include "SimG4CMS/Forward/interface/CastorTestAnalysis.h"
#include "SimG4CMS/Forward/interface/ZdcTestAnalysis.h"
#include "SimG4CMS/Forward/interface/DoCastorAnalysis.h"
#include "SimG4CMS/Forward/interface/PLTSensitiveDetector.h"
#include "SimG4CMS/Forward/interface/PltSD.h"

#include "SimG4CMS/Forward/interface/BscTest.h"
#include "SimG4CMS/Forward/interface/BscSD.h"
Expand All @@ -23,6 +23,7 @@ typedef ZdcSD ZdcSensitiveDetector;
DEFINE_SENSITIVEDETECTOR(ZdcSensitiveDetector);
typedef BscSD BSCSensitiveDetector;
DEFINE_SENSITIVEDETECTOR(BSCSensitiveDetector);
typedef PltSD PLTSensitiveDetector;
DEFINE_SENSITIVEDETECTOR(PLTSensitiveDetector);
typedef Bcm1fSD BCM1FSensitiveDetector;
DEFINE_SENSITIVEDETECTOR(BCM1FSensitiveDetector);
Expand Down
259 changes: 0 additions & 259 deletions SimG4CMS/Forward/src/PLTSensitiveDetector.cc

This file was deleted.

0 comments on commit 9e9377d

Please sign in to comment.