CbmRoot
Loading...
Searching...
No Matches
CbmMvdSensorPlugin.cxx
Go to the documentation of this file.
1/* Copyright (C) 2012-2015 Institut fuer Kernphysik, Goethe-Universitaet Frankfurt, Frankfurt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Michael Deveaux, Philipp Sitzmann [committer], Florian Uhlig */
4
5// -------------------------------------------------------------------------
6// ----- CbmMvdSensorPlugin source file -----
7// ----- Created 02.02.2012 by M. Deveaux -----
8// -------------------------------------------------------------------------
10
11#include "TH1.h"
12
13// ----- Default constructor -------------------------------------------
15 : TObject()
16 , fNextPlugin(nullptr)
17 , fPreviousPlugin(nullptr)
18 , bFlag(false)
19 , initialized(kFALSE)
20 , fShowDebugHistos(kFALSE)
21 , fName("CbmMvdSensorPlugin")
22 , fPluginIDNumber(-1)
23{
24}
25// -------------------------------------------------------------------------
26// ----- constructor -------------------------------------------
28 : TObject()
29 , fNextPlugin(nullptr)
30 , fPreviousPlugin(nullptr)
31 , bFlag(false)
32 , initialized(kFALSE)
33 , fShowDebugHistos(kFALSE)
34 , fName(name)
35 , fPluginIDNumber(-1)
36{
37}
38// -------------------------------------------------------------------------
39
41{
42 if (fHistoArray) {
43 if (number < (UInt_t) fHistoArray->GetEntriesFast()) { return (TH1*) fHistoArray->At(number); }
44 }
45 return 0;
46}
47
48// ----- Destructor ----------------------------------------------------
50// -------------------------------------------------------------------------
51
52
ClassImp(CbmConverterManager)
virtual TH1 * GetHistogram(UInt_t number)