Skip to content
Snippets Groups Projects
Commit 2d21ba90 authored by Martin Beyer's avatar Martin Beyer Committed by Pierre-Alain Loizeau
Browse files

Provide RICH CFV v23b, based on v23a

parent 5524fdf3
No related branches found
No related tags found
1 merge request!297Provide RICH CFV v23b based on setup v23a
RICH CFV based on rich_v23a
generated geometry version v23b using version of the RichGeoCreator files from commit c25124a0
including minor changes to remove the following backplanes:
- One colomn of backplanes on each side of the camera comtainer
- One row of backplanes on top of the camera container for the upper camera (bottom for the lower camera)
The exact code can not be included into the creation file from c25124a0, since the current version of RichGeoCreator advanced too far.
It will be included for the CFV version of rich_v25a.
Created using the macro (including the dummy translation):
void create_rich_geo(const std::string geoName = "rich_v23b")
{
RichGeoCreator* geoCreator = new RichGeoCreator();
geoCreator->SetGeoName(geoName);
geoCreator->SetAddShieldingBox(true);
geoCreator->SetVolumeColors(false);
geoCreator->Create();
// Add (dummy) translation to geo file
TFile* geoFile = new TFile((geoName + ".geo.root").c_str(), "UPDATE");
TGeoTranslation* translation = new TGeoTranslation("trans", 0., 0., 0.);
translation->Write();
geoFile->Close();
}
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment