CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes
GTTFileWriter Class Reference

#include <L1Trigger/DemonstratorTools/plugins/GTTFileWriter.cc>

Inheritance diagram for GTTFileWriter:
edm::one::EDAnalyzer< edm::one::SharedResources > edm::one::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

 GTTFileWriter (const edm::ParameterSet &)
 
- Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::SharedResources >
 EDAnalyzer ()=default
 
 EDAnalyzer (const EDAnalyzer &)=delete
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
const EDAnalyzeroperator= (const EDAnalyzer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDAnalyzerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::one::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Types

typedef TTTrack< Ref_Phase2TrackerDigi_Track_t
 
typedef std::vector< Track_tTrackCollection_t
 
typedef edm::RefVector< TrackCollection_tTrackRefCollection_t
 

Private Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void endJob () override
 

Private Attributes

const edm::EDGetTokenT< TrackCollection_tconvertedTrackCollectionToken_
 
const edm::EDGetTokenT< edm::View< Track_t > > convertedTracksToken_
 
const edm::EDGetTokenT< edm::View< l1t::EtSum > > etMissToken_
 
l1t::demo::BoardDataWriter fileWriterConvertedTracks_
 
l1t::demo::BoardDataWriter fileWriterInputTracks_
 
l1t::demo::BoardDataWriter fileWriterOutputToCorrelator_
 
l1t::demo::BoardDataWriter fileWriterOutputToGlobalTrigger_
 
l1t::demo::BoardDataWriter fileWriterSelectedTracks_
 
l1t::demo::BoardDataWriter fileWriterVertexAssociatedTracks_
 
const edm::EDGetTokenT< edm::View< l1t::EtSum > > htMissToken_
 
const edm::EDGetTokenT< edm::View< l1t::TkJetWord > > jetsToken_
 
const std::map< l1t::demo::LinkId, std::vector< size_t > > kChannelIdsInput
 
const std::map< l1t::demo::LinkId, std::vector< size_t > > kChannelIdsOutputToGlobalTrigger
 
const std::map< std::string, l1t::demo::ChannelSpeckChannelSpecsInput
 
const std::map< l1t::demo::LinkId, std::pair< l1t::demo::ChannelSpec, std::vector< size_t > > > kChannelSpecsOutputToCorrelator
 
const std::map< std::string, l1t::demo::ChannelSpeckChannelSpecsOutputToGlobalTrigger
 
const edm::EDGetTokenT< TrackRefCollection_tselectedTracksToken_
 
const edm::EDGetTokenT< edm::View< Track_t > > tracksToken_
 
const edm::EDGetTokenT< TrackRefCollection_tvertexAssociatedTracksToken_
 
const edm::EDGetTokenT< edm::View< l1t::VertexWord > > verticesToken_
 

Static Private Attributes

static constexpr size_t kFramesPerTMUXPeriod = 9
 
static constexpr size_t kGapLengthInput = 6
 
static constexpr size_t kGapLengthOutputToCorrelator = 44
 
static constexpr size_t kGapLengthOutputToGlobalTriggerMesons = 15
 
static constexpr size_t kGapLengthOutputToGlobalTriggerSums = 3
 
static constexpr size_t kGapLengthOutputToGlobalTriggerTaus = 36
 
static constexpr size_t kGapLengthOutputToGlobalTriggerVertices = 6
 
static constexpr size_t kGTTBoardTMUX = 6
 
static constexpr size_t kMaxLinesPerFile = 1024
 
static constexpr size_t kTrackTMUX = 18
 

Additional Inherited Members

- Public Types inherited from edm::one::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< Bconsumes (edm::InputTag tag) noexcept
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes ()
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag)
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
void resetItemsToGetFrom (BranchType iType)
 

Detailed Description

Description: Example EDAnalyzer class, illustrating how BoardDataWriter can be used to write I/O buffer files for hardware/firmware tests

Implementation: [Notes on implementation]

