star-travex
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
StiHifyHistContainer.h
Go to the documentation of this file.
1 #ifndef StiHifyHistContainer_h
2 #define StiHifyHistContainer_h
3 
4 #include <set>
5 #include <string>
6 
7 #include "TH1I.h"
8 #include "TH2I.h"
9 #include "TH2F.h"
10 
11 #include "travex/HistContainer.h"
12 #include "StiHify/StiHifyEvent.h"
15 
16 
17 class StiHifyHistContainer : public tvx::HistContainer
18 {
19 public:
20 
21  StiHifyHistContainer(const StiHifyPrgOptions& prgOpts, const char* name, TDirectory* motherDir = 0, Option_t* option = "");
22 
23  void FillHists(const StiHifyEvent &event, StiNodeHitStatus hitStatus=StiNodeHitStatus::Any, bool onlyNodesWithCandidates=false);
24  virtual void FillDerivedHists();
25 
26 protected:
27 
28  void FillHists(const TStiKalmanTrackNode &trkNode);
29  void FillHistsHitsAccepted(const TStiKalmanTrackNode &trkNode);
30  void FillHistsHitsRejected(const TStiKalmanTrackNode &trkNode);
31 
32  // These are only aliases to created histograms
42  TH2F* hActiveLayerCounts; // Defined as float because we calculate a ratio
43  // Added ZWM
45 
46 private:
47 
49 };
50 
51 #endif
void FillHistsHitsAccepted(const TStiKalmanTrackNode &trkNode)
Processes and controls user options provided in the command line.
void FillHistsHitsRejected(const TStiKalmanTrackNode &trkNode)
void FillHists(const StiHifyEvent &event, StiNodeHitStatus hitStatus=StiNodeHitStatus::Any, bool onlyNodesWithCandidates=false)
const StiHifyPrgOptions & fPrgOptions
Command line arguments and options requested by the user.
StiNodeHitStatus
StiHifyHistContainer(const StiHifyPrgOptions &prgOpts, const char *name, TDirectory *motherDir=0, Option_t *option="")
virtual void FillDerivedHists()
Creates X and Y projections from filled 2D histograms.