Definition at line 13 of file DumpFWRecoGeometry.cc.
virtual DumpFWRecoGeometry::~DumpFWRecoGeometry |
( |
void |
| ) |
|
|
inlinevirtual |
Implements edm::EDAnalyzer.
Definition at line 32 of file DumpFWRecoGeometry.cc.
References end, mergeVDriftHistosByStation::file, edm::EventSetup::get(), i, m_level, alignCSCRings::s, and diffTreeTool::tree.
40 s <<
"cmsRecoGeom" <<
m_level <<
".root";
41 TFile
file(
s.str().c_str(),
"RECREATE" );
43 TTree *
tree =
new TTree(
"idToGeo",
"Raw detector id association with geometry" );
48 Float_t v_translation[3];
51 tree->SetBranchStyle( 0 );
52 tree->Branch(
"id", &v_id,
"id/i" );
53 tree->Branch(
"points", &v_vertex,
"points[24]/F" );
54 tree->Branch(
"topology", &v_params,
"topology[9]/F" );
55 tree->Branch(
"shape", &v_shape,
"shape[5]/F" );
56 tree->Branch(
"translation", &v_translation,
"translation[3]/F" );
57 tree->Branch(
"matrix", &v_matrix,
"matrix[9]/F" );
60 end = geoh.product()->idToName.end();
64 for(
unsigned int i = 0;
i < 24; ++
i )
65 v_vertex[
i] = it->points[
i];
66 for(
unsigned int i = 0;
i < 9; ++
i )
67 v_params[
i] = it->topology[
i];
68 for(
unsigned int i = 0;
i < 5; ++
i )
69 v_shape[
i] = it->shape[
i];
70 for(
unsigned int i = 0;
i < 3; ++
i )
71 v_translation[
i] = it->translation[
i];
72 for(
unsigned int i = 0;
i < 9; ++
i )
73 v_matrix[
i] = it->matrix[
i];
std::vector< FWRecoGeom::Info >::const_iterator InfoMapItr
void DumpFWRecoGeometry::beginJob |
( |
void |
| ) |
|
|
privatevirtual |
void DumpFWRecoGeometry::endJob |
( |
void |
| ) |
|
|
privatevirtual |
int DumpFWRecoGeometry::m_level |
|
private |