PandaRoot
PndEmcMakeRecoHit.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 // File and Version Information:
15 // $Id: $
16 // Software developed for the PANDA Detector at GSI.
17 //---------------------------------------------------------------------
18 //#pragma once
19 #ifndef PNDEMCMAKERECOHIT_H
20 #define PNDEMCMAKERECOHIT_H
21 
22 #include <PndPersistencyTask.h>
23 //#include <string>
24 //#include <vector>
25 
26 class TClonesArray;
27 class TObjectArray;
28 class PndEmcBump;
29 class PndEmcRecoPar;
30 
36 {
37 public:
38 
39  // Constructors
40 
41  PndEmcMakeRecoHit(Int_t verbose=0, Bool_t storerecohits=kTRUE);
42 
43  // Destructor
44 
45  virtual ~PndEmcMakeRecoHit( );
46 
48  virtual InitStatus Init();
49 
50 
52  virtual void Exec(Option_t* opt);
53 
54  void SetStorageOfData(Bool_t val); // Method to specify whether recohits are stored or not.
55 
56 protected:
57 
58 
59 private:
61  TClonesArray* fBumpArray;
62 
64  TClonesArray* fRecoHitArray;
65 
66  PndEmcRecoPar* fRecoPar;
68  virtual void SetParContainers();
69 
71  Int_t fVerbose;
72 
73  Bool_t fStoreRecoHits;
74 
76  PndEmcMakeRecoHit& operator= (const PndEmcMakeRecoHit&) {return *this;};
77 
78  ClassDef(PndEmcMakeRecoHit,1)
79 };
80 #endif // PNDEMCMAKERECOHIT_HH
Create PndEmcRecoHit from PndEmcBump.
void SetStorageOfData(Bool_t val)
PndEmcMakeRecoHit(Int_t verbose=0, Bool_t storerecohits=kTRUE)
virtual void Exec(Option_t *opt)
virtual ~PndEmcMakeRecoHit()
virtual InitStatus Init()
represents a reconstructed (splitted) emc cluster
Definition: PndEmcBump.h:46
Parameter set for Emc Reco.
Definition: PndEmcRecoPar.h:25