CMS 3D CMS Logo

CastorText2DetIdConverter.cc File Reference

#include <stdlib.h>
#include <iostream>
#include <iomanip>
#include "FWCore/Utilities/interface/Exception.h"
#include "DataFormats/HcalDetId/interface/HcalGenericDetId.h"
#include "DataFormats/HcalDetId/interface/HcalDetId.h"
#include "DataFormats/HcalDetId/interface/HcalCastorDetId.h"
#include "CalibFormats/CastorObjects/interface/CastorText2DetIdConverter.h"

Go to the source code of this file.

Functions

std::string strip (const std::string &fString)


Function Documentation

std::string @865::strip ( const std::string &  fString  )  [static]

Definition at line 16 of file CastorText2DetIdConverter.cc.

Referenced by CSCCLCTData::add(), Chamber_AutoCorrMat::add(), CSCDigiToRaw::add(), CSCTMBHeader2007::addCLCT0(), CSCTMBHeader2006::addCLCT0(), CSCTMBHeader2007::addCLCT1(), CSCTMBHeader2006::addCLCT1(), PreshowerHitMaker::addHit(), PedestalsAlgorithm::analyse(), PedsOnlyAlgorithm::analyse(), NoiseAlgorithm::analyse(), CalibrationAlgorithm::analyse(), CSCComparatorDigiValidation::analyze(), EcalPreshowerRecHitsValidation::analyze(), SiStripThresholdBuilder::analyze(), SiStripPedestalsReader::analyze(), RPCMonitorDigi::analyze(), SiStripNoisesBuilder::analyze(), SiStripNoisesReader::analyze(), SiStripPedestalsBuilder::analyze(), newSiStripO2O::analyze(), CSCDigiToPattern::analyze(), SiStripCondObjBuilderFromDb::buildStripRelatedObjects(), AlignableTracker::buildTRK(), CSCSectorReceiverLUT::calcGlobalPhiME(), CSCSectorReceiverMiniLUT::calcLocalPhiMini(), CalibrationScanTask::CalibrationScanTask(), CalibrationTask::CalibrationTask(), EcalElectronicsId::channelId(), CSCTMBHeader2007_rev0x50c3::CLCTDigis(), CSCTMBHeader2007::CLCTDigis(), CSCTMBHeader2006::CLCTDigis(), SiStripDummyAlgo::clusterize(), ThreeThresholdStripClusterizer::clusterizeDetUnit_(), CSCCLCTData::comparatorDigis(), RPCEMap::convert(), CSCTMBHeader2007::CorrelatedLCTDigis(), CSCTMBHeader2006::CorrelatedLCTDigis(), CSCTMBHeader2007_rev0x50c3::CorrelatedLCTDigis(), SiStripRawToDigiUnpacker::createDigis(), EcalTBDaqFormatter::DecodeMEM(), EcalTB07DaqFormatter::DecodeMEM(), EcalPreshowerTopology::decrementIx(), EcalPreshowerTopology::decrementIy(), EcalPreshowerTopology::decrementIz(), RPCReadOutMapping::detUnitFrame(), CSCCFEBData::digis(), CSCValidation::doCompTiming(), VisCuTrackerCluster::drawcluster(), VisCuTrackerDigi::drawdigi(), CSCCathodeLCTProcessor::dumpDigis(), EcalDCCTB07UnpackingModule::EcalDCCTB07UnpackingModule(), EcalElectronicsMapper::EcalElectronicsMapper(), TowerBlockFormatter::EndEvent(), SiStripRawToClustersLazyUnpacker::fill(), LatencyTask::fill(), FineDelayTask::fill(), LaserAlignment::fillPedestalProfiles(), SiStripFedZeroSuppression::fillThresholds_(), CSCCathodeLCTProcessor::findLCTs(), LASPeakFinder::FindPeakIn(), RPCLogCone::getCompressedCone(), EcalElectronicsMapping::getDetId(), EcalElectronicsMapping::getElectronicsId(), CSCCathodeLCTProcessor::getKeyStripData(), SiStripNoiseDummyCalculator::getNewObject(), EcalElectronicsMapping::getTriggerElectronicsId(), EcalPreshowerNumberingScheme::getUnitID(), ESTBNumberingScheme::getUnitID(), CSCValidation::getWidth(), Numbers::icEE(), EcalPreshowerTopology::incrementIx(), EcalPreshowerTopology::incrementIy(), EcalPreshowerTopology::incrementIz(), HcalText2DetIdConverter::init(), CastorText2DetIdConverter::init(), EcalTB07DaqFormatter::interpretRawData(), EcalTBDaqFormatter::interpretRawData(), LASProfileJudge::IsNegativePeaksInProfile(), LASProfileJudge::IsPeaksInProfile(), SiStripHashedDetIdESModule::make(), SiStripNoiseFakeESSource::makeNoise(), SiStripPedestalsFakeESSource::makePedestals(), VisCSCPlotWidget::mousePressEvent(), operator<<(), CSCCathodeLCTProcessor::preTrigger(), CSCCathodeLCTProcessor::printPatterns(), SiStripHashedDetIdESProducer::produce(), CSCTFUnpacker::produce(), SiStripThresholdFakeESSource::produce(), StripMeasurementTransformator::projectionMatrix(), Strip1DMeasurementTransformator::projectionMatrix(), RPCReadOutMapping::rawDataFrame(), popcon::RPCReadOutMappingSourceHandler::readCablingMap(), RPCLogCone::RPCLogCone(), CSCStripElectronicsSim::runComparator(), RPCSimTriv::simulateNoise(), RPCSimSimple::simulateNoise(), RPCSimParam::simulateNoise(), RPCSimAverage::simulateNoise(), SiStripFastLinearCommonModeNoiseSubtraction::subtract(), SiStripFedZeroSuppression::suppress(), CSCMotherboard::testLCT(), CSCCathodeLCTProcessor::testPatterns(), ZeroSuppressFP420::trkFEDclusterizer(), VisTrackerDigiTwig::update(), VisRPCDigiTwig::update(), VisCSCStripDigiTwig::update(), VisCuTrackerDigi::update(), VisCuTrackerCluster::update(), VisCuTrackerDigi::updatetext(), VisCuTrackerCluster::updatetext(), ESUnpacker::word2digi(), RPCVHDLConeMaker::writePatternsDef(), RPCVHDLConeMaker::writeXMLPatternsDef(), Chamber_AutoCorrMat::zero(), and EcalElectronicsMapper::~EcalElectronicsMapper().

00016                                              {
00017     if (fString.empty ()) return fString;
00018     int startIndex = fString.find_first_not_of(" \t\n");
00019     int endIndex = fString.find_last_not_of(" \t\n");
00020     return fString.substr(startIndex, (endIndex-startIndex)+1);
00021   }


Generated on Tue Jun 9 17:51:04 2009 for CMSSW by  doxygen 1.5.4