PandaRoot
PndSensorNameContFact.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 #ifndef PNDSENSORNAMECONTFACT_H
14 #define PNDSENSORNAMECONTFACT_H
15 
16 #include "FairContFact.h"
17 
18 #include <vector>
19 #include <string>
20 
21 class FairContainer;
22 // class FairParIo;
23 
24 class PndSensorNameContFact : public FairContFact {
25  public:
28  FairParSet *createContainer(FairContainer *c);
29  TList *GetSensorParNames() { return fSensorParNames; };
30 
31  private:
32  void setAllContainers();
33  TList *fSensorParNames{nullptr};
34  std::vector<std::string> fContainerNames;
35 
37  PndSensorNameContFact &operator=(const PndSensorNameContFact &) { return *this; }
38 
39  ClassDef(PndSensorNameContFact, 1); // Factory for all SensorName parameter containers
40 };
41 
42 #endif /* !MVDCONTFACT_H */
FairParSet * createContainer(FairContainer *c)