CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
DriftAndAvalanche.h
Go to the documentation of this file.
1#ifndef DRIFTANDAVALANCHE_H
2#define DRIFTANDAVALANCHE_H
3
5
6#include <vector>
7#include <string>
8
9typedef float Float_t;
10
11class G4Svc;
12
14public:
16 virtual ~DriftAndAvalanche();
17
18 virtual void init(ICgemGeomSvc* geomSvc, double magConfig) = 0;
19
20 virtual void setIonElectrons(int layer, int nElectrons, std::vector<double> x, std::vector<double> y, std::vector<double> z, std::vector<double> t) = 0;
21 virtual void setDebugging(bool debugging)=0;
22
23 /* output info of multiplied eletrons */
24 virtual int getNelectrons() const = 0;
25 virtual Float_t getX(int n) const = 0;
26 virtual Float_t getY(int n) const = 0;
27 virtual Float_t getZ(int n) const = 0;
28 virtual Float_t getT(int n) const = 0;
29 virtual const std::vector<Float_t> & getXContainer() const = 0;
30 virtual const std::vector<Float_t> & getYContainer() const = 0;
31 virtual const std::vector<Float_t> & getZContainer() const = 0;
32 virtual const std::vector<Float_t> & getTContainer() const = 0;
33};
34
35#endif
36
const Int_t n
float Float_t
virtual Float_t getT(int n) const =0
virtual const std::vector< Float_t > & getXContainer() const =0
virtual Float_t getX(int n) const =0
virtual const std::vector< Float_t > & getYContainer() const =0
virtual Float_t getZ(int n) const =0
virtual ~DriftAndAvalanche()
virtual void setIonElectrons(int layer, int nElectrons, std::vector< double > x, std::vector< double > y, std::vector< double > z, std::vector< double > t)=0
virtual void init(ICgemGeomSvc *geomSvc, double magConfig)=0
virtual void setDebugging(bool debugging)=0
virtual const std::vector< Float_t > & getZContainer() const =0
virtual Float_t getY(int n) const =0
virtual int getNelectrons() const =0
virtual const std::vector< Float_t > & getTContainer() const =0
Definition: G4Svc.h:32
int t()
Definition: t.c:1