Definition at line 56 of file GTTFileWriter.cc.

Member Typedef Documentation

◆ Track_t

Definition at line 120 of file GTTFileWriter.cc.

◆ TrackCollection_t

typedef std::vector<Track_t> GTTFileWriter::TrackCollection_t
private

Definition at line 121 of file GTTFileWriter.cc.

◆ TrackRefCollection_t

Definition at line 122 of file GTTFileWriter.cc.

Constructor & Destructor Documentation

◆ GTTFileWriter()

GTTFileWriter::GTTFileWriter ( const edm::ParameterSet iConfig)
explicit

Definition at line 151 of file GTTFileWriter.cc.

154  consumes<edm::View<Track_t>>(iConfig.getUntrackedParameter<edm::InputTag>("convertedTracks"))),
156  consumes<TrackCollection_t>(iConfig.getUntrackedParameter<edm::InputTag>("convertedTracks"))),
158  consumes<TrackRefCollection_t>(iConfig.getUntrackedParameter<edm::InputTag>("selectedTracks"))),
160  consumes<TrackRefCollection_t>(iConfig.getUntrackedParameter<edm::InputTag>("vertexAssociatedTracks"))),
166  iConfig.getUntrackedParameter<std::string>("inputFilename"),
173  iConfig.getUntrackedParameter<std::string>("inputConvertedFilename"),
180  iConfig.getUntrackedParameter<std::string>("selectedTracksFilename"),
188  iConfig.getUntrackedParameter<std::string>("vertexAssociatedTracksFilename"),
195  iConfig.getUntrackedParameter<std::string>("outputCorrelatorFilename"),
201  iConfig.getUntrackedParameter<std::string>("outputGlobalTriggerFilename"),
l1t::demo::BoardDataWriter fileWriterVertexAssociatedTracks_
l1t::demo::BoardDataWriter fileWriterOutputToCorrelator_
const edm::EDGetTokenT< edm::View< l1t::EtSum > > etMissToken_
const edm::EDGetTokenT< edm::View< Track_t > > convertedTracksToken_
FileFormat parseFileFormat(const std::string &)
Definition: utilities.cc:70
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getUntrackedParameter(std::string const &, T const &) const
const edm::EDGetTokenT< edm::View< l1t::EtSum > > htMissToken_
const edm::EDGetTokenT< edm::View< l1t::VertexWord > > verticesToken_
const edm::EDGetTokenT< edm::View< l1t::TkJetWord > > jetsToken_
static constexpr size_t kMaxLinesPerFile
static constexpr size_t kFramesPerTMUXPeriod
l1t::demo::BoardDataWriter fileWriterInputTracks_
const std::map< l1t::demo::LinkId, std::pair< l1t::demo::ChannelSpec, std::vector< size_t > > > kChannelSpecsOutputToCorrelator
const std::map< l1t::demo::LinkId, std::vector< size_t > > kChannelIdsInput
l1t::demo::BoardDataWriter fileWriterSelectedTracks_
const std::map< std::string, l1t::demo::ChannelSpec > kChannelSpecsInput
const std::map< std::string, l1t::demo::ChannelSpec > kChannelSpecsOutputToGlobalTrigger
static constexpr size_t kGTTBoardTMUX
const edm::EDGetTokenT< TrackCollection_t > convertedTrackCollectionToken_
const edm::EDGetTokenT< TrackRefCollection_t > selectedTracksToken_
l1t::demo::BoardDataWriter fileWriterOutputToGlobalTrigger_
const edm::EDGetTokenT< TrackRefCollection_t > vertexAssociatedTracksToken_
l1t::demo::BoardDataWriter fileWriterConvertedTracks_
const std::map< l1t::demo::LinkId, std::vector< size_t > > kChannelIdsOutputToGlobalTrigger
const edm::EDGetTokenT< edm::View< Track_t > > tracksToken_

Member Function Documentation

◆ analyze()

void GTTFileWriter::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::one::EDAnalyzerBase.

Definition at line 208 of file GTTFileWriter.cc.

References l1t::demo::EventData::add(), l1t::demo::BoardDataWriter::addEvent(), convertedTrackCollectionToken_, convertedTracksToken_, l1t::demo::codecs::encodeEtSums(), l1t::demo::codecs::encodeHtSums(), l1t::demo::codecs::encodeTkJets(), l1t::demo::codecs::encodeTracks(), l1t::demo::codecs::encodeVertices(), etMissToken_, fileWriterConvertedTracks_, fileWriterInputTracks_, fileWriterOutputToCorrelator_, fileWriterOutputToGlobalTrigger_, fileWriterSelectedTracks_, fileWriterVertexAssociatedTracks_, htMissToken_, mps_fire::i, iEvent, jetsToken_, selectedTracksToken_, tracksToken_, vertexAssociatedTracksToken_, topElectronID_cff::verticesCollection, and verticesToken_.

208  {
209  using namespace edm;
210  using namespace l1t::demo::codecs;
211 
212  // 0) Gather the necessary collections
213  const auto& tracksCollection = iEvent.get(tracksToken_);
214  const auto& convertedTracksCollection = iEvent.get(convertedTracksToken_);
215  const auto& verticesCollection = iEvent.get(verticesToken_);
216  const auto& jetsCollection = iEvent.get(jetsToken_);
217  const auto& htMissCollection = iEvent.get(htMissToken_);
218  const auto& etMissCollection = iEvent.get(etMissToken_);
219 
220  edm::Handle<TrackCollection_t> convertedTracksHandle;
221  edm::Handle<TrackRefCollection_t> selectedTracksHandle;
222  edm::Handle<TrackRefCollection_t> vertexAssociatedTracksHandle;
223  iEvent.getByToken(convertedTrackCollectionToken_, convertedTracksHandle);
224  iEvent.getByToken(selectedTracksToken_, selectedTracksHandle);
225  iEvent.getByToken(vertexAssociatedTracksToken_, vertexAssociatedTracksHandle);
226 
227  // 1) Encode 'object' information onto vectors containing link data
228  const auto trackData(encodeTracks(tracksCollection));
229  const auto convertedTrackData(encodeTracks(convertedTracksCollection));
230  const auto selectedTrackData(encodeTracks(convertedTracksHandle, selectedTracksHandle));
231  const auto vertexAssociatedTrackData(encodeTracks(convertedTracksHandle, vertexAssociatedTracksHandle));
232  const auto vertexData(encodeVertices(verticesCollection));
233  const auto jetsData(encodeTkJets(jetsCollection));
234  const auto htMissData(encodeHtSums(htMissCollection));
235  const auto etMissData(encodeEtSums(etMissCollection));
236 
237  // 2) Pack 'object' information into 'event data' object
238  l1t::demo::EventData eventDataTracks;
239  l1t::demo::EventData eventDataConvertedTracks;
240  l1t::demo::EventData eventDataSelectedTracks;
241  l1t::demo::EventData eventDataVertexAssociatedTracks;
242  for (size_t i = 0; i < 18; i++) {
243  eventDataTracks.add({"tracks", i}, trackData.at(i));
244  eventDataConvertedTracks.add({"tracks", i}, convertedTrackData.at(i));
245  eventDataSelectedTracks.add({"tracks", i}, selectedTrackData.at(i));
246  eventDataVertexAssociatedTracks.add({"tracks", i}, vertexAssociatedTrackData.at(i));
247  }
248 
249  l1t::demo::EventData eventDataVertices;
250  eventDataVertices.add({"vertices", 0}, vertexData.at(0));
251 
252  // 2b) For the global trigger 'event data' combine different objects into one 'logical' link
253  std::vector<ap_uint<64>> sumsData;
254  sumsData.insert(sumsData.end(), jetsData.at(0).begin(), jetsData.at(0).end());
255  sumsData.insert(sumsData.end(), 24, 0);
256  sumsData.insert(sumsData.end(), htMissData.at(0).begin(), htMissData.at(0).end());
257  sumsData.insert(sumsData.end(), 1, 0);
258  sumsData.insert(sumsData.end(), etMissData.at(0).begin(), etMissData.at(0).end());
259 
260  std::vector<ap_uint<64>> tracksVerticesData;
261  tracksVerticesData.insert(tracksVerticesData.end(), 36, 0);
262  tracksVerticesData.insert(tracksVerticesData.end(), vertexData.at(0).begin(), vertexData.at(0).end());
263  tracksVerticesData.insert(tracksVerticesData.end(), 2, 0);
264 
265  l1t::demo::EventData eventDataGlobalTrigger;
266  eventDataGlobalTrigger.add({"sums", 0}, sumsData);
267  eventDataGlobalTrigger.add({"taus", 1}, std::vector<ap_uint<64>>(18, 0)); // Placeholder until tau object is written
268  eventDataGlobalTrigger.add({"mesons", 2},
269  std::vector<ap_uint<64>>(39, 0)); // Placeholder until light meson objects are written
270  eventDataGlobalTrigger.add({"vertices", 3}, tracksVerticesData);
271 
272  // 3) Pass the 'event data' object to the file writer
273 
274  fileWriterInputTracks_.addEvent(eventDataTracks);
275  fileWriterConvertedTracks_.addEvent(eventDataConvertedTracks);
276  fileWriterSelectedTracks_.addEvent(eventDataSelectedTracks);
277  fileWriterVertexAssociatedTracks_.addEvent(eventDataVertexAssociatedTracks);
278  fileWriterOutputToCorrelator_.addEvent(eventDataVertices);
279  fileWriterOutputToGlobalTrigger_.addEvent(eventDataGlobalTrigger);
280 }
l1t::demo::BoardDataWriter fileWriterVertexAssociatedTracks_
l1t::demo::BoardDataWriter fileWriterOutputToCorrelator_
std::array< std::vector< ap_uint< 64 > >, 1 > encodeHtSums(const edm::View< l1t::EtSum > &)
const edm::EDGetTokenT< edm::View< l1t::EtSum > > etMissToken_
const edm::EDGetTokenT< edm::View< Track_t > > convertedTracksToken_
void addEvent(const EventData &data)
void add(const LinkId &, const std::vector< ap_uint< 64 >> &)
Definition: EventData.cc:14
std::array< std::vector< ap_uint< 64 > >, 18 > encodeTracks(const edm::View< TTTrack< Ref_Phase2TrackerDigi_ >> &, int debug=0)
const edm::EDGetTokenT< edm::View< l1t::EtSum > > htMissToken_
const edm::EDGetTokenT< edm::View< l1t::VertexWord > > verticesToken_
const edm::EDGetTokenT< edm::View< l1t::TkJetWord > > jetsToken_
int iEvent
Definition: GenABIO.cc:224
l1t::demo::BoardDataWriter fileWriterInputTracks_
std::array< std::vector< ap_uint< 64 > >, 1 > encodeEtSums(const edm::View< l1t::EtSum > &)
std::array< std::vector< ap_uint< 64 > >, 1 > encodeVertices(const edm::View< l1t::VertexWord > &)
l1t::demo::BoardDataWriter fileWriterSelectedTracks_
HLT enums.
const edm::EDGetTokenT< TrackCollection_t > convertedTrackCollectionToken_
const edm::EDGetTokenT< TrackRefCollection_t > selectedTracksToken_
std::array< std::vector< ap_uint< 64 > >, 1 > encodeTkJets(const edm::View< l1t::TkJetWord > &)
Definition: codecs_tkjets.cc:9
l1t::demo::BoardDataWriter fileWriterOutputToGlobalTrigger_
Class representing information phase-2 ATCA I/O data corresponding to a single event, with logical channel IDs (essentially string-uint pairs, e.g. tracks-0 to tracks-17).
Definition: EventData.h:28
const edm::EDGetTokenT< TrackRefCollection_t > vertexAssociatedTracksToken_
l1t::demo::BoardDataWriter fileWriterConvertedTracks_
const edm::EDGetTokenT< edm::View< Track_t > > tracksToken_

