CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Macros | Variables
vmac.h File Reference

Go to the source code of this file.

Macros

#define always(par)   glc.alwaysstart(); if ((par).getchange())
 
#define assign
 
#define begin   vbegin()
 
#define begincase(par)   pushswitch((par)); if (0) {}
 
#define beginfunction   vbeginfunction();
 
#define beginmodule   vbeginmodule();
 
#define case1(par)   else if ((getswitch() == (par)).getbool())
 
#define case2(par1, par2)   else if ( (getswitch() == (par1)).getbool() || (getswitch() == (par2)).getbool())
 
#define case3(par1, par2, par3)   else if ( (getswitch() == (par1)).getbool() || (getswitch() == (par2)).getbool() || (getswitch() == (par3)).getbool())
 
#define Clock(cl)   cl.clock(#cl)
 
#define cns(b, v)   glc.constant(b,v)
 
#define comment(par)
 
#define deassign(par)   ;
 
#define Default   vdefault()
 
#define Else   else
 
#define end   vend()
 
#define endcase   vendcase()
 
#define endfunction   vendfunction(); return (result);
 
#define endmodule   vendmodule();
 
#define endperiod   glc.ResetEvents();
 
#define For(par1, par2, par3)   for ((par1); ((par2).getbool()); (par3))
 
#define functionbody
 
#define If(par)   if ((par).getbool())
 
#define initio   glc.setparent(this); glc.getparent()->setchange(0);
 
#define Inout(cl)   cl.inout(#cl)
 
#define Inout_(cl, h, l)   cl.inout(h, l, #cl)
 
#define Input(cl)   cl.input(#cl)
 
#define Input_(cl, h, l)   cl.input(h, l, #cl)
 
#define makereg   this
 
#define Module(md)   md.init(#md, #md)
 
#define Module_(md, fn)   md.init(#md, #fn)
 
#define modulebody
 
#define Output(cl)   cl.output(#cl)
 
#define Output_(cl, h, l)   cl.output(h, l, #cl)
 
#define OutReg(cl)   cl.output(#cl, makereg)
 
#define OutReg_(cl, h, l)   cl.output(h, l, #cl, makereg)
 
#define printv(par)
 
#define Reg(cl)   cl.reg(#cl)
 
#define Reg_(cl, h, l)   cl.reg(h, l, #cl)
 
#define Reg__(cl, h, l, t, b)   cl.reg(h, l, t, b, #cl);
 
#define vbegin()   { glc.alwayspush();
 
#define vdefault()   else
 
#define vend()   glc.alwayspop(); }
 
#define vendcase()   popswitch();
 
#define Wire(cl)   cl.wire(#cl)
 
#define Wire_(cl, h, l)   cl.wire(h, l, #cl)
 
#define Wire__(cl, h, l, t, b)   for (int __wi__ = b; __wi__ <= t; __wi__++) cl[__wi__].wire(h, l, #cl, __wi__)
 

Variables

globcontrol glc
 

Macro Definition Documentation

#define always (   par)    glc.alwaysstart(); if ((par).getchange())

Definition at line 47 of file vmac.h.

#define assign

Definition at line 53 of file vmac.h.

#define begin   vbegin()

Definition at line 30 of file vmac.h.

