Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
V0BasicFinder.h
1/*
2 * V0BasicFinder.h
3 *
4 * Created on: 05-05-2022
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HALV0BASICFINDER_H_
10#define HALV0BASICFINDER_H_
11
12#include "CutMonitor.h"
13#include "TrackAna.h"
14
15#include <Rtypes.h>
16#include <RtypesCore.h>
17
18class TClonesArray;
19
20namespace Hal {
21 class V0Candidate;
22 class TrackCut;
23 class TwoTrackCut;
24
29 class V0BasicFinder : public TrackAna {
30 protected:
31 Int_t fPosPdg;
32 Int_t fNegPdg;
33 Int_t fV0Pdg;
34 Double_t fPosMass;
35 Double_t fNegMass;
36 Double_t fV0Mass;
37 Bool_t fFirstV0Finder;
38 Bool_t fWrite;
39 V0Candidate* fV0Candiate;
40 TClonesArray* fV0Tracks;
41 virtual void ProcessEvent();
42 virtual Task::EInitFlag Init();
43 virtual void LinkCollections();
44
45 public:
47 void Write() { fWrite = kTRUE; };
48 virtual void Exec(Option_t* option);
55 void SetPDG(Int_t dau1, Int_t dau2, Int_t v0);
62 void SetV0Container(const V0Candidate& vo);
68 virtual void AddNegDauCut(const TrackCut& dau_neg, Option_t* opt = "");
74 virtual void AddPosDauCut(const TrackCut& pos_cut, Option_t* opt = "");
80 virtual void AddNegDauCutMon(const CutMonitor& mon, Option_t* opt = "");
86 virtual void AddPosDauCutMon(const CutMonitor& mon, Option_t* opt = "");
92 virtual void AddCandicateCut(const TwoTrackCut& obj, Option_t* opt = "");
98 virtual void AddCandicateCutMon(const CutMonitor& mon, Option_t* opt = "");
99 virtual void AddCut(const Cut& /*cut*/, Option_t* /*opt=""*/) {};
100 virtual void AddCutMonitor(const CutMonitor& /*mon*/, Option_t* /*opt=""*/) {};
101 virtual Package* Report() const;
102 virtual ~V0BasicFinder();
103 ClassDef(V0BasicFinder, 1)
104 };
105} // namespace Hal
106#endif /* HALV0BASICFINDER_H_ */
Definition Cut.h:40
virtual void ProcessEvent()
virtual void AddCandicateCut(const TwoTrackCut &obj, Option_t *opt="")
virtual void AddPosDauCutMon(const CutMonitor &mon, Option_t *opt="")
virtual void Exec(Option_t *option)
virtual void AddCut(const Cut &, Option_t *)
virtual void AddPosDauCut(const TrackCut &pos_cut, Option_t *opt="")
virtual void LinkCollections()
virtual void AddCandicateCutMon(const CutMonitor &mon, Option_t *opt="")
virtual void AddNegDauCutMon(const CutMonitor &mon, Option_t *opt="")
void SetPDG(Int_t dau1, Int_t dau2, Int_t v0)
virtual void AddCutMonitor(const CutMonitor &, Option_t *)
virtual Package * Report() const
virtual Task::EInitFlag Init()
void SetV0Container(const V0Candidate &vo)
virtual void AddNegDauCut(const TrackCut &dau_neg, Option_t *opt="")