CbmRoot
Loading...
Searching...
No Matches
CbmMagnet.h
Go to the documentation of this file.
1/* Copyright (C) 2019-2020 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Florian Uhlig [committer] */
4
5#ifndef CBMMAGNET_H
6#define CBMMAGNET_H
7
8#include "FairModule.h"
9
10class TGeoRotation;
11class TGeoCombiTrans;
12
13class CbmMagnet : public FairModule {
14public:
15 CbmMagnet(const char* name, const char* title = "CBM Magnet", Double_t px = 0., Double_t py = 0., Double_t pz = 0.,
16 Double_t rx = 0., Double_t ry = 0., Double_t rz = 0.);
17 CbmMagnet();
18 virtual ~CbmMagnet();
19 virtual void ConstructGeometry();
20
21 virtual Bool_t IsSensitive(const std::string& name);
22 Bool_t CheckIfSensitive(std::string name);
23
24private:
25 TGeoRotation* frot;
26 TGeoCombiTrans* fposrot;
27
30
31 ClassDef(CbmMagnet, 2) //CBMMagnet
32};
33
34#endif // CBMMAGNET_H
virtual ~CbmMagnet()
Definition CbmMagnet.cxx:25
TGeoRotation * frot
Definition CbmMagnet.h:25
CbmMagnet & operator=(const CbmMagnet &)
TGeoCombiTrans * fposrot
Definition CbmMagnet.h:26
CbmMagnet(const CbmMagnet &)
virtual void ConstructGeometry()
Definition CbmMagnet.cxx:27
Bool_t CheckIfSensitive(std::string name)
Definition CbmMagnet.cxx:74
virtual Bool_t IsSensitive(const std::string &name)
Definition CbmMagnet.cxx:68