#include <cassert>
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <iostream>
#include <sstream>
#include <vector>
#include "ecalDccMap.h"
#include <errno.h>
Go to the source code of this file.
Macros | |
#define | SIZE_MAX ((size_t)-1) |
#define | SSIZE_MAX ((ssize_t)(SIZE_MAX / 2)) |
Enumerations | |
enum | roAction_t { suppress = 0, sr2, sr1, full, fsuppress, fsr2, fsr1, ffull } |
Functions | |
void | abConnect (int iAB, int iABCh, int &iOtherAB, int &iOtherABCh) |
int | abNum (int iABEta, int iABPhi) |
void | fillABIOFiles (const char ttFlags[nTTInEta][nTTInPhi], const char barrelSrFlags[nBarrelTTInEta][nTTInPhi], const char endcapSrFlags[nEndcaps][nSupercrystalXBins][nSupercrystalYBins], ofstream files[]) |
void | fillABSRPFiles (const char barrelSrFlags[nBarrelTTInEta][nTTInPhi], const char endcapSrFlags[nEndcaps][nSupercrystalXBins][nSupercrystalYBins], ofstream files[]) |
void | fillABSRPFiles (const char barrelSrFlags[nBarrelTTInEta][nTTInPhi], const char endcapSrFlags[nEndcaps][nSupercrystalXBins][nSupercrystalYBins], ofstream files[nAB]) |
void | fillABTTFFiles (const char ttFlags[nTTInEta][nTTInPhi], ofstream files[]) |
string | getABABInputStream (const char tccFlags[nTTInEta][nTTInPhi], int iABEta, int iABPhi, int iABCh) |
string | getABABOutputStream (const char tccFlags[nTTInEta][nTTInPhi], int iABEta, int iABPhi, int iABCh) |
string | getABDCCOutputStream (const char barrelSrFlags[nBarrelTTInEta][nTTInPhi], const char endcapSrFlags[nEndcaps][nSupercrystalXBins][nSupercrystalYBins], int iABEta, int iABPhi, int DCCCh) |
string | getABTCCInputStream (const char tccFlags[nTTInEta][nTTInPhi], int iABEta, int iABPhi, int iTCCCh) |
void | getABTTPhiBounds (int iABPhi, int &iTTPhiMin, int &iTTPhiMax) |
string | getFlagStream (char flags[nTTInEta][nTTInPhi], int iEtaMin, int iEtaMax, int iPhiMin, int iPhiMax) |
int | main (int argc, char *argv[]) |
bool | readSRF (FILE *file, char barrelSrFlags[nBarrelTTInEta][nTTInPhi], char endcapSrFlags[nEndcaps][nSupercrystalXBins][nSupercrystalYBins]) |
bool | readTTF (FILE *file, char ttFlags[nTTInEta][nTTInPhi]) |
void | writeABIOFileHeader (ofstream &f, int abNum) |
void | writeABSRFFileHeader (ofstream &f, int abNum) |
void | writeABTTFFileHeader (ofstream &f, int abNum) |
Variables | |
const char * | abIOFilePostfix = ".txt" |
const char * | abIOFilePrefix = "IO_AB" |
const char * | abSRFFilePostfix = ".txt" |
const char * | abSRFFilePrefix = "AF_AB" |
const char * | abTTFFilePostfix = ".txt" |
const char * | abTTFFilePrefix = "TTF_AB" |
roAction_t | actions [nactions] |
vector< pair< int, int > > | ecalDccSC [nEndcaps][nDCCEE] |
int | iEvent = 0 |
const int | iTCCEtaBounds [nTCCInEta+1] = {0, 7, 11, 28, 45, 49, 56} |
const int | iTTEtaMax [nABInEta] = {10, 27, 44, 55} |
const int | iTTEtaMin [nABInEta] = {0, 11, 28, 45} |
const int | iTTEtaSign [nABInEta] = {-1, -1, 1, 1} |
const int | nAB = nABInPhi * nABInEta |
const int | nABABCh = 8 |
const int | nABInEta = 4 |
const int | nABInPhi = 3 |
const int | nABTCCCh = 12 |
const int | nactions = 8 |
static const int | nBarrelTTInEta = 34 |
const int | nDCCCh = 12 |
const int | nDCCEE = 9 |
static const int | nEndcaps = 2 |
static const int | nEndcapTTInEta = 11 |
static const int | nEndcapXBins = 100 |
static const int | nEndcapYBins = 100 |
static const int | nSupercrystalXBins = nEndcapXBins / supercrystalEdge |
static const int | nSupercrystalYBins = nEndcapYBins / supercrystalEdge |
const int | nTCCInEta = 6 |
const int | nTTInABAlongPhi = nTTInPhi / nABInPhi |
static const int | nTTInEta = 2 * nEndcapTTInEta + nBarrelTTInEta |
static const int | nTTInPhi = 72 |
char | roFlagMarker [] |
const char * | srfFilename = "SRF.txt" |
char | srp2roFlags [128] |
const char | srpFlagMarker [] = {'.', 'S', 'N', 'C', '4', '5', '6', '7'} |
static const int | supercrystalEdge = 5 |
const char | tccFlagMarker [] = {'.', 'S', '?', 'C', '4', '5', '6', '7'} |
int | theAB = -1 |
const char * | ttfFilename = "TTF.txt" |
const char * | xconnectFilename = "xconnect_universal.txt" |
GenABIO is a standalone program to produce individual SRP card trigger tower and selective readout action flags from TTF.txt and SRF.txt global flag files. Run 'GenABIO -h' for usage.
Definition in file GenABIO.cc.
#define SIZE_MAX ((size_t)-1) |
Definition at line 25 of file GenABIO.cc.
#define SSIZE_MAX ((ssize_t)(SIZE_MAX / 2)) |
Definition at line 28 of file GenABIO.cc.
enum roAction_t |
Enumerator | |
---|---|
suppress | |
sr2 | |
sr1 | |
full | |
fsuppress | |
fsr2 | |
fsr1 | |
ffull |
Definition at line 168 of file GenABIO.cc.
void abConnect | ( | int | iAB, |
int | iABCh, | ||
int & | iOtherAB, | ||
int & | iOtherABCh | ||
) |
Definition at line 870 of file GenABIO.cc.
References EnergyCorrector::c, MessageLogger_cfi::cerr, cmsRelvalreport::exit, f, mps_fire::i, nAB, nABABCh, and xconnectFilename.
Referenced by abNum(), and getABABInputStream().
|
inline |
Definition at line 202 of file GenABIO.cc.
References abConnect(), f, FrontierConditions_GlobalTag_cff::file, flags, getABABInputStream(), getABABOutputStream(), getABDCCOutputStream(), getABTCCInputStream(), getABTTPhiBounds(), getFlagStream(), hcalTTPDigis_cfi::iEtaMax, hcalTTPDigis_cfi::iEtaMin, nBarrelTTInEta, nEndcaps, nSupercrystalXBins, nSupercrystalYBins, nTTInEta, nTTInPhi, readSRF(), readTTF(), writeABIOFileHeader(), writeABSRFFileHeader(), and writeABTTFFileHeader().
Referenced by fillABIOFiles(), fillABSRPFiles(), fillABTTFFiles(), and getABABInputStream().
void fillABIOFiles | ( | const char | ttFlags[nTTInEta][nTTInPhi], |
const char | barrelSrFlags[nBarrelTTInEta][nTTInPhi], | ||
const char | endcapSrFlags[nEndcaps][nSupercrystalXBins][nSupercrystalYBins], | ||
ofstream | files[] | ||
) |
Definition at line 459 of file GenABIO.cc.
References abNum(), getABABInputStream(), getABABOutputStream(), getABDCCOutputStream(), getABTCCInputStream(), iEvent, nABABCh, nABInEta, nABInPhi, nABTCCCh, and nDCCCh.
Referenced by main().
void fillABSRPFiles | ( | const char | barrelSrFlags[nBarrelTTInEta][nTTInPhi], |
const char | endcapSrFlags[nEndcaps][nSupercrystalXBins][nSupercrystalYBins], | ||
ofstream | files[] | ||
) |
Referenced by main().
void fillABSRPFiles | ( | const char | barrelSrFlags[nBarrelTTInEta][nTTInPhi], |
const char | endcapSrFlags[nEndcaps][nSupercrystalXBins][nSupercrystalYBins], | ||
ofstream | files[nAB] | ||
) |
Definition at line 390 of file GenABIO.cc.
References abNum(), abOfDcc(), dccIndexOfRU(), PatBasicFWLiteAnalyzer::files, getABTTPhiBounds(), mps_fire::i, iEvent, createfilelist::int, iTTEtaMax, iTTEtaMin, iTTEtaSign, mod(), nAB, nABInPhi, nEndcaps, nEndcapTTInEta, nSupercrystalXBins, nSupercrystalYBins, nTTInABAlongPhi, and srp2roFlags.
void fillABTTFFiles | ( | const char | ttFlags[nTTInEta][nTTInPhi], |
ofstream | files[] | ||
) |
Produces one file per AB. Each file contains the TT flags the AB receives from its inputs.
Definition at line 361 of file GenABIO.cc.
References abNum(), getABTTPhiBounds(), mps_fire::i, iEvent, iTTEtaMax, iTTEtaMin, iTTEtaSign, mod(), nABInEta, nABInPhi, and nTTInABAlongPhi.
Referenced by main().
string getABABInputStream | ( | const char | tccFlags[nTTInEta][nTTInPhi], |
int | iABEta, | ||
int | iABPhi, | ||
int | iABCh | ||
) |
Definition at line 855 of file GenABIO.cc.
References abConnect(), abNum(), and getABABOutputStream().
Referenced by abNum(), and fillABIOFiles().
string getABABOutputStream | ( | const char | tccFlags[nTTInEta][nTTInPhi], |
int | iABEta, | ||
int | iABPhi, | ||
int | iABCh | ||
) |
Definition at line 788 of file GenABIO.cc.
References Reference_intrackfit_cff::barrel, edmScanValgrind::buffer, getABTCCInputStream(), and alignCSCRings::s.
Referenced by abNum(), fillABIOFiles(), and getABABInputStream().
string getABDCCOutputStream | ( | const char | barrelSrFlags[nBarrelTTInEta][nTTInPhi], |
const char | endcapSrFlags[nEndcaps][nSupercrystalXBins][nSupercrystalYBins], | ||
int | iABEta, | ||
int | iABPhi, | ||
int | DCCCh | ||
) |
Definition at line 909 of file GenABIO.cc.
References Reference_intrackfit_cff::barrel, edmScanValgrind::buffer, ecalDccSC, getABTCCInputStream(), mps_fire::i, createfilelist::int, nEndcapTTInEta, SimDataFormats::CaloAnalysis::sc, and srp2roFlags.
Referenced by abNum(), and fillABIOFiles().
string getABTCCInputStream | ( | const char | tccFlags[nTTInEta][nTTInPhi], |
int | iABEta, | ||
int | iABPhi, | ||
int | iTCCCh | ||
) |
Definition at line 758 of file GenABIO.cc.
References getABTTPhiBounds(), getFlagStream(), hcalTTPDigis_cfi::iEtaMax, hcalTTPDigis_cfi::iEtaMin, and iTCCEtaBounds.
Referenced by abNum(), fillABIOFiles(), getABABOutputStream(), and getABDCCOutputStream().
void getABTTPhiBounds | ( | int | iABPhi, |
int & | iTTPhiMin, | ||
int & | iTTPhiMax | ||
) |
Definition at line 865 of file GenABIO.cc.
References mod(), nTTInABAlongPhi, and nTTInPhi.
Referenced by abNum(), fillABSRPFiles(), fillABTTFFiles(), and getABTCCInputStream().
string getFlagStream | ( | char | flags[nTTInEta][nTTInPhi], |
int | iEtaMin, | ||
int | iEtaMax, | ||
int | iPhiMin, | ||
int | iPhiMax | ||
) |
Definition at line 729 of file GenABIO.cc.
References edmScanValgrind::buffer, MessageLogger_cfi::cerr, cmsRelvalreport::exit, flags, hcalTTPDigis_cfi::iEtaMin, mod(), and nTTInEta.
Referenced by abNum(), and getABTCCInputStream().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 228 of file GenABIO.cc.
References abIOFilePostfix, abIOFilePrefix, abSRFFilePostfix, abSRFFilePrefix, abTTFFilePostfix, abTTFFilePrefix, actions, MessageLogger_cfi::cerr, gather_cfg::cout, dccPhiIndexOfRU(), ecalDccSC, cmsRelvalreport::exit, fillABIOFiles(), fillABSRPFiles(), fillABTTFFiles(), mps_fire::i, iEvent, createfilelist::int, nAB, nactions, nBarrelTTInEta, nEndcaps, nEndcapXBins, nEndcapYBins, nSupercrystalXBins, nSupercrystalYBins, nTTInEta, nTTInPhi, MillePedeFileConverter_cfg::out, readSRF(), readTTF(), roFlagMarker, alignCSCRings::s, srfFilename, srp2roFlags, srpFlagMarker, theAB, ttfFilename, writeABIOFileHeader(), writeABSRFFileHeader(), and writeABTTFFileHeader().
bool readSRF | ( | FILE * | file, |
char | barrelSrFlags[nBarrelTTInEta][nTTInPhi], | ||
char | endcapSrFlags[nEndcaps][nSupercrystalXBins][nSupercrystalYBins] | ||
) |
Definition at line 536 of file GenABIO.cc.
References edmScanValgrind::buffer, MessageLogger_cfi::cerr, cmsRelvalreport::exit, mps_splice::line, nBarrelTTInEta, nEndcaps, nSupercrystalXBins, nSupercrystalYBins, nTTInPhi, and srfFilename.
Referenced by abNum(), and main().
bool readTTF | ( | FILE * | file, |
char | ttFlags[nTTInEta][nTTInPhi] | ||
) |
Definition at line 499 of file GenABIO.cc.
References edmScanValgrind::buffer, MessageLogger_cfi::cerr, cmsRelvalreport::exit, mps_splice::line, nTTInEta, nTTInPhi, and ttfFilename.
Referenced by abNum(), and main().
void writeABIOFileHeader | ( | ofstream & | f, |
int | abNum | ||
) |
Definition at line 691 of file GenABIO.cc.
References actions, indexGen::date, roFlagMarker, srpFlagMarker, protons_cff::t, tccFlagMarker, and protons_cff::time.
Referenced by abNum(), and main().
void writeABSRFFileHeader | ( | ofstream & | f, |
int | abNum | ||
) |
Definition at line 645 of file GenABIO.cc.
References actions, indexGen::date, roFlagMarker, protons_cff::t, and protons_cff::time.
Referenced by abNum(), and main().
void writeABTTFFileHeader | ( | ofstream & | f, |
int | abNum | ||
) |
Definition at line 621 of file GenABIO.cc.
References indexGen::date, srpFlagMarker, protons_cff::t, and protons_cff::time.
Referenced by abNum(), and main().
const char* abIOFilePostfix = ".txt" |
Definition at line 157 of file GenABIO.cc.
Referenced by main().
const char* abIOFilePrefix = "IO_AB" |
Definition at line 156 of file GenABIO.cc.
Referenced by main().
const char* abSRFFilePostfix = ".txt" |
Definition at line 155 of file GenABIO.cc.
Referenced by main().
const char* abSRFFilePrefix = "AF_AB" |
Definition at line 154 of file GenABIO.cc.
Referenced by main().
const char* abTTFFilePostfix = ".txt" |
Definition at line 153 of file GenABIO.cc.
Referenced by main().
const char* abTTFFilePrefix = "TTF_AB" |
Definition at line 152 of file GenABIO.cc.
Referenced by main().
roAction_t actions[nactions] |
Definition at line 181 of file GenABIO.cc.
Referenced by Vispa.Plugins.EdmBrowser.EdmBrowserTabController.EdmBrowserTabController::centerViewMenuButtonClicked(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::centerViewMenuButtonClicked(), edm::GlobalSchedule::GlobalSchedule(), main(), edm::StreamSchedule::makePathStatusInserters(), edm::Maker::makeReplacementModule(), edm::WorkerMaker< T >::makeWorker(), operator<<(), edm::StreamSchedule::results(), edm::Schedule::Schedule(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::updateViewMenu(), writeABIOFileHeader(), writeABSRFFileHeader(), and edm::maker::ModuleHolder::~ModuleHolder().
Definition at line 192 of file GenABIO.cc.
Referenced by getABDCCOutputStream(), and main().
int iEvent = 0 |
Definition at line 224 of file GenABIO.cc.
Referenced by cms::Phase2TrackerDigitizer::accumulate(), SiStripGainFromData::algoAnalyze(), RawDataConverter::analyze(), SiPixelPhase1HitsV::analyze(), SiPixelPhase1TrackingParticleV::analyze(), ElectronMVANtuplizer::analyze(), PhotonMVANtuplizer::analyze(), EcalSimRawData::analyze(), __class__< T >::analyze(), CastorDumpConditions::analyze(), FFTJetTreeDump::analyze(), HcalDigisValidation::analyze(), FSQ::BaseHandler::BaseHandler(), tnp::BaseTreeFiller::BaseTreeFiller(), pat::helper::BasicOverlapTest::BasicOverlapTest(), BeamFitter::BeamFitter(), DDTestMuonNumbering::beginJob(), DDTestSpecPars::beginJob(), DTGeometryTest::beginJob(), GeometricTimingDetLoader::beginJob(), GeometricDetLoader::beginJob(), DDTestVectors::beginJob(), XMLGeometryReader::beginJob(), DDTestSpecParsFilter::beginJob(), DDTestDumpGeometry::beginJob(), DDCMSDetector::beginJob(), L1CSCTPEmulatorConfigAnalyzer::beginJob(), DDTestDumpFile::beginJob(), DDTestNavigateGeometry::beginJob(), OutputMagneticFieldDDToDDL::beginJob(), OutputDDToDDL::beginJob(), cms::Phase2TrackerDigitizer::beginJob(), CSCSkim::beginJob(), RPCNoise::beginJob(), DigiVertexCorrHistogramMaker::book(), DigiLumiCorrHistogramMaker::book(), pat::LeptonVertexSignificance::calculate(), CandMergerCleanOthersByDR::CandMergerCleanOthersByDR(), reco::isodeposit::OtherCandidatesDeltaRVeto::centerOn(), reco::isodeposit::OtherCandVeto::centerOn(), CSCRecoIdealDBLoader::CSCRecoIdealDBLoader(), DTRecoIdealDBLoader::DTRecoIdealDBLoader(), EcalSimRawData::EcalSimRawData(), TTClusterBuilder< T >::endRun(), TTTrackAssociator< T >::endRun(), TTStubAssociator< T >::endRun(), TTClusterAssociator< T >::endRun(), VarSplitter::eval(), VariablePower::eval(), EventStringOutputBranches::EventStringOutputBranches(), L1GtUtils::LogicalExpressionL1Results::expL1Triggers(), SimpleFlatTableProducer< T >::ExtVariable::ExtVariable(), ConfigurableHisto::fill(), fillABIOFiles(), fillABSRPFiles(), fillABTTFFiles(), l1t::L1TGlobalUtil::fillDescription(), PixelFitterByHelixProjectionsProducer::fillDescriptions(), PixelFitterByConformalMappingAndLineProducer::fillDescriptions(), MuonTimingFiller::fillTiming(), ConfigurableAnalysis::filter(), CSCSkim::filter(), RPCNoise::filter(), CSCEfficiency::filter(), FWFileEntry::filterEventsWithCustomParser(), PreMixingWorker::finalizeBunchCrossing(), cms::Phase2TrackerDigitizer::finalizeEvent(), GEMRecoIdealDBLoader::GEMRecoIdealDBLoader(), MultiTokenT< edm::View< reco::GsfElectron > >::get(), EcalSelectiveReadoutSuppressor::getEcalSelectiveReadout(), FWEventItem::getEvent(), pat::PATMuonProducer::globalEndJob(), MTDDetLayerMeasurements::groupedMeasurements(), MuonDetLayerMeasurements::groupedMeasurements(), HcalParametersDBBuilder::HcalParametersDBBuilder(), PreMixingDigiSimLinkWorker< DigiSimLinkCollection >::initializeEvent(), PreMixingMuonWorker< CSCWireDigiCollection >::initializeEvent(), edm::PreMixingCrossingFrameWorker< T >::initializeEvent(), PreMixingTrackingParticleWorker::initializeEvent(), PreMixingCaloParticleWorker::initializeEvent(), HLTPrescaler::initializeGlobalCache(), pat::CandidateSummaryTable::initializeGlobalCache(), VirtualJetProducer::jetType(), HLTPrescaleProvider::l1tGlobalUtil(), main(), GroupedCkfTrajectoryBuilder::mass(), ME0RecoIdealDBLoader::ME0RecoIdealDBLoader(), ParametersDefinerForTP::momentum(), tnp::ProbeFlag::name(), FWEventItemsManager::newEvent(), ElectronHEEPIDValueMapProducer::DataFormat::operator()(), PhysicsTowerOrganizer::towercmp::operator()(), SubjetFilterJetProducer::output(), cms::CompoundJetProducer::output(), VirtualJetProducer::output(), PCaloGeometryBuilder::PCaloGeometryBuilder(), PGeometricDetBuilder::PGeometricDetBuilder(), PGeometricDetExtraBuilder::PGeometricDetExtraBuilder(), PHGCalParametersDBBuilder::PHGCalParametersDBBuilder(), QcdLowPtDQM::print(), pf2pat::TopProjectorAlgo< Top, Bottom >::processCollection(), TtDilepEvtSolutionMaker::produce(), PFEGammaToCandidateRemapper::produce(), PFEGammaToCandidate::produce(), ConeIsolation::produce(), TtSemiEvtSolutionMaker::produce(), pat::MatcherUsingTracks::produce(), ImpactParameter::produce(), PFLinker::produce(), SiStripFineDelayHit::produce(), pf2pat::TopProjectorAlgo< Top, Bottom >::produce(), QuickTrackAssociatorByHitsProducer::produce(), pat::PATTriggerEventProducer::produce(), FFTJetPatRecoProducer::produce(), TriggerSummaryProducerAOD::produce(), FFTJetProducer::produce(), SiStripFineDelayHit::produceNoTracking(), PTrackerParametersDBBuilder::PTrackerParametersDBBuilder(), PVFitter::PVFitter(), MTDDetLayerMeasurements::recHits(), MuonDetLayerMeasurements::recHits(), L1Analysis::L1AnalysisL1Menu::Reset(), RPCRecoIdealDBLoader::RPCRecoIdealDBLoader(), pat::helper::AnyNumberAssociationAdaptor::run(), FWEventItem::setEvent(), XMLConfigReader::setEventsFile(), BaseCkfTrajectoryBuilder::setNavigationSchool(), TTStubBuilder< T >::SortStubsBend(), Splitter::Splitter(), TableOutputBranches::TableOutputBranches(), TrackingNtuple::tpHitIndexListLessSort(), tnp::TPTreeFiller::TPTreeFiller(), TrackingSeedCandidates::TrackingSeedCandidates(), TriggerOutputBranches::TriggerOutputBranches(), GlobalVariablesTableProducer::Variable::Variable(), VarSplitter::VarSplitter(), VertexBeamspotOrigins::VertexBeamspotOrigins(), AlCaElectronsTest::~AlCaElectronsTest(), AlignmentMonitorBase::~AlignmentMonitorBase(), AlignmentMonitorMuonResiduals::~AlignmentMonitorMuonResiduals(), AlignmentMonitorMuonSystemMap1D::~AlignmentMonitorMuonSystemMap1D(), AlignmentMonitorMuonVsCurvature::~AlignmentMonitorMuonVsCurvature(), AlignmentMonitorSegmentDifferences::~AlignmentMonitorSegmentDifferences(), AlignmentMonitorTemplate::~AlignmentMonitorTemplate(), AlignmentMonitorTracksFromTrajectories::~AlignmentMonitorTracksFromTrajectories(), pat::helper::AnythingToValueMap< Adaptor, Collection, value_type >::~AnythingToValueMap(), BadGlobalMuonTagger::~BadGlobalMuonTagger(), BetaStarVarProducer< T >::~BetaStarVarProducer(), cms::BHFilter::~BHFilter(), calcTopMass::~calcTopMass(), CalibratedElectronProducerT< T >::~CalibratedElectronProducerT(), CalibratedPhotonProducerT< T >::~CalibratedPhotonProducerT(), CaloMuonMerger::~CaloMuonMerger(), cms::CATopJetProducer::~CATopJetProducer(), CosmicGenFilterLowE::~CosmicGenFilterLowE(), CosmicParametersDefinerForTP::~CosmicParametersDefinerForTP(), cms::CosmicTIFTrigFilter::~CosmicTIFTrigFilter(), CSCTightHalo2015Filter::~CSCTightHalo2015Filter(), CSCTightHaloFilter::~CSCTightHaloFilter(), CSCTightHaloTrkMuUnvetoFilter::~CSCTightHaloTrkMuUnvetoFilter(), cms::CSJetProducer::~CSJetProducer(), DiJetMonitor::~DiJetMonitor(), EcalBadCalibFilter::~EcalBadCalibFilter(), EcalLaserCorrFilter::~EcalLaserCorrFilter(), edm::EDLooper::~EDLooper(), EEBadScFilter::~EEBadScFilter(), EENoiseFilter::~EENoiseFilter(), ElectronIDExternalProducer< algo >::~ElectronIDExternalProducer(), reco::isodeposit::EventDependentAbsVeto::~EventDependentAbsVeto(), FakeTrackProducer< T >::~FakeTrackProducer(), pat::GenJetFlavourInfoPreserver::~GenJetFlavourInfoPreserver(), GlobalSuperTightHalo2016Filter::~GlobalSuperTightHalo2016Filter(), GlobalTightHalo2016Filter::~GlobalTightHalo2016Filter(), HcalStripHaloFilter::~HcalStripHaloFilter(), HGCalEgammaIDHelper::~HGCalEgammaIDHelper(), HistoFillerReco< l1extra::L1EmParticleCollection >::~HistoFillerReco(), pat::HLTL1MuonMatcher::~HLTL1MuonMatcher(), cms::HTTTopJetProducer::~HTTTopJetProducer(), JetCollectionReducerT< T >::~JetCollectionReducerT(), KFBasedPixelFitterProducer::~KFBasedPixelFitterProducer(), pat::L1MuonMatcher::~L1MuonMatcher(), LogErrorEventFilter::~LogErrorEventFilter(), pat::helper::ManyThingsToValueMaps< Adaptor, Collection, value_type >::~ManyThingsToValueMaps(), pat::MatcherUsingTracks::~MatcherUsingTracks(), METplusTrackMonitor::~METplusTrackMonitor(), MultiEventFilter::~MultiEventFilter(), modules::MuonCleanerBySegmentsT< T >::~MuonCleanerBySegmentsT(), cms::MuonMETValueMapProducer::~MuonMETValueMapProducer(), MuonReSeeder::~MuonReSeeder(), MuonSelectorVertex::~MuonSelectorVertex(), NjettinessAdder::~NjettinessAdder(), NTupler::~NTupler(), OutsideInMuonSeeder::~OutsideInMuonSeeder(), pat::helper::OverlapTest::~OverlapTest(), pat::PackedPFCandidateRefMixer::~PackedPFCandidateRefMixer(), ParticleListDrawer::~ParticleListDrawer(), pat::PATCleaner< PATObjType >::~PATCleaner(), PatElectronEAIsoCorrectionProducer::~PatElectronEAIsoCorrectionProducer(), pat::PATElectronSlimmer::~PATElectronSlimmer(), pat::PATGenJetSlimmer::~PATGenJetSlimmer(), pat::PATJetSlimmer::~PATJetSlimmer(), pat::PATMETSlimmer::~PATMETSlimmer(), PATMuonMerger::~PATMuonMerger(), pat::PATMuonSlimmer::~PATMuonSlimmer(), pat::PATObjectUserDataEmbedder< T >::~PATObjectUserDataEmbedder(), pat::PATPhotonSlimmer::~PATPhotonSlimmer(), pat::PATTauSlimmer::~PATTauSlimmer(), pat::PATTriggerEventProducer::~PATTriggerEventProducer(), pat::PATTriggerMatchEmbedder< PATObjectType >::~PATTriggerMatchEmbedder(), pat::PATTriggerObjectStandAloneSlimmer::~PATTriggerObjectStandAloneSlimmer(), pat::PATTriggerObjectStandAloneUnpacker::~PATTriggerObjectStandAloneUnpacker(), pat::PATTriggerProducer::~PATTriggerProducer(), pat::PATUserDataHelper< pat::pat::PFParticle >::~PATUserDataHelper(), pat::PATUserDataMerger< pat::pat::MET, pat::helper::AddUserInt >::~PATUserDataMerger(), PFEGammaToCandidateRemapper::~PFEGammaToCandidateRemapper(), PhotonIsolationCalculator::~PhotonIsolationCalculator(), PhotonMIPHaloTagger::~PhotonMIPHaloTagger(), PileUpSubtractor::~PileUpSubtractor(), Plotter::~Plotter(), QjetsAdder::~QjetsAdder(), RazorBox::~RazorBox(), RazorComputer::~RazorComputer(), SimpleFlatTableProducerBase< T, T >::~SimpleFlatTableProducerBase(), SiPixelPhase1Base::~SiPixelPhase1Base(), cms::SubJetProducer::~SubJetProducer(), tnp::TagProbePairMaker::~TagProbePairMaker(), pf2pat::TopProjectorAlgo< Top, Bottom >::~TopProjectorAlgo(), fastsim::TrackerSimHitProducer::~TrackerSimHitProducer(), TrackFitterProducer::~TrackFitterProducer(), TrackingFailureFilter::~TrackingFailureFilter(), TrackingRegionsFromSuperClustersProducer::~TrackingRegionsFromSuperClustersProducer(), TriggerObjectFilterByCollection::~TriggerObjectFilterByCollection(), VariableComputer::~VariableComputer(), VariableComputerTest::~VariableComputerTest(), VariablePower::~VariablePower(), and XtoFFbarFilter::~XtoFFbarFilter().
const int iTCCEtaBounds[nTCCInEta+1] = {0, 7, 11, 28, 45, 49, 56} |
Definition at line 150 of file GenABIO.cc.
Referenced by getABTCCInputStream().
const int iTTEtaMax[nABInEta] = {10, 27, 44, 55} |
Definition at line 144 of file GenABIO.cc.
Referenced by fillABSRPFiles(), and fillABTTFFiles().
const int iTTEtaMin[nABInEta] = {0, 11, 28, 45} |
Definition at line 143 of file GenABIO.cc.
Referenced by fillABSRPFiles(), and fillABTTFFiles().
const int iTTEtaSign[nABInEta] = {-1, -1, 1, 1} |
Definition at line 145 of file GenABIO.cc.
Referenced by fillABSRPFiles(), and fillABTTFFiles().
Definition at line 141 of file GenABIO.cc.
Referenced by abConnect(), fillABSRPFiles(), and main().
const int nABABCh = 8 |
Definition at line 137 of file GenABIO.cc.
Referenced by abConnect(), and fillABIOFiles().
const int nABInEta = 4 |
Number of ABs in a phi-sector
Definition at line 130 of file GenABIO.cc.
Referenced by fillABIOFiles(), and fillABTTFFiles().
const int nABInPhi = 3 |
Number of ABs in an eta slice
Definition at line 133 of file GenABIO.cc.
Referenced by fillABIOFiles(), fillABSRPFiles(), and fillABTTFFiles().
const int nABTCCCh = 12 |
Definition at line 138 of file GenABIO.cc.
Referenced by fillABIOFiles().
const int nactions = 8 |
Definition at line 179 of file GenABIO.cc.
Referenced by main().
|
static |
Number of barrel trigger towers along eta
Definition at line 121 of file GenABIO.cc.
const int nDCCCh = 12 |
Definition at line 139 of file GenABIO.cc.
Referenced by fillABIOFiles().
const int nDCCEE = 9 |
Number of DCCs in an endcap
Definition at line 136 of file GenABIO.cc.
|
static |
Number of endcap, obviously tow
Definition at line 115 of file GenABIO.cc.
Referenced by abNum(), HLTCSCAcceptBusyFilter::AcceptManyHitsInChamber(), EcalSimRawData::analyze(), fillABSRPFiles(), EcalSimRawData::getSrfs(), main(), EcalSelectiveReadoutProducer::printSrFlags(), and readSRF().
|
static |
Number of trigger towers along eta in one endcap
Definition at line 118 of file GenABIO.cc.
Referenced by fillABSRPFiles(), and getABDCCOutputStream().
|
static |
Range of the x-index of endcap crystals (xman-xmin+1).
Definition at line 100 of file GenABIO.cc.
Referenced by main().
|
static |
Range of the y-index of endcap crystals (yman-ymin+1).
Definition at line 103 of file GenABIO.cc.
Referenced by main().
|
static |
Range of endcap supercrystal x-index (xmax-xmin+1)
Definition at line 109 of file GenABIO.cc.
Referenced by abNum(), fillABSRPFiles(), main(), and readSRF().
|
static |
Range of endcap supercrystal y-index (ymay-ymin+1)
Definition at line 112 of file GenABIO.cc.
Referenced by abNum(), fillABSRPFiles(), main(), and readSRF().
const int nTCCInEta = 6 |
Definition at line 140 of file GenABIO.cc.
Definition at line 142 of file GenABIO.cc.
Referenced by fillABSRPFiles(), fillABTTFFiles(), and getABTTPhiBounds().
|
static |
Number of trigger towers along eta for the whole ECAL
Definition at line 124 of file GenABIO.cc.
Referenced by abNum(), getFlagStream(), main(), and readTTF().
|
static |
Number of trigger towers in an eta ring
Definition at line 127 of file GenABIO.cc.
Referenced by abNum(), getABTTPhiBounds(), main(), readSRF(), and readTTF().
char roFlagMarker[] |
Definition at line 169 of file GenABIO.cc.
Referenced by main(), writeABIOFileHeader(), and writeABSRFFileHeader().
const char* srfFilename = "SRF.txt" |
Definition at line 159 of file GenABIO.cc.
char srp2roFlags[128] |
Definition at line 166 of file GenABIO.cc.
Referenced by fillABSRPFiles(), getABDCCOutputStream(), and main().
Definition at line 163 of file GenABIO.cc.
Referenced by main(), EcalSelectiveReadoutProducer::printSrFlags(), writeABIOFileHeader(), and writeABTTFFileHeader().
|
static |
Edge size of a supercrystal. A supercrystal is a tower of 5x5 crystals.
Definition at line 106 of file GenABIO.cc.
const char tccFlagMarker[] = {'.', 'S', '?', 'C', '4', '5', '6', '7'} |
Definition at line 164 of file GenABIO.cc.
Referenced by EcalSelectiveReadoutSuppressor::printTTFlags(), EcalSelectiveReadoutProducer::printTTFlags(), and writeABIOFileHeader().
int theAB = -1 |
Definition at line 226 of file GenABIO.cc.
Referenced by main().
const char* ttfFilename = "TTF.txt" |
Definition at line 160 of file GenABIO.cc.
const char* xconnectFilename = "xconnect_universal.txt" |
Definition at line 161 of file GenABIO.cc.
Referenced by abConnect().