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