◆ endJob()

void GTTFileWriter::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 283 of file GTTFileWriter.cc.

References fileWriterConvertedTracks_, fileWriterInputTracks_, fileWriterOutputToCorrelator_, fileWriterOutputToGlobalTrigger_, and l1t::demo::BoardDataWriter::flush().

283  {
284  // Writing pending events to file before exiting
289 }
l1t::demo::BoardDataWriter fileWriterOutputToCorrelator_
l1t::demo::BoardDataWriter fileWriterInputTracks_
l1t::demo::BoardDataWriter fileWriterOutputToGlobalTrigger_
l1t::demo::BoardDataWriter fileWriterConvertedTracks_

◆ fillDescriptions()

void GTTFileWriter::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 292 of file GTTFileWriter.cc.

References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, HLT_2022v15_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

292  {
293  // GTTFileWriter
295  desc.addUntracked<edm::InputTag>("tracks", edm::InputTag("l1tTTTracksFromTrackletEmulation", "Level1TTTracks"));
296  desc.addUntracked<edm::InputTag>("convertedTracks", edm::InputTag("l1tGTTInputProducer", "Level1TTTracksConverted"));
297  desc.addUntracked<edm::InputTag>("selectedTracks",
298  edm::InputTag("l1tTrackSelectionProducer", "Level1TTTracksSelectedEmulation"));
299  desc.addUntracked<edm::InputTag>(
300  "vertexAssociatedTracks",
301  edm::InputTag("l1tTrackSelectionProducer", "Level1TTTracksSelectedAssociatedEmulation"));
302  desc.addUntracked<edm::InputTag>("vertices", edm::InputTag("l1tVertexProducer", "l1verticesEmulation"));
303  desc.addUntracked<edm::InputTag>("jets", edm::InputTag("l1tTrackJetsEmulation", "L1TrackJets"));
304  desc.addUntracked<edm::InputTag>("htmiss", edm::InputTag("l1tTrackerEmuHTMiss", "L1TrackerEmuHTMiss"));
305  desc.addUntracked<edm::InputTag>("etmiss", edm::InputTag("l1tTrackerEmuEtMiss", "L1TrackerEmuEtMiss"));
306  desc.addUntracked<std::string>("inputFilename", "L1GTTInputFile");
307  desc.addUntracked<std::string>("inputConvertedFilename", "L1GTTInputConvertedFile");
308  desc.addUntracked<std::string>("selectedTracksFilename", "L1GTTSelectedTracksFile");
309  desc.addUntracked<std::string>("vertexAssociatedTracksFilename", "L1GTTVertexAssociatedTracksFile");
310  desc.addUntracked<std::string>("outputCorrelatorFilename", "L1GTTOutputToCorrelatorFile");
311  desc.addUntracked<std::string>("outputGlobalTriggerFilename", "L1GTTOutputToGlobalTriggerFile");
312  desc.addUntracked<std::string>("format", "APx");
313  descriptions.add("GTTFileWriter", desc);
314 }
void add(std::string const &label, ParameterSetDescription const &psetDescription)

