Line data Source code
1 : #ifndef AliHMPIDvG4_h
2 : #define AliHMPIDvG4_h
3 :
4 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 : * See cxx source for full Copyright notice */
6 :
7 : //.
8 : //HMPID class for new geometry based on TGeo to test G4 production
9 : //.
10 : //.
11 :
12 : #include "AliHMPIDv3.h" //base class
13 :
14 : class AliHMPIDvG4 : public AliHMPIDv3 //TObject-TNamed-AliModule-AliDetector-AliHMPID-AliHMPIDv3
15 : {
16 : public:
17 0 : AliHMPIDvG4() :AliHMPIDv3( ),fMaxFeed(10) {;} // default ctor
18 0 : AliHMPIDvG4(const char *name, const char *title):AliHMPIDv3(name,title),fMaxFeed(10) {;} // named ctor
19 0 : virtual ~AliHMPIDvG4() {;} // dtor
20 : void StepManager ( ); // from AliModule invoked from AliMC::Stepping()
21 : void GenFee (Float_t qtot ); // generates feedback photons
22 0 : void SetMaxFeed(Int_t max) {fMaxFeed = max;}
23 : private:
24 : Int_t fMaxFeed;
25 12 : ClassDef(AliHMPIDvG4,1) //HMPID full version for simulation
26 : };
27 :
28 : #endif
|