15#include "FairDetector.h"
16#include "TClonesArray.h"
17#include "TGeoMedium.h"
18#include "TLorentzVector.h"
29 BmnMwpc(
const char* name, Bool_t active);
50 virtual void Print(Option_t*)
const;
58 virtual void CopyClones(TClonesArray* cl1, TClonesArray* cl2, Int_t offset);
76 static Int_t
GetWheel(Int_t uid) {
return ((uid - 1) >> 3); };
77 static Int_t
GetProj(Int_t uid) {
return ((uid - 1) & 6) >> 1; };
78 static Int_t
GetGasGap(Int_t uid) {
return ((uid - 1) & 0x0001); };
103 TClonesArray* fPointCollection;
105 int DistAndPoints(TVector3 p3, TVector3 p4, TVector3& pa, TVector3& pb);
106 TVector3 GlobalToLocal(TVector3& global);
107 TVector3 LocalToGlobal(TVector3& local);
124 void ResetParameters();
132inline void BmnMwpc::ResetParameters()
135 fVolumeID = fwheel = 0;
136 fPos.SetXYZ(0.0, 0.0, 0.0);
137 fMom.SetXYZM(0.0, 0.0, 0.0, 0.0);
138 fTime = fLength = fELoss = 0;
141 fPosInTmp.SetXYZ(0.0, 0.0, 0.0);
virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset)
virtual void ConstructGDMLGeometry(TGeoMatrix *)
static Int_t GetProj(Int_t uid)
virtual TClonesArray * GetCollection(Int_t iColl) const
virtual void Print(Option_t *) const
virtual Bool_t ProcessHits(FairVolume *vol=0)
static Int_t GetWheel(Int_t uid)
static Int_t GetGasGap(Int_t uid)
virtual Bool_t CheckIfSensitive(std::string name)
void ExpandNodeForGdml(TGeoNode *node)
virtual void ConstructAsciiGeometry()
virtual void EndOfEvent()
map< TString, TGeoMedium * > fFixedMedia
virtual void ConstructGeometry()