Referenced by pat::EventHypothesis::all(), GEMSimTrackMatch::analyze(), HiBasicGenTest::analyze(), PUDumper::analyze(), ClusterCount::analyze(), CmsShowNavigator::FileQueue_t::begin(), PhysicsTools::BitSet::bits(), Quantile::calculateQ(), MeasurementDiffEntry::calculateSimulatedValue(), FWAdapterHeaderTableManager::cellRenderer(), ClusterVariables::charge(), SiStripClusterInfo::charge(), SiStripCluster::charge(), SiStripClusterInfo::chargeLR(), VZeroFinder::checkTrackPair(), PhysicsTools::MVATrainerLooper::TrainerContainer::clear(), CSCSegAlgoPreClustering::clusterHits(), edm::LuminosityBlock::commit_(), edm::Run::commit_(), pat::EventHypothesis::count(), DTDigiToRaw::createFedBuffers(), XMLLUTLoader::createLoader(), edm::eventsetup::FindDependenciesFromDependentRecord< T >::dependentRecords(), PixelDigiCollection::detIDs(), ClusterCollectionFP420::detIDs(), BrilClient::dqmEndLuminosityBlock(), OpticalObjectMgr::dumpOptOs(), DDQuery::exec(), GEDGsfElectronProducer::fillGsfElectronValueMap(), MultiCandGenEvtSelector::filter(), EcalGenEvtSelector::filter(), EcalGenEvtSelectorFrag::filter(), PartonHadronDecayGenEvtSelector::filter(), HadronDecayGenEvtSelector::filter(), FourVectorHLT::PathInfoCollection::find(), LA_Filler_Fitter::find_rebin(), pat::EventHypothesis::get(), HLTScalersClient::CountLSFifo_t::getCount(), mySiStripNoises::getDetIds(), SiStripBadStrip::getDetIds(), HDQMSummary::getDetIds(), CaloTowerGeometry::getSummary(), GroupBX(), NoiseHistograms::histoAnalysis(), OptoScanHistograms::histoAnalysis(), PedestalsHistograms::histoAnalysis(), PedsFullNoiseHistograms::histoAnalysis(), PedsOnlyHistograms::histoAnalysis(), VpspScanHistograms::histoAnalysis(), SamplingHistograms::histoAnalysis(), CalibrationHistograms::histoAnalysis(), FedCablingHistograms::histoAnalysis(), HLTPixelAsymmetryFilter::hltFilter(), funct::HistoPdf::init(), MuDetRod::init(), npstat::isNonDecreasing(), npstat::isNonIncreasing(), npstat::isStrictlyDecreasing(), npstat::isStrictlyIncreasing(), Tokenizer::join(), pat::TriggerPath::l1Seeds(), reco::tau::leadPFCand(), SiStripClusterInfo::maxCharge(), SiStripClusterInfo::maxIndex(), AccumulatingSort< T >::Merge(), edm::merge(), metsig::SignPFSpecificAlgo::mkSignifMatrix(), DDVector::operator std::vector< int >(), SubsetHsmModeFinder3d::operator()(), edm::operator<<(), operator<<(), AlpgenHeader::parse(), triggerExpression::parse(), CmsTrackerPhase1DiskBuilder::PhiPosNegSplit_innerOuter(), L1GtConditionEvaluation::print(), l1t::ConditionEvaluation::print(), edm::print_eventsetup_record_dependencies_recursive(), ESRecHitsMerger::produce(), reco::modulesNew::MCTruthCompositeMatcher::produce(), PhysicsTools::MVATrainerLooperImpl< Record_t >::produce(), EgammaHLTEcalIsolationProducersRegional::produce(), GenHIEventProducer::produce(), PhysicsTools::MVATrainerContainerLooperImpl< Record_t >::produce(), PixelDigiCollection::put(), RecoCollectionFP420::put(), ClusterCollectionFP420::put(), TrackCollectionFP420::put(), ClusterCollectionFP420::putclear(), TrackCollectionFP420::putclear(), RecoCollectionFP420::putclear(), CocoaDaqReaderText::ReadNextEvent(), TkPixelMeasurementDet::recHits(), SiStripClusterInfo::reclusterize(), reco::TrackJet::resetCharge(), RPCFinalSorter::runFinalSorter(), shuffle(), TrackCollectionFP420::stationIDs(), RecoCollectionFP420::stationIDs(), PTStatistics::sum(), reco::tau::takeNElements(), TempTrajectory::TempTrajectory(), TrackerStablePhiSort(), TrackMVAClassifierBase::TrackMVAClassifierBase(), HLTScalersClient::CountLSFifo_t::trim_(), HLTScalersClient::CountLSFifo_t::update(), SiStripClusterInfo::variance(), DefaultFFTJetObjectFactory< AbsFFTSpecificScaleCalculator >::~DefaultFFTJetObjectFactory(), DefaultFFTJetRcdMapper< FFTPFJetCorrectorSequence >::~DefaultFFTJetRcdMapper(), and ExceptionSafeStlPtrCol< StlColType >::~ExceptionSafeStlPtrCol().

#define begincase (   par)    pushswitch((par)); if (0) {}

Definition at line 65 of file vmac.h.

#define beginfunction   vbeginfunction();

Definition at line 140 of file vmac.h.

#define beginmodule   vbeginmodule();

Definition at line 115 of file vmac.h.

#define case1 (   par)    else if ((getswitch() == (par)).getbool())

Definition at line 81 of file vmac.h.

#define case2 (   par1,
  par2 
)    else if ( (getswitch() == (par1)).getbool() || (getswitch() == (par2)).getbool())

Definition at line 92 of file vmac.h.

#define case3 (   par1,
  par2,
  par3 
)    else if ( (getswitch() == (par1)).getbool() || (getswitch() == (par2)).getbool() || (getswitch() == (par3)).getbool())