Member Data Documentation

◆ convertedTrackCollectionToken_

const edm::EDGetTokenT<TrackCollection_t> GTTFileWriter::convertedTrackCollectionToken_
private

Definition at line 131 of file GTTFileWriter.cc.

Referenced by analyze().

◆ convertedTracksToken_

const edm::EDGetTokenT<edm::View<Track_t> > GTTFileWriter::convertedTracksToken_
private

Definition at line 130 of file GTTFileWriter.cc.

Referenced by analyze().

◆ etMissToken_

const edm::EDGetTokenT<edm::View<l1t::EtSum> > GTTFileWriter::etMissToken_
private

Definition at line 137 of file GTTFileWriter.cc.

Referenced by analyze().

◆ fileWriterConvertedTracks_

l1t::demo::BoardDataWriter GTTFileWriter::fileWriterConvertedTracks_
private

Definition at line 140 of file GTTFileWriter.cc.

Referenced by analyze(), and endJob().

◆ fileWriterInputTracks_

l1t::demo::BoardDataWriter GTTFileWriter::fileWriterInputTracks_
private

Definition at line 139 of file GTTFileWriter.cc.

Referenced by analyze(), and endJob().

◆ fileWriterOutputToCorrelator_

l1t::demo::BoardDataWriter GTTFileWriter::fileWriterOutputToCorrelator_
private

Definition at line 143 of file GTTFileWriter.cc.

Referenced by analyze(), and endJob().

◆ fileWriterOutputToGlobalTrigger_

l1t::demo::BoardDataWriter GTTFileWriter::fileWriterOutputToGlobalTrigger_
private

Definition at line 144 of file GTTFileWriter.cc.

Referenced by analyze(), and endJob().

◆ fileWriterSelectedTracks_

l1t::demo::BoardDataWriter GTTFileWriter::fileWriterSelectedTracks_
private

Definition at line 141 of file GTTFileWriter.cc.

Referenced by analyze().

◆ fileWriterVertexAssociatedTracks_

l1t::demo::BoardDataWriter GTTFileWriter::fileWriterVertexAssociatedTracks_
private

Definition at line 142 of file GTTFileWriter.cc.

Referenced by analyze().

◆ htMissToken_

const edm::EDGetTokenT<edm::View<l1t::EtSum> > GTTFileWriter::htMissToken_
private

Definition at line 136 of file GTTFileWriter.cc.

Referenced by analyze().

◆ jetsToken_

const edm::EDGetTokenT<edm::View<l1t::TkJetWord> > GTTFileWriter::jetsToken_
private

Definition at line 135 of file GTTFileWriter.cc.

Referenced by analyze().

◆ kChannelIdsInput

const std::map<l1t::demo::LinkId, std::vector<size_t> > GTTFileWriter::kChannelIdsInput
private
Initial value:
= {
{{"tracks", 0}, {0, 18, 36}},
{{"tracks", 1}, {1, 19, 37}},
{{"tracks", 2}, {2, 20, 38}},
{{"tracks", 3}, {3, 21, 39}},
{{"tracks", 4}, {4, 22, 40}},
{{"tracks", 5}, {5, 23, 41}},
{{"tracks", 6}, {6, 24, 42}},
{{"tracks", 7}, {7, 25, 43}},
{{"tracks", 8}, {8, 26, 44}},
{{"tracks", 9}, {9, 27, 45}},
{{"tracks", 10}, {10, 28, 46}},
{{"tracks", 11}, {11, 29, 47}},
{{"tracks", 12}, {12, 30, 48}},
{{"tracks", 13}, {13, 31, 49}},
{{"tracks", 14}, {14, 32, 50}},
{{"tracks", 15}, {15, 33, 51}},
{{"tracks", 16}, {16, 34, 52}},
{{"tracks", 17}, {17, 35, 53}}}

Definition at line 76 of file GTTFileWriter.cc.

◆ kChannelIdsOutputToGlobalTrigger

const std::map<l1t::demo::LinkId, std::vector<size_t> > GTTFileWriter::kChannelIdsOutputToGlobalTrigger
private
Initial value:
= {
{{"sums", 0}, {0}},
{{"taus", 1}, {1}},
{{"mesons", 2}, {2}},
{{"vertices", 3}, {3}}}

Definition at line 106 of file GTTFileWriter.cc.

◆ kChannelSpecsInput

const std::map<std::string, l1t::demo::ChannelSpec> GTTFileWriter::kChannelSpecsInput
private
Initial value:
= {
{"tracks", {kTrackTMUX, kGapLengthInput}}}

Definition at line 97 of file GTTFileWriter.cc.

◆ kChannelSpecsOutputToCorrelator

const std::map<l1t::demo::LinkId, std::pair<l1t::demo::ChannelSpec, std::vector<size_t> > > GTTFileWriter::kChannelSpecsOutputToCorrelator
private
Initial value:
= {
{{"vertices", 0}, {{kGTTBoardTMUX, kGapLengthOutputToCorrelator}, {0}}}}

Definition at line 102 of file GTTFileWriter.cc.

◆ kChannelSpecsOutputToGlobalTrigger

const std::map<std::string, l1t::demo::ChannelSpec> GTTFileWriter::kChannelSpecsOutputToGlobalTrigger
private

◆ kFramesPerTMUXPeriod

constexpr size_t GTTFileWriter::kFramesPerTMUXPeriod = 9
staticprivate

Definition at line 65 of file GTTFileWriter.cc.

◆ kGapLengthInput

constexpr size_t GTTFileWriter::kGapLengthInput = 6
staticprivate

Definition at line 66 of file GTTFileWriter.cc.

◆ kGapLengthOutputToCorrelator

constexpr size_t GTTFileWriter::kGapLengthOutputToCorrelator = 44
staticprivate

Definition at line 67 of file GTTFileWriter.cc.

◆ kGapLengthOutputToGlobalTriggerMesons

constexpr size_t GTTFileWriter::kGapLengthOutputToGlobalTriggerMesons = 15
staticprivate

Definition at line 70 of file GTTFileWriter.cc.

◆ kGapLengthOutputToGlobalTriggerSums

constexpr size_t GTTFileWriter::kGapLengthOutputToGlobalTriggerSums = 3
staticprivate

Definition at line 68 of file GTTFileWriter.cc.

◆ kGapLengthOutputToGlobalTriggerTaus

constexpr size_t GTTFileWriter::kGapLengthOutputToGlobalTriggerTaus = 36
staticprivate

Definition at line 69 of file GTTFileWriter.cc.

◆ kGapLengthOutputToGlobalTriggerVertices

constexpr size_t GTTFileWriter::kGapLengthOutputToGlobalTriggerVertices = 6
staticprivate

Definition at line 71 of file GTTFileWriter.cc.

◆ kGTTBoardTMUX

constexpr size_t GTTFileWriter::kGTTBoardTMUX = 6
staticprivate

Definition at line 73 of file GTTFileWriter.cc.

◆ kMaxLinesPerFile

constexpr size_t GTTFileWriter::kMaxLinesPerFile = 1024
staticprivate

Definition at line 74 of file GTTFileWriter.cc.

◆ kTrackTMUX

constexpr size_t GTTFileWriter::kTrackTMUX = 18
staticprivate

Definition at line 72 of file GTTFileWriter.cc.

◆ selectedTracksToken_

const edm::EDGetTokenT<TrackRefCollection_t> GTTFileWriter::selectedTracksToken_
private

Definition at line 132 of file GTTFileWriter.cc.

Referenced by analyze().

◆ tracksToken_

const edm::EDGetTokenT<edm::View<Track_t> > GTTFileWriter::tracksToken_
private

Definition at line 129 of file GTTFileWriter.cc.

Referenced by analyze().

◆ vertexAssociatedTracksToken_

const edm::EDGetTokenT<TrackRefCollection_t> GTTFileWriter::vertexAssociatedTracksToken_
private

Definition at line 133 of file GTTFileWriter.cc.

Referenced by analyze().

◆ verticesToken_

const edm::EDGetTokenT<edm::View<l1t::VertexWord> > GTTFileWriter::verticesToken_
private

Definition at line 134 of file GTTFileWriter.cc.

Referenced by analyze().