123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- // -------------------------------------------------------------------------
- // ----- MpdEmcHitCreator header file -----
- // -------------------------------------------------------------------------
- #ifndef MPDEMCHITCREATION_H
- #define MPDEMCHITCREATION_H 1
- #include <iostream>
- #include "FairTask.h"
- #include "MpdEmcHit.h"
- #include "MpdEmcGeoParams.h"
- class TClonesArray;
- class MpdEmcHitCreation : public FairTask {
- public:
- /** Default constructor **/
- MpdEmcHitCreation();
- /** Destructor **/
- ~MpdEmcHitCreation();
- /** Virtual method Init **/
- virtual InitStatus Init();
- /** Virtual method Exec **/
- virtual void Exec(Option_t* opt);
- void virtual Finish();
- private:
- /** Input array of MpdEmcPoints **/
- TClonesArray* fPointArray;
- /** Input array of MCTracks **/
- TClonesArray* fMcTrackArray;
- /** Output array of MpdEmcHit **/
- TClonesArray* fDigiArray;
- Int_t GetSecId(Double_t , Double_t);
- Int_t GetRowId(Double_t , Double_t);
- Int_t GetTowerId(Double_t, Double_t, Double_t, Int_t, Double_t&, Double_t&, Double_t&, Double_t&, Double_t&);
- MpdEmcHit* SearchHit(UInt_t sec, UInt_t row, UInt_t tower);
- MpdEmcGeoParams* fGeoPar;
- ClassDef(MpdEmcHitCreation, 2);
- };
- #endif
|