Definition at line 104 of file vmac.h.

#define Clock (   cl)    cl.clock(#cl)

Definition at line 190 of file vmac.h.

#define cns (   b,
  v 
)    glc.constant(b,v)

Definition at line 204 of file vmac.h.

#define comment (   par)
#define deassign (   par)    ;

Definition at line 59 of file vmac.h.

#define Default   vdefault()

Definition at line 108 of file vmac.h.

#define Else   else

Definition at line 27 of file vmac.h.

#define end   vend()

Definition at line 37 of file vmac.h.

Referenced by MuonBaseNumber::addBase(), pat::EventHypothesis::all(), GEMSimTrackMatch::analyze(), L1TriggerKeyExtReader::analyze(), DumpFWRecoGeometry::analyze(), L1CondDBPayloadWriterExt::analyze(), HiBasicGenTest::analyze(), HistoAnalyzer< C >::analyze(), ClusterCount::analyze(), HLTMuonMatchAndPlotContainer::analyze(), pat::helper::VertexingHelper::associate(), HLTMuonMatchAndPlotContainer::beginRun(), PhysicsTools::BitSet::bits(), FWSiStripDigiProxyBuilder::build(), FWSiPixelDigiProxyBuilder::build(), Quantile::calculateQ(), MeasurementSensor2D::calculateSimulatedValue(), MeasurementCOPS::calculateSimulatedValue(), CastorCtdcUnpacker::CastorCtdcUnpacker(), ClusterVariables::charge(), SiStripClusterInfo::charge(), SiStripCluster::charge(), JetCharge::chargeFromRef(), JetCharge::chargeFromValIterator(), SiStripClusterInfo::chargeLR(), StorableDoubleMap< T >::clear(), PhysicsTools::MVATrainerLooper::TrainerContainer::clear(), Phase2TrackerClusterizerAlgorithm::clearMatrix(), helper::CandDecayStoreManager::cloneAndStore(), helper::PhotonCollectionStoreManager::cloneAndStore(), helper::GsfElectronCollectionStoreManager::cloneAndStore(), helper::CollectionStoreManager< OutputCollection, ClonePolicy >::cloneAndStore(), CSCSegAlgoPreClustering::clusterHits(), ThreeThresholdAlgorithm::clusterizeDetUnit_(), edm::LuminosityBlock::commit_(), edm::Run::commit_(), pat::EventHypothesis::count(), DefaultFFTJetObjectFactory< AbsFFTSpecificScaleCalculator >::create(), DTDigiToRaw::createFedBuffers(), XMLLUTLoader::createLoader(), dd_error_scan(), HcalHitCorrection::delay(), CastorHitCorrection::delay(), edm::eventsetup::FindDependenciesFromDependentRecord< T >::dependentRecords(), PixelDigiCollection::detIDs(), ClusterCollectionFP420::detIDs(), BrilClient::dqmEndLuminosityBlock(), XrdAdaptor::XrdReadStatistics::elapsedNS(), FWLiteEnabler::enable(), CmsShowNavigator::FileQueue_t::end(), reco::HcalNoiseRBXArray::endRBX(), HLTMuonMatchAndPlotContainer::endRun(), root::RooFitFunction< X, Expr >::evaluate(), DDQuery::exec(), MagFieldConfig::expandList(), DCSPTMTempList::fetchValuesForECIDAndTime(), GEDGsfElectronProducer::fillGsfElectronValueMap(), Phase2TrackerClusterizerAlgorithm::fillMatrix(), FWTGeoRecoGeometry::Info::fillPoints(), MultiCandGenEvtSelector::filter(), EcalGenEvtSelector::filter(), EcalGenEvtSelectorFrag::filter(), HadronDecayGenEvtSelector::filter(), PartonHadronDecayGenEvtSelector::filter(), cms::MTCCHLTrigger::filter(), cms::TECClusterFilter::filter(), ErrorSummaryFilter::filter(), HFFilter::filter(), reco::tau::filterPFCandidates(), find(), FourVectorHLT::PathInfoCollection::find(), LA_Filler_Fitter::find_rebin(), shallow::findTrackIndex(), edm::typelookup::findType(), MuonDDDNumbering::geoHistoryToBaseNumber(), pat::EventHypothesis::get(), SiPixelClusterShapeCache::get(), MuonBaseNumber::getBaseNo(), ComponentFactoryByName< B >::getBuilder(), HLTScalersClient::CountLSFifo_t::getCount(), L1MuDTPhiLut::getDeltaPhi(), mySiStripNoises::getDetIds(), SiStripBadStrip::getDetIds(), HDQMSummary::getDetIds(), StripCompactDigiSimLinks::getLinks(), RPCDBPerformanceHandler::getNewObjects(), BdecayFilter::getNextBs(), MuonBaseNumber::getSuperNo(), CachingSeedCleanerByHitPosition::good(), HistoAnalyzer< C >::HistoAnalyzer(), funct::HistoPdf::HistoPdf(), HLTPixelAsymmetryFilter::hltFilter(), funct::HistoPdf::init(), MuDetRod::init(), edm::ProductSelector::initialize(), npstat::isNonDecreasing(), npstat::isNonIncreasing(), npstat::isStrictlyDecreasing(), npstat::isStrictlyIncreasing(), Tokenizer::join(), reco::tau::leadPFCand(), DefaultFFTJetRcdMapper< FFTPFJetCorrectorSequence >::load(), fftjetcms::FFTJetInterface::loadInputCollection(), edm::VectorInputSource::loopSpecified(), RPCFakeCalibration::makeCls(), makeCompositeCandidate(), makeCompositeCandidateWithRefsToMaster(), RPCFakeCalibration::makeNoise(), fireworks::makeRhoPhiSuperCluster(), fireworks::makeRhoZSuperCluster(), SiStripClusterInfo::maxCharge(), SiStripClusterInfo::maxIndex(), helpers::MCTruthPairSelector< T >::MCTruthPairSelector(), edm::merge(), metsig::SignPFSpecificAlgo::mkSignifMatrix(), NtpProducer< C >::NtpProducer(), DDVector::operator std::vector< int >(), SubsetHsmModeFinder3d::operator()(), MtvClusterizer1D< T >::operator()(), operator<<(), OOTPileupCorrectionColl::operator==(), StorableDoubleMap< T >::operator==(), ReadMapType< std::map< std::string, double > >::operator[](), FFTJetDict< Key, T, Compare, Allocator >::operator[](), triggerExpression::parse(), pat::PATVertexAssociationProducer::PATVertexAssociationProducer(), CmsTrackerPhase1DiskBuilder::PhiPosNegSplit_innerOuter(), PlaneBuilderForGluedDet::plane(), IODConfig::populateClob(), precomputed_value_sort(), LocalCacheFile::prefetch(), L1MuDTPhiLut::print(), L1GtConditionEvaluation::print(), l1t::ConditionEvaluation::print(), edm::print_eventsetup_record_dependencies_recursive(), JetFlavourCutFilter::printHisto(), JetFlavourFilter::printHisto(), l1t::Stage2Layer2DemuxJetAlgoFirmwareImp1::processEvent(), L1TriggerKeyOnlineProdExt::produce(), HIPixelClusterVtxProducer::produce(), reco::modulesNew::MCTruthCompositeMatcher::produce(), NtpProducer< C >::produce(), PixelClusterSelectorTopBottom::produce(), StripClusterSelectorTopBottom::produce(), pat::PATVertexAssociationProducer::produce(), L1TriggerKeyOnlineProd::produce(), GenHIEventProducer::produce(), PixelDigiCollection::put(), ClusterCollectionFP420::put(), RecoCollectionFP420::put(), TrackCollectionFP420::put(), ClusterCollectionFP420::putclear(), TrackCollectionFP420::putclear(), RecoCollectionFP420::putclear(), cond::FileReader::read(), CocoaDaqReaderText::ReadNextEvent(), jsoncollector::FileIO::readStringFromFile(), LocalCacheFile::readv(), SiStripClusterInfo::reclusterize(), reco::TrackJet::resetCharge(), root::RooFitFunction< X, Expr >::RooFitFunction(), CSCTFMuonSorter::run(), DTLocalTriggerTPTest::runClientDiagnostic(), RPCFinalSorter::runFinalSorter(), MuonOverlapSeedFromRecHits::seeds(), DCSPTMTemp::setEnd(), split(), TrackCollectionFP420::stationIDs(), RecoCollectionFP420::stationIDs(), MedianCMNSubtractor::subtract_(), FastLinearCMNSubtractor::subtract_(), PercentileCMNSubtractor::subtract_(), PTStatistics::sum(), reco::tau::sumPFVector(), TempTrajectory::TempTrajectory(), Thrust::Thrust(), TrackMVAClassifierBase::TrackMVAClassifierBase(), HLTScalersClient::CountLSFifo_t::trim_(), HLTScalersClient::CountLSFifo_t::update(), SiStripClusterInfo::variance(), DefaultFFTJetObjectFactory< AbsFFTSpecificScaleCalculator >::~DefaultFFTJetObjectFactory(), DefaultFFTJetRcdMapper< FFTPFJetCorrectorSequence >::~DefaultFFTJetRcdMapper(), ExceptionSafeStlPtrCol< StlColType >::~ExceptionSafeStlPtrCol(), and HistoAnalyzer< C >::~HistoAnalyzer().

