PandaRoot
PndTrkSciTHitList.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 
18 #ifndef PNDTRKSCITHITLIST_H
19 #define PNDTRKSCITHITLIST_H 1
20 
21 #include "PndTrkHitList.h"
22 
23 #include "TVector3.h"
24 #include "PndTrkHit.h"
25 
26 #define MAXNOFSCITHITS 1000 // CHECK consistency
27 
29 
30  public:
32  PndTrkSciTHitList(Int_t iregion);
34 
35  static PndTrkSciTHitList *Instance();
37 
38  void AddHit(Int_t hitid, Int_t detid, FairHit *hit);
39 
40  void Clear()
41  {
42  ClearList();
43  fscitInstance = nullptr;
44  }
45 
46  protected:
48 
49  Int_t fIRegion;
51 };
52 
53 #endif
void AddHit(Int_t hitid, Int_t detid, FairHit *hit)
static PndTrkSciTHitList * fscitInstance
void ClearList()
Definition: PndTrkHitList.h:65
ClassDef(PndTrkSciTHitList, 1)
PndTrkSciTHitList * Instanciate()
static PndTrkSciTHitList * Instance()