BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
CbmStsIdealDigitize.h
Go to the documentation of this file.
1//* $Id: */
2
3// -------------------------------------------------------------------------
4// ----- CbmStsDigitize header file -----
5// ----- Created 30/08/06 by V. Friese -----
6// -------------------------------------------------------------------------
7
8/** CbmStsDigitise
9 *@author Volker Friese <v.friese@gsi.de>
10 *@since 30.08.06
11 *@version 1.0
12 **
13 ** CBM task class for digitising STS
14 ** Task level SIM
15 ** Produces objects of type CbmStsDigi out of CbmStsPoint.
16 **/
17
18#ifndef CBMSTSIDEALDIGITIZE_H
19#define CBMSTSIDEALDIGITIZE_H 1
20
21#include "FairTask.h"
22#include "TStopwatch.h"
23
24#include <list>
25#include <map>
26
27class TClonesArray;
28class CbmGeoStsPar;
29class CbmStsDigiPar;
31class CbmStsStation;
32
34{
35
36 public:
37 /** Default constructor **/
39
40 /** Standard constructor **/
41 CbmStsIdealDigitize(Int_t iVerbose);
42
43 /** Constructor with name **/
44 CbmStsIdealDigitize(const char* name, Int_t iVerbose);
45
46 /** Destructor **/
47 virtual ~CbmStsIdealDigitize();
48
49 /** Execution **/
50 virtual void Exec(Option_t* opt);
51
52 private:
53 CbmGeoStsPar* fGeoPar; /** Geometry parameter container **/
54 CbmStsDigiPar* fDigiPar; /** Digitisation parameter container **/
55 CbmStsDigiScheme* fDigiScheme; /** Digitisation scheme **/
56 TClonesArray* fPoints; /** Input array of CbmStsPoint **/
57 TClonesArray* fDigis; /** Output array of CbmStsDigi **/
58 TClonesArray* fDigiMatches; /** Output array of CbmStsDigiMatches**/
65
66 /** Map of active channels (pair detectorId, channel number)
67 ** to index of StsDigi **/
68 std::map<std::pair<Int_t, Int_t>, Int_t> fChannelMap; //!
69
70 /** Get parameter containers **/
71 virtual void SetParContainers();
72
73 /** Intialisation **/
74 virtual InitStatus Init();
75
76 /** Reinitialisation **/
77 virtual InitStatus ReInit();
78
79 /** Reset eventwise counters **/
80 void Reset();
81
84
86};
87
88#endif
int Int_t
const char Option_t
#define ClassDef(name, id)
virtual ~CbmStsIdealDigitize()
Destructor.
TClonesArray * fPoints
Digitisation scheme.
Int_t fNPoints
Output array of CbmStsDigiMatches.
CbmStsDigiPar * fDigiPar
Geometry parameter container.
CbmStsDigiScheme * fDigiScheme
Digitisation parameter container.
virtual void Exec(Option_t *opt)
Execution.
TClonesArray * fDigis
Input array of CbmStsPoint.
virtual void SetParContainers()
Get parameter containers.
void Reset()
Reset eventwise counters.
std::map< std::pair< Int_t, Int_t >, Int_t > fChannelMap
Map of active channels (pair detectorId, channel number) to index of StsDigi.
TClonesArray * fDigiMatches
Output array of CbmStsDigi.
CbmStsIdealDigitize operator=(const CbmStsIdealDigitize &)
CbmStsIdealDigitize()
Default constructor.
CbmStsIdealDigitize(const CbmStsIdealDigitize &)
virtual InitStatus Init()
Intialisation.
virtual InitStatus ReInit()
Reinitialisation.