22 #include <TObjArray.h>
52 FairModule(
const char* Name,
const char* title, Bool_t Active = kFALSE);
56 virtual void Print(Option_t*)
const { ; }
75 LOG(warn) <<
"This function is deprecated. Use FairAlignmentHandler instead, see Tutorial4 for examples.";
92 template<
class T,
class U>
97 virtual Bool_t
IsSensitive(
const std::string& name);
99 virtual Bool_t
CheckIfSensitive(__attribute__((unused)) std::string name) __attribute__((
100 deprecated(
"The method CheckIfSensitive is deprecated. Implement IsSensitive in the detector classes.")))
109 virtual Int_t
getVolId(
const TString&)
const {
return 0; }
146 void SetDefaultMatrixName(TGeoMatrix* matrix);
147 void AssignMediumAtImport(TGeoVolume* v);
150 void ReAssignMediaId();
169 template<
class T,
class U>
178 Bool_t rc = GeoInterface->
readSet(MGeo);
183 TList* volList = MGeo->getListOfVolumes();
190 if (
"" != containerName) {
191 LOG(info) <<
"Add GeoNodes for " << MGeo->getDescription() <<
" to container " << containerName;
195 TObjArray* fSensNodes = par->GetGeoSensitiveNodes();
196 TObjArray* fPassNodes = par->GetGeoPassiveNodes();
198 TListIter iter(volList);
202 while ((node = static_cast<FairGeoNode*>(iter.Next()))) {
205 fSensNodes->AddLast(aVol);
207 fPassNodes->AddLast(aVol);
212 par->setInputVersion(fRun->
GetRunId(), 1);
216 #endif // FAIRMODULE_H
virtual void SetGeometryFileName(TString fname, TString geoVer="0")
void AddSensitiveVolume(TGeoVolume *v)
virtual void see Tutorial4 for examples LOG(warn)<< "This function is deprecated. Use FairAlignmentHandler instead
virtual void ConstructGeometry()
list of container factories
for(Int_t i=0;i< 100;i++)
Bool_t readSet(FairGeoSet *)
static thread_local TRefArray * svList
virtual void ConstructOpGeometry()
static thread_local Int_t fNbOfVolumes
virtual void RegisterAlignmentMatrices()
virtual Int_t getVolId(const TString &) const
virtual void SetParContainers()
virtual void SetSpecialPhysicsCuts()
void ProcessNodes(TList *aList)
FairGeoInterface * getGeoInterface()
static FairGeoLoader * Instance()
static FairRun * Instance()
void addGeoModule(FairGeoSet *)
Bool_t fGeoSaved
list of Detector Geometry parameters
virtual void FinishWorkerRun() const
virtual void Print(Option_t *) const
virtual void ConstructGDMLGeometry(__attribute__((unused)) TGeoMatrix *posrot)
static thread_local FairVolumeList * vList
virtual void ConstructASCIIGeometry()
TVirtualMC * fMC
flag for initialisation
virtual void ExpandNode(TGeoNode *Node)
static thread_local TArrayI * volNumber
FairParSet * getContainer(const Text_t *)
virtual void ExpandNodeForGDML(__attribute__((unused)) TGeoNode *curNode)
FairModule & operator=(const FairModule &)
TList * GetListOfGeoPar()
ClassDef(FairModule, 4)
cahed pointer to MC (available only after initialization)
FairMQExParamsParOne * par
virtual FairModule * CloneModule() const
virtual TString GetGeometryFileVer()
void SetMotherVolume(TString volName)
FairGeoBuilder * getGeoBuilder()
virtual void ConstructRootGeometry(TGeoMatrix *shiftM=nullptr)
virtual void InitParContainers()
FairRuntimeDb * GetRuntimeDb(void)
virtual TString GetGeometryFileName()
virtual void see Tutorial4 for examples see Tutorial4 for examples
virtual Bool_t CheckIfSensitive(__attribute__((unused)) std::string name) __attribute__((deprecated("The method CheckIfSensitive is deprecated. Implement IsSensitive in the detector classes.")))
void SetVerboseLevel(Int_t level)
virtual void ModifyGeometry() __attribute__((deprecated("Use FairAlignmentHandler instead
virtual void BeginWorkerRun() const
virtual Bool_t IsSensitive(const std::string &name)
TString fMotherVolumeName
FairVolume * getFairVolume(FairGeoNode *fNode)