PandaRoot
PndEmcHdrFiller.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 // -------------------------------------------------------------------------
14 // ----- PndEmcHdrFiller header file -----
15 // ----- Created 21/04/07 by S.Spataro -----
16 // -------------------------------------------------------------------------
17 //#pragma once
18 #ifndef PNDEMCHDRFILLER_H
19 #define PNDEMCHDRFILLER_H
20 
21 #include "FairTask.h"
22 #include "PndEmcHit.h"
23 #include "PndEmcCluster.h"
24 #include "TVector3.h"
25 
26 class TClonesArray;
27 class PndEmcHeader;
28 
33 class PndEmcHdrFiller : public FairTask {
34 
35  public:
38 
41 
43  virtual InitStatus Init();
44 
46  virtual void Exec(Option_t *opt);
47 
48  PndEmcHeader *AddHit(Double32_t ene_hit, Int_t mult_hit, Int_t mult_digi, Double32_t ene_clu, Int_t mult_clu, TVector3 p_clu);
49 
50  private:
52  TClonesArray *fHitArray;
53 
55  TClonesArray *fDigiArray;
56 
58  TClonesArray *fCluArray;
59 
61  TClonesArray *fHdrArray;
62 
64  PndEmcHdrFiller &operator=(const PndEmcHdrFiller &) { return *this; };
65 
66  ClassDef(PndEmcHdrFiller, 1);
67 };
68 
69 #endif
PndEmcHeader * AddHit(Double32_t ene_hit, Int_t mult_hit, Int_t mult_digi, Double32_t ene_clu, Int_t mult_clu, TVector3 p_clu)
virtual InitStatus Init()
virtual void Exec(Option_t *opt)
Task to create Emc header.