26 edm::LogInfo(
"SiStripDetInfoFileWriter::SiStripDetInfoFileWriter");
35 edm::LogInfo(
"SiStripDetInfoFileWriter::~SiStripDetInfoFileWriter");
43 outputFile_.open(filePath_.c_str());
45 if (outputFile_.is_open()){
52 edm::LogInfo(
"SiStripDetInfoFileWriter::beginRun - got geometry ")<<std::endl;
55 edm::LogInfo(
"SiStripDetInfoFileWriter") <<
" There are "<<pDD->detUnits().size() <<
" detectors"<<std::endl;
57 for(TrackerGeometry::DetUnitContainer::const_iterator it = pDD->detUnits().begin(); it != pDD->detUnits().end(); it++){
69 if(numberOfAPVs<1 || numberOfAPVs>6 ) {
74 outputFile_ << detid <<
" "<< numberOfAPVs <<
" " << stripLength <<
" "<< thickness <<
"\n";
86 edm::LogError(
"SiStripDetInfoFileWriter::beginRun - Unable to open file")<<endl;
virtual int nstrips() const =0
T getUntrackedParameter(std::string const &, T const &) const
const Bounds & bounds() const
virtual const StripTopology & specificTopology() const
Returns a reference to the strip proxy topology.
virtual float thickness() const =0
virtual float stripLength() const =0
~SiStripDetInfoFileWriter()
SiStripDetInfoFileWriter(const edm::ParameterSet &)
DetId geographicalId() const
The label of this GeomDet.
void beginRun(const edm::Run &, const edm::EventSetup &iSetup)
const Plane & specificSurface() const
Same as surface(), kept for backward compatibility.