]> git.uio.no Git - u/mrichter/AliRoot.git/blame - AliGeant4/AliSensitiveDetector.h
Updated class description: added class title, author;
[u/mrichter/AliRoot.git] / AliGeant4 / AliSensitiveDetector.h
CommitLineData
676fb573 1// $Id$
d569eaaa 2// Category: digits+hits
676fb573 3//
7005154f 4// Author: I. Hrivnacova
5//
6// Class AliSensitiveDetector
7// --------------------------
8// The sensitive detector class,
9// it implements G4VSensitiveDetector::ProcessHits()
10// with AliDetector::StepManager().
676fb573 11
12#ifndef ALI_SENSITIVE_DETECTOR_H
13#define ALI_SENSITIVE_DETECTOR_H
14
15#include "TG4VSensitiveDetector.h"
16
17#include <globals.hh>
18
19class AliModule;
b318fb5e 20class AliMCQA;
676fb573 21
22class G4HCofThisEvent;
23class G4Step;
24
25class AliSensitiveDetector : public TG4VSensitiveDetector
26{
27 public:
28 AliSensitiveDetector(G4String sdName, AliModule* module);
29 AliSensitiveDetector(G4String sdName, AliModule* module, G4int id);
30 AliSensitiveDetector(const AliSensitiveDetector& right);
31 // --> protected
32 // AliSensitiveDetector();
33 virtual ~AliSensitiveDetector();
34
35 // operators
36 AliSensitiveDetector& operator=(const AliSensitiveDetector& right);
37
38 // methods
b318fb5e 39 virtual void Initialize(G4HCofThisEvent*HCE);
9bcb6317 40 virtual void UserProcessHits(const G4Track* track, const G4Step* step);
676fb573 41
42 protected:
43 AliSensitiveDetector();
44
45 private:
b318fb5e 46 // data members
676fb573 47 AliModule* fModule; //AliModule
b318fb5e 48 G4int fModuleID; //AliModule index in AliRun::fModules
49 AliMCQA* fMCQA; //AliMCQA
676fb573 50};
51
52#endif //ALI_SENSITIVE_DETECTOR_H
53
54