MpdItsHitProducer5spd.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. // -------------------------------------------------------------------------
  2. // ----- MpdItsHitProducer5spd header file -----
  3. // ---- 13.12.2016 -----
  4. // -------------------------------------------------------------------------
  5. #ifndef MPDITSHITProducer5spd_H
  6. #define MPDITSHITProducer5spd_H 1
  7. #include "MpdItsHit5spd.h"
  8. #include "FairTask.h"
  9. #include "TH1F.h"
  10. #include "TFile.h"
  11. #include <TString.h>
  12. #include "TVector3.h"
  13. #include <iostream>
  14. #include <map>
  15. class TClonesArray;
  16. class MpdItsHitProducer5spd : public FairTask
  17. {
  18. public:
  19. /** Default constructor **/
  20. MpdItsHitProducer5spd();
  21. //MpdItsHitProducer5spd(const char* fileGeo);
  22. /** Destructor **/
  23. virtual ~MpdItsHitProducer5spd();
  24. /** Virtual method Init **/
  25. virtual InitStatus Init();
  26. void SetParContainers(); // get par. containers
  27. /** Virtual method Exec **/
  28. virtual void Exec(Option_t* opt);
  29. virtual void Finish();
  30. MpdItsHit5spd* AddHit(Int_t trackID, Int_t detID);
  31. void CreateStructure();
  32. private:
  33. /** Input array of MpdStsPoints **/
  34. TClonesArray* fPointArray;
  35. /** Output array of MpdStsHit **/
  36. TClonesArray* fDigiArray;
  37. /** Geo file to use **/
  38. TString fFileGeo;
  39. Float_t eneThr;
  40. //typedef std::map<Int_t, Float_t> mapper;
  41. //mapper emcX, emcY, emcZ, emcTheta, emcPhi, emcTau;
  42. ClassDef(MpdItsHitProducer5spd,0)
  43. };
  44. #endif