CMS 3D CMS Logo

CocoaToDDLMgr.h
Go to the documentation of this file.
1 // COCOA class header file
2 //Id: CocoaToDDLMgr.h
3 //CAT: Model
4 //
5 // Class to manage the sets of fitted entries (one set per each measurement data set)
6 //
7 // History: v1.0
8 // Pedro Arce
9 
10 #ifndef _CocoaToDDLMgr_HH
11 #define _CocoaToDDLMgr_HH
12 
13 #include <map>
14 //#include <fstream>
16 
18 
19 #include "CLHEP/Vector/Rotation.h"
20 
22 class CocoaSolidShape;
23 class OpticalObject;
24 
26 public:
27  //---------- Constructors / Destructor
30  static CocoaToDDLMgr* getInstance();
31 
34  void writeMaterials();
35  void writeSolids();
36  void writeLogicalVolumes();
37  void writePhysicalVolumes();
38  void writeRotations();
39  void writeSpecPars();
41 
48  void so(OpticalObject* opto);
51  void lv(OpticalObject* opto);
54  void pv(OpticalObject* opto);
57  void ro(const CLHEP::HepRotation& ro, int n);
60  void specPar(OpticalObject* opto);
61  void writeSpecParsCocoa();
67 
69 
70 private:
72 
75 
76  std::vector<CocoaMaterialElementary*> theMaterialList;
77  std::vector<CLHEP::HepRotation> theRotationList;
78 };
79 #endif
CocoaToDDLMgr::writeSolids
void writeSolids()
Definition: CocoaToDDLMgr.cc:78
CocoaToDDLMgr::ro
void ro(const CLHEP::HepRotation &ro, int n)
Definition: CocoaToDDLMgr.cc:519
CocoaToDDLMgr::newSectPre
void newSectPre(std::string name, std::string type)
Definition: CocoaToDDLMgr.cc:690
CocoaToDDLMgr::measurementsAsSpecPars
void measurementsAsSpecPars()
Definition: CocoaToDDLMgr.cc:617
ALIbool
bool ALIbool
Definition: CocoaGlobals.h:19
CocoaToDDLMgr::specPar
void specPar(OpticalObject *opto)
Definition: CocoaToDDLMgr.cc:557
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
CocoaToDDLMgr::pv
void pv(OpticalObject *opto)
Definition: CocoaToDDLMgr.cc:467
CocoaToDDLMgr::newSectPost_ro
void newSectPost_ro(std::string name)
Definition: CocoaToDDLMgr.cc:544
CocoaToDDLMgr::newSectPre_lv
void newSectPre_lv(std::string name)
Definition: CocoaToDDLMgr.cc:417
ALIstring
std::string ALIstring
Definition: CocoaGlobals.h:9
edmStreamStallGrapher.extension
extension
Definition: edmStreamStallGrapher.py:893
CocoaToDDLMgr::getInstance
static CocoaToDDLMgr * getInstance()
Definition: CocoaToDDLMgr.cc:23
OpticalObject
Definition: OpticalObject.h:35
CocoaToDDLMgr::filename_
std::string filename_
Definition: CocoaToDDLMgr.h:74
CocoaToDDLMgr::instance
static CocoaToDDLMgr * instance
Definition: CocoaToDDLMgr.h:71
CocoaToDDLMgr::writeRotations
void writeRotations()
Definition: CocoaToDDLMgr.cc:132
ALIFileOut
Definition: ALIFileOut.h:21
CocoaToDDLMgr::newSectPre_ma
void newSectPre_ma(std::string name)
Definition: CocoaToDDLMgr.cc:190
CocoaToDDLMgr::theMaterialList
std::vector< CocoaMaterialElementary * > theMaterialList
Definition: CocoaToDDLMgr.h:76
CocoaToDDLMgr::writeSpecParsCocoa
void writeSpecParsCocoa()
Definition: CocoaToDDLMgr.cc:671
CocoaToDDLMgr::newSectPost_specPar
void newSectPost_specPar(std::string name)
Definition: CocoaToDDLMgr.cc:685
CocoaToDDLMgr::materialIsRepeated
ALIbool materialIsRepeated(CocoaMaterialElementary *ma)
Definition: CocoaToDDLMgr.cc:698
CocoaToDDLMgr::so
void so(OpticalObject *opto)
Definition: CocoaToDDLMgr.cc:243
alignCSCRings.s
s
Definition: alignCSCRings.py:92
CocoaToDDLMgr::newSectPost_so
void newSectPost_so(std::string name)
Definition: CocoaToDDLMgr.cc:408
corrVsCorr.filename
filename
Definition: corrVsCorr.py:123
CocoaToDDLMgr::newPartPre
void newPartPre(std::string name)
Definition: CocoaToDDLMgr.cc:165
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CocoaToDDLMgr::newPartPost
void newPartPost(std::string name, std::string extension)
Definition: CocoaToDDLMgr.cc:183
CocoaToDDLMgr::lv
void lv(OpticalObject *opto)
Definition: CocoaToDDLMgr.cc:425
CocoaToDDLMgr::writeHeader
void writeHeader(ALIstring filename)
Definition: CocoaToDDLMgr.cc:57
CocoaToDDLMgr::newSectPre_specPar
void newSectPre_specPar(std::string name)
Definition: CocoaToDDLMgr.cc:548
CocoaToDDLMgr::scrubString
std::string scrubString(const std::string &s)
Definition: CocoaToDDLMgr.cc:713
CocoaToDDLMgr::newSectPre_so
void newSectPre_so(std::string name)
Definition: CocoaToDDLMgr.cc:235
CocoaToDDLMgr::theRotationList
std::vector< CLHEP::HepRotation > theRotationList
Definition: CocoaToDDLMgr.h:77
CocoaToDDLMgr::file_
ALIFileOut file_
Definition: CocoaToDDLMgr.h:73
CocoaToDDLMgr::newSectPost
void newSectPost(std::string name)
Definition: CocoaToDDLMgr.cc:695
CocoaToDDLMgr::writePhysicalVolumes
void writePhysicalVolumes()
Definition: CocoaToDDLMgr.cc:118
CocoaToDDLMgr::writeMaterials
void writeMaterials()
Definition: CocoaToDDLMgr.cc:60
CocoaToDDLMgr::~CocoaToDDLMgr
~CocoaToDDLMgr()
Definition: CocoaToDDLMgr.h:29
CocoaToDDLMgr::writeSpecPars
void writeSpecPars()
Definition: CocoaToDDLMgr.cc:145
type
type
Definition: HCALResponse.h:21
CocoaToDDLMgr::buildRotationNumber
ALIint buildRotationNumber(OpticalObject *opto)
Definition: CocoaToDDLMgr.cc:741
CocoaToDDLMgr::newSectPost_pv
void newSectPost_pv(std::string name)
Definition: CocoaToDDLMgr.cc:506
CocoaToDDLMgr::CocoaToDDLMgr
CocoaToDDLMgr()
Definition: CocoaToDDLMgr.h:28
CocoaToDDLMgr::writeLogicalVolumes
void writeLogicalVolumes()
Definition: CocoaToDDLMgr.cc:99
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
CocoaToDDLMgr
Definition: CocoaToDDLMgr.h:25
CocoaToDDLMgr::newSectPost_ma
void newSectPost_ma(std::string name)
Definition: CocoaToDDLMgr.cc:226
ALIint
int ALIint
Definition: CocoaGlobals.h:15
CocoaSolidShape
Definition: CocoaSolidShape.h:16
CocoaToDDLMgr::newSectPre_ro
void newSectPre_ro(std::string name)
Definition: CocoaToDDLMgr.cc:515
CocoaGlobals.h
CocoaToDDLMgr::ma
void ma(CocoaMaterialElementary *ma)
Definition: CocoaToDDLMgr.cc:198
CocoaToDDLMgr::newSectPre_pv
void newSectPre_pv(std::string name)
Definition: CocoaToDDLMgr.cc:459
CocoaToDDLMgr::writeDDDFile
void writeDDDFile(ALIstring filename)
Definition: CocoaToDDLMgr.cc:31
CocoaMaterialElementary
Definition: CocoaMaterialElementary.h:16
CocoaToDDLMgr::newSectPost_lv
void newSectPost_lv(std::string name)
Definition: CocoaToDDLMgr.cc:450
ALIFileOut.h