#define endcase   vendcase()

Definition at line 68 of file vmac.h.

#define endfunction   vendfunction(); return (result);

Definition at line 141 of file vmac.h.

#define endmodule   vendmodule();

Definition at line 116 of file vmac.h.

#define endperiod   glc.ResetEvents();

Definition at line 156 of file vmac.h.

#define For (   par1,
  par2,
  par3 
)    for ((par1); ((par2).getbool()); (par3))

Definition at line 15 of file vmac.h.

#define functionbody

Definition at line 147 of file vmac.h.

#define If (   par)    if ((par).getbool())

Definition at line 21 of file vmac.h.

#define initio   glc.setparent(this); glc.getparent()->setchange(0);

Definition at line 174 of file vmac.h.

#define Inout (   cl)    cl.inout(#cl)

Definition at line 198 of file vmac.h.

#define Inout_ (   cl,
  h,
 
)    cl.inout(h, l, #cl)

Definition at line 199 of file vmac.h.

#define Input (   cl)    cl.input(#cl)

Definition at line 188 of file vmac.h.

#define Input_ (   cl,
  h,
 
)    cl.input(h, l, #cl)

Definition at line 189 of file vmac.h.

#define makereg   this

Definition at line 154 of file vmac.h.

#define Module (   md)    md.init(#md, #md)

Definition at line 201 of file vmac.h.

#define Module_ (   md,
  fn 
)    md.init(#md, #fn)

Definition at line 202 of file vmac.h.

#define modulebody
Value:
if (glc.getpassn() != passn) \
{ \
/* cout << itern << " " << instname << std::endl; */\
itern = 0; \
} \
passn = glc.getpassn(); \
{ \
outregn = 0; \
} \
{ \
itern++; \
}
rval getpassn()
Definition: vlib.h:316
else
Definition: XrdSource.cc:215
int getchange()
Definition: vlib.h:230
globcontrol glc
Definition: vlib.cc:6
module * getparent()
Definition: vlib.h:308
return(e1-e2)*(e1-e2)+dp *dp
if(dp >Float(M_PI)) dp-

Definition at line 121 of file vmac.h.

#define Output (   cl)    cl.output(#cl)

Definition at line 192 of file vmac.h.

#define Output_ (   cl,
  h,
 
)    cl.output(h, l, #cl)

Definition at line 193 of file vmac.h.

#define OutReg (   cl)    cl.output(#cl, makereg)

Definition at line 195 of file vmac.h.

#define OutReg_ (   cl,
  h,
 
)    cl.output(h, l, #cl, makereg)

Definition at line 196 of file vmac.h.

#define printv (   par)

Definition at line 167 of file vmac.h.

#define Reg (   cl)    cl.reg(#cl)

Definition at line 180 of file vmac.h.

#define Reg_ (   cl,
  h,
 
)    cl.reg(h, l, #cl)

Definition at line 181 of file vmac.h.

#define Reg__ (   cl,
  h,
  l,
  t,
  b 
)    cl.reg(h, l, t, b, #cl);

Definition at line 182 of file vmac.h.

#define vbegin ( )    { glc.alwayspush();

Definition at line 34 of file vmac.h.

Referenced by cms::PileupVertexAccumulator::accumulate().

#define vdefault ( )    else

Definition at line 112 of file vmac.h.

#define vend ( )    glc.alwayspop(); }

Definition at line 41 of file vmac.h.

Referenced by cms::PileupVertexAccumulator::accumulate().

#define vendcase ( )    popswitch();

Definition at line 72 of file vmac.h.

#define Wire (   cl)    cl.wire(#cl)

Definition at line 184 of file vmac.h.

#define Wire_ (   cl,
  h,
 
)    cl.wire(h, l, #cl)

Definition at line 185 of file vmac.h.

#define Wire__ (   cl,
  h,
  l,
  t,
  b 
)    for (int __wi__ = b; __wi__ <= t; __wi__++) cl[__wi__].wire(h, l, #cl, __wi__)

Definition at line 186 of file vmac.h.

Variable Documentation

Verilog++ SP.

Author
A. Madorsky

Definition at line 6 of file vlib.cc.