PandaRoot
PndSttHelixHitProducer.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 #ifndef PNDSTTHELIXHITPRODUCER_H
14 #define PNDSTTHELIXHITPRODUCER_H 1
15 
16 #include <PndPersistencyTask.h>
17 #include "PndSttHelixHit.h"
18 #include "PndGeoSttPar.h"
19 
20 #include "TVector3.h"
21 #include "TH1F.h"
22 #include "TH2F.h"
23 
24 class TClonesArray;
25 class TObjectArray;
26 
28 
29  public:
32 
33  PndSttHelixHitProducer(Int_t verbose);
34 
37 
39  virtual InitStatus Init();
40 
42  virtual void Exec(Option_t *opt);
43 
44  void WriteHistograms();
45 
47  void SetPersistence(Bool_t persistence) { SetPersistency(persistence); }
48 
49  void SetParContainers();
50 
51  private:
53  TClonesArray *fPointArray;
55  TClonesArray *fHitArray;
57  TClonesArray *fTrackArray;
59  TClonesArray *fTrackCandArray;
60 
62  TClonesArray *fHelixHitArray;
63  // CHECK added
65  TClonesArray *fTubeArray;
66 
67  // histograms
68  TH1F *hx, *hy, *hz;
69  TH1F *hxs, *hys, *hzs;
70  TH2F *hzresvsslope;
71 
72  PndGeoSttPar *fSttParameters; // CHECK added
73 
74  ClassDef(PndSttHelixHitProducer, 1);
75 };
76 
77 #endif
virtual void Exec(Option_t *opt)
void SetPersistency(Bool_t val=kTRUE)
virtual InitStatus Init()
void SetPersistence(Bool_t persistence)