CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
L1UpgradeTfMuonTreeProducer Class Reference

#include <L1Trigger/L1Ntuples/plugins/L1UpgradeTfMuonTreeProducer.cc>

Inheritance diagram for L1UpgradeTfMuonTreeProducer:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

 L1UpgradeTfMuonTreeProducer (const edm::ParameterSet &)
 
 ~L1UpgradeTfMuonTreeProducer () override
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
 ~EDAnalyzer () 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 &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
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
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Public Attributes

L1Analysis::L1AnalysisL1UpgradeTfMuon l1UpgradeBmtf
 
L1Analysis::L1AnalysisL1UpgradeTfMuonDataFormatl1UpgradeBmtfData
 
L1Analysis::L1AnalysisBMTFInputs l1UpgradeBmtfInputs
 
L1Analysis::L1AnalysisBMTFInputsDataFormatl1UpgradeBmtfInputsData
 
L1Analysis::L1AnalysisL1UpgradeTfMuon l1UpgradeEmtf
 
L1Analysis::L1AnalysisL1UpgradeTfMuonDataFormatl1UpgradeEmtfData
 
L1Analysis::L1AnalysisL1UpgradeTfMuon l1UpgradeKBmtf
 
L1Analysis::L1AnalysisL1UpgradeTfMuonDataFormatl1UpgradeKBmtfData
 
L1Analysis::L1AnalysisL1UpgradeTfMuon l1UpgradeOmtf
 
L1Analysis::L1AnalysisL1UpgradeTfMuonDataFormatl1UpgradeOmtfData
 

Private Member Functions

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

Private Attributes

edm::EDGetTokenT< l1t::RegionalMuonCandBxCollectionbmtf2MuonToken_
 
edm::EDGetTokenT< l1t::RegionalMuonCandBxCollectionbmtfMuonToken_
 
edm::EDGetTokenT< L1MuDTChambPhContainerbmtfPhInputToken_
 
edm::EDGetTokenT< L1MuDTChambThContainerbmtfThInputToken_
 
edm::EDGetTokenT< l1t::RegionalMuonCandBxCollectionemtfMuonToken_
 
edm::Handle< FEDRawDataCollectionfeds_
 
edm::EDGetTokenT< FEDRawDataCollectionfedToken_
 
edm::Service< TFileServicefs_
 
bool isEMU_
 
unsigned maxL1UpgradeTfMuon_
 
edm::EDGetTokenT< l1t::RegionalMuonCandBxCollectionomtfMuonToken_
 
TTree * tree_
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsInputProcessBlocks ()
 
static bool wantsProcessBlocks ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
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<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Implementation:

Definition at line 50 of file L1UpgradeTfMuonTreeProducer.cc.

Constructor & Destructor Documentation

◆ L1UpgradeTfMuonTreeProducer()

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

Definition at line 98 of file L1UpgradeTfMuonTreeProducer.cc.

98  {
99  isEMU_ = iConfig.getParameter<bool>("isEMU");
100  fedToken_ = consumes<FEDRawDataCollection>(iConfig.getParameter<edm::InputTag>("feds"));
102  consumes<l1t::RegionalMuonCandBxCollection>(iConfig.getUntrackedParameter<edm::InputTag>("bmtfMuonToken"));
104  consumes<l1t::RegionalMuonCandBxCollection>(iConfig.getUntrackedParameter<edm::InputTag>("bmtf2MuonToken"));
106  consumes<l1t::RegionalMuonCandBxCollection>(iConfig.getUntrackedParameter<edm::InputTag>("omtfMuonToken"));
108  consumes<l1t::RegionalMuonCandBxCollection>(iConfig.getUntrackedParameter<edm::InputTag>("emtfMuonToken"));
110  consumes<L1MuDTChambPhContainer>(iConfig.getUntrackedParameter<edm::InputTag>("bmtfInputPhMuonToken"));
112  consumes<L1MuDTChambThContainer>(iConfig.getUntrackedParameter<edm::InputTag>("bmtfInputThMuonToken"));
113 
114  maxL1UpgradeTfMuon_ = iConfig.getParameter<unsigned int>("maxL1UpgradeTfMuon");
115 
121 
122  // set up output
123  tree_ = fs_->make<TTree>("L1UpgradeTfMuonTree", "L1UpgradeTfMuonTree");
124  tree_->Branch("L1UpgradeBmtfMuon", "L1Analysis::L1AnalysisL1UpgradeTfMuonDataFormat", &l1UpgradeBmtfData, 32000, 3);
125  tree_->Branch("L1UpgradeKBmtfMuon", "L1Analysis::L1AnalysisL1UpgradeTfMuonDataFormat", &l1UpgradeKBmtfData, 32000, 3);
126  tree_->Branch("L1UpgradeOmtfMuon", "L1Analysis::L1AnalysisL1UpgradeTfMuonDataFormat", &l1UpgradeOmtfData, 32000, 3);
127  tree_->Branch("L1UpgradeEmtfMuon", "L1Analysis::L1AnalysisL1UpgradeTfMuonDataFormat", &l1UpgradeEmtfData, 32000, 3);
128 
129  tree_->Branch(
130  "L1UpgradeBmtfInputs", "L1Analysis::L1AnalysisBMTFInputsDataFormat", &l1UpgradeBmtfInputsData, 32000, 3);
131 }

References bmtf2MuonToken_, bmtfMuonToken_, bmtfPhInputToken_, bmtfThInputToken_, emtfMuonToken_, fedToken_, fs_, L1Analysis::L1AnalysisL1UpgradeTfMuon::getData(), L1Analysis::L1AnalysisBMTFInputs::getData(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), isEMU_, l1UpgradeBmtf, l1UpgradeBmtfData, l1UpgradeBmtfInputs, l1UpgradeBmtfInputsData, l1UpgradeEmtf, l1UpgradeEmtfData, l1UpgradeKBmtf, l1UpgradeKBmtfData, l1UpgradeOmtf, l1UpgradeOmtfData, TFileService::make(), maxL1UpgradeTfMuon_, omtfMuonToken_, and tree_.

◆ ~L1UpgradeTfMuonTreeProducer()

L1UpgradeTfMuonTreeProducer::~L1UpgradeTfMuonTreeProducer ( )
override

Definition at line 133 of file L1UpgradeTfMuonTreeProducer.cc.

133 {}

Member Function Documentation

◆ analyze()

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

Implements edm::EDAnalyzer.

Definition at line 140 of file L1UpgradeTfMuonTreeProducer.cc.

140  {
143  if (isEMU_) {
144  legacybmtfMuonToken = bmtfMuonToken_;
145  kbmtfMuonToken = bmtf2MuonToken_;
146  } else {
147  iEvent.getByToken(fedToken_, feds_);
148  // Get fw version
149  unsigned algoFwVersion{getAlgoFwVersion()};
150  if (algoFwVersion < 2499805536) { //95000160(hex)
151  // Legacy was triggering (and therefore in the main collection)
152  legacybmtfMuonToken = bmtfMuonToken_;
153  kbmtfMuonToken = bmtf2MuonToken_;
154  } else {
155  // kBMTF was triggering
156  legacybmtfMuonToken = bmtf2MuonToken_;
157  kbmtfMuonToken = bmtfMuonToken_;
158  }
159  }
160 
167 
174 
175  iEvent.getByToken(legacybmtfMuonToken, bmtfMuon);
176  iEvent.getByToken(kbmtfMuonToken, kbmtfMuon);
177  iEvent.getByToken(omtfMuonToken_, omtfMuon);
178  iEvent.getByToken(emtfMuonToken_, emtfMuon);
179  iEvent.getByToken(bmtfPhInputToken_, bmtfPhInputs);
180  iEvent.getByToken(bmtfThInputToken_, bmtfThInputs);
181 
182  if (bmtfMuon.isValid()) {
184  } else {
185  edm::LogWarning("MissingProduct") << "L1Upgrade BMTF muons not found. Branch will not be filled" << std::endl;
186  }
187 
188  if (kbmtfMuon.isValid()) {
190  } else {
191  edm::LogWarning("MissingProduct") << "L1Upgrade kBMTF muons not found. Branch will not be filled" << std::endl;
192  }
193 
194  if (omtfMuon.isValid()) {
196  } else {
197  edm::LogWarning("MissingProduct") << "L1Upgrade OMTF muons not found. Branch will not be filled" << std::endl;
198  }
199 
200  if (emtfMuon.isValid()) {
202  } else {
203  edm::LogWarning("MissingProduct") << "L1Upgrade EMTF muons not found. Branch will not be filled" << std::endl;
204  }
205 
206  int max_inputs = maxL1UpgradeTfMuon_ * 4;
207 
208  if (!bmtfPhInputs.isValid()) {
209  edm::LogWarning("MissingProduct") << "L1Upgrade BMTF Ph Inputs not found. Branch will not be filled" << std::endl;
210  } else
211  l1UpgradeBmtfInputs.SetBMPH(bmtfPhInputs, max_inputs);
212 
213  if (!bmtfThInputs.isValid()) {
214  edm::LogWarning("MissingProduct") << "L1Upgrade BMTF Th Inputs not found. Branch will not be filled" << std::endl;
215  } else
216  l1UpgradeBmtfInputs.SetBMTH(bmtfThInputs, max_inputs);
217 
218  tree_->Fill();
219 }

References bmtf2MuonToken_, bmtfMuonToken_, bmtfPhInputToken_, bmtfThInputToken_, emtfMuonToken_, feds_, fedToken_, getAlgoFwVersion(), iEvent, isEMU_, edm::HandleBase::isValid(), l1UpgradeBmtf, l1UpgradeBmtfInputs, l1UpgradeEmtf, l1UpgradeKBmtf, l1UpgradeOmtf, maxL1UpgradeTfMuon_, omtfMuonToken_, L1Analysis::L1AnalysisL1UpgradeTfMuon::Reset(), L1Analysis::L1AnalysisBMTFInputs::Reset(), L1Analysis::L1AnalysisBMTFInputs::SetBMPH(), L1Analysis::L1AnalysisBMTFInputs::SetBMTH(), L1Analysis::L1AnalysisL1UpgradeTfMuon::SetKalmanMuon(), L1Analysis::L1AnalysisL1UpgradeTfMuon::SetTfMuon(), and tree_.

◆ beginJob()

void L1UpgradeTfMuonTreeProducer::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 222 of file L1UpgradeTfMuonTreeProducer.cc.

222 {}

◆ endJob()

void L1UpgradeTfMuonTreeProducer::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 225 of file L1UpgradeTfMuonTreeProducer.cc.

225 {}

◆ getAlgoFwVersion()

unsigned L1UpgradeTfMuonTreeProducer::getAlgoFwVersion ( )
private

Definition at line 227 of file L1UpgradeTfMuonTreeProducer.cc.

227  {
228  int nonEmptyFed = 0;
229  if (feds_->FEDData(1376).size() > 0)
230  nonEmptyFed = 1376;
231  else if (feds_->FEDData(1377).size() > 0)
232  nonEmptyFed = 1377;
233  else {
234  edm::LogError("L1UpgradeTfMuonTreeProducer")
235  << "Both BMTF feds (1376, 1377) seem empty, will lead to unexpected results in tree from data.";
236  return 0;
237  }
238 
239  const FEDRawData& l1tRcd = feds_->FEDData(nonEmptyFed);
240  edm::LogInfo("L1UpgradeTfMuonTreeProducer") << "L1T Rcd taken from the FEDData.";
241  edm::LogInfo("L1UpgradeTfMuonTreeProducer") << "l1tRcd.size=" << l1tRcd.size() << " for fed:" << nonEmptyFed;
242 
243  const unsigned char* data = l1tRcd.data();
245 
246  amc13::Packet packet;
247  if (!packet.parse((const uint64_t*)data,
248  (const uint64_t*)(data + 8),
249  (l1tRcd.size()) / 8,
250  header.lvl1ID(),
251  header.bxID(),
252  false,
253  false)) {
254  edm::LogError("L1UpgradeTfMuonTreeProducer") << "Could not extract AMC13 Packet.";
255  return 0;
256  }
257 
258  if (!packet.payload().empty()) {
259  auto payload64 = (packet.payload().at(0)).data();
260  const uint32_t* start = (const uint32_t*)payload64.get();
261  const uint32_t* end = start + (packet.payload().at(0).size() * 2);
262 
263  l1t::MP7Payload payload(start, end, false);
264  return payload.getAlgorithmFWVersion();
265 
266  } else {
267  edm::LogError("L1UpgradeTfMuonTreeProducer") << "AMC13 payload is empty, cannot extract AMC13 Packet.";
268  return 0;
269  }
270 }

References FEDRawData::data(), data, mps_fire::end, FEDRawDataCollection::FEDData(), feds_, RecoTauValidation_cfi::header, amc13::Packet::parse(), jets_cff::payload, amc13::Packet::payload(), and FEDRawData::size().

Referenced by analyze().

Member Data Documentation

◆ bmtf2MuonToken_

edm::EDGetTokenT<l1t::RegionalMuonCandBxCollection> L1UpgradeTfMuonTreeProducer::bmtf2MuonToken_
private

Definition at line 85 of file L1UpgradeTfMuonTreeProducer.cc.

Referenced by analyze(), and L1UpgradeTfMuonTreeProducer().

◆ bmtfMuonToken_

edm::EDGetTokenT<l1t::RegionalMuonCandBxCollection> L1UpgradeTfMuonTreeProducer::bmtfMuonToken_
private

Definition at line 84 of file L1UpgradeTfMuonTreeProducer.cc.

Referenced by analyze(), and L1UpgradeTfMuonTreeProducer().

◆ bmtfPhInputToken_

edm::EDGetTokenT<L1MuDTChambPhContainer> L1UpgradeTfMuonTreeProducer::bmtfPhInputToken_
private

Definition at line 89 of file L1UpgradeTfMuonTreeProducer.cc.

Referenced by analyze(), and L1UpgradeTfMuonTreeProducer().

◆ bmtfThInputToken_

edm::EDGetTokenT<L1MuDTChambThContainer> L1UpgradeTfMuonTreeProducer::bmtfThInputToken_
private

Definition at line 90 of file L1UpgradeTfMuonTreeProducer.cc.

Referenced by analyze(), and L1UpgradeTfMuonTreeProducer().

◆ emtfMuonToken_

edm::EDGetTokenT<l1t::RegionalMuonCandBxCollection> L1UpgradeTfMuonTreeProducer::emtfMuonToken_
private

Definition at line 87 of file L1UpgradeTfMuonTreeProducer.cc.

Referenced by analyze(), and L1UpgradeTfMuonTreeProducer().

◆ feds_

edm::Handle<FEDRawDataCollection> L1UpgradeTfMuonTreeProducer::feds_
private

Definition at line 93 of file L1UpgradeTfMuonTreeProducer.cc.

Referenced by analyze(), and getAlgoFwVersion().

◆ fedToken_

edm::EDGetTokenT<FEDRawDataCollection> L1UpgradeTfMuonTreeProducer::fedToken_
private

Definition at line 83 of file L1UpgradeTfMuonTreeProducer.cc.

Referenced by analyze(), and L1UpgradeTfMuonTreeProducer().

◆ fs_

edm::Service<TFileService> L1UpgradeTfMuonTreeProducer::fs_
private

Definition at line 77 of file L1UpgradeTfMuonTreeProducer.cc.

Referenced by L1UpgradeTfMuonTreeProducer().

◆ isEMU_

bool L1UpgradeTfMuonTreeProducer::isEMU_
private

Definition at line 74 of file L1UpgradeTfMuonTreeProducer.cc.

Referenced by analyze(), and L1UpgradeTfMuonTreeProducer().

◆ l1UpgradeBmtf

L1Analysis::L1AnalysisL1UpgradeTfMuon L1UpgradeTfMuonTreeProducer::l1UpgradeBmtf

Definition at line 62 of file L1UpgradeTfMuonTreeProducer.cc.

Referenced by analyze(), and L1UpgradeTfMuonTreeProducer().

◆ l1UpgradeBmtfData

L1Analysis::L1AnalysisL1UpgradeTfMuonDataFormat* L1UpgradeTfMuonTreeProducer::l1UpgradeBmtfData

Definition at line 66 of file L1UpgradeTfMuonTreeProducer.cc.

Referenced by L1UpgradeTfMuonTreeProducer().

◆ l1UpgradeBmtfInputs

L1Analysis::L1AnalysisBMTFInputs L1UpgradeTfMuonTreeProducer::l1UpgradeBmtfInputs

Definition at line 65 of file L1UpgradeTfMuonTreeProducer.cc.

Referenced by analyze(), and L1UpgradeTfMuonTreeProducer().

◆ l1UpgradeBmtfInputsData

L1Analysis::L1AnalysisBMTFInputsDataFormat* L1UpgradeTfMuonTreeProducer::l1UpgradeBmtfInputsData

Definition at line 70 of file L1UpgradeTfMuonTreeProducer.cc.

Referenced by L1UpgradeTfMuonTreeProducer().

◆ l1UpgradeEmtf

L1Analysis::L1AnalysisL1UpgradeTfMuon L1UpgradeTfMuonTreeProducer::l1UpgradeEmtf

Definition at line 64 of file L1UpgradeTfMuonTreeProducer.cc.

Referenced by analyze(), and L1UpgradeTfMuonTreeProducer().

◆ l1UpgradeEmtfData

L1Analysis::L1AnalysisL1UpgradeTfMuonDataFormat* L1UpgradeTfMuonTreeProducer::l1UpgradeEmtfData

Definition at line 69 of file L1UpgradeTfMuonTreeProducer.cc.

Referenced by L1UpgradeTfMuonTreeProducer().

◆ l1UpgradeKBmtf

L1Analysis::L1AnalysisL1UpgradeTfMuon L1UpgradeTfMuonTreeProducer::l1UpgradeKBmtf

Definition at line 61 of file L1UpgradeTfMuonTreeProducer.cc.

Referenced by analyze(), and L1UpgradeTfMuonTreeProducer().

◆ l1UpgradeKBmtfData

L1Analysis::L1AnalysisL1UpgradeTfMuonDataFormat* L1UpgradeTfMuonTreeProducer::l1UpgradeKBmtfData

Definition at line 67 of file L1UpgradeTfMuonTreeProducer.cc.

Referenced by L1UpgradeTfMuonTreeProducer().

◆ l1UpgradeOmtf

L1Analysis::L1AnalysisL1UpgradeTfMuon L1UpgradeTfMuonTreeProducer::l1UpgradeOmtf

Definition at line 63 of file L1UpgradeTfMuonTreeProducer.cc.

Referenced by analyze(), and L1UpgradeTfMuonTreeProducer().

◆ l1UpgradeOmtfData

L1Analysis::L1AnalysisL1UpgradeTfMuonDataFormat* L1UpgradeTfMuonTreeProducer::l1UpgradeOmtfData

Definition at line 68 of file L1UpgradeTfMuonTreeProducer.cc.

Referenced by L1UpgradeTfMuonTreeProducer().

◆ maxL1UpgradeTfMuon_

unsigned L1UpgradeTfMuonTreeProducer::maxL1UpgradeTfMuon_
private

Definition at line 73 of file L1UpgradeTfMuonTreeProducer.cc.

Referenced by analyze(), and L1UpgradeTfMuonTreeProducer().

◆ omtfMuonToken_

edm::EDGetTokenT<l1t::RegionalMuonCandBxCollection> L1UpgradeTfMuonTreeProducer::omtfMuonToken_
private

Definition at line 86 of file L1UpgradeTfMuonTreeProducer.cc.

Referenced by analyze(), and L1UpgradeTfMuonTreeProducer().

◆ tree_

TTree* L1UpgradeTfMuonTreeProducer::tree_
private

Definition at line 80 of file L1UpgradeTfMuonTreeProducer.cc.

Referenced by analyze(), and L1UpgradeTfMuonTreeProducer().

L1UpgradeTfMuonTreeProducer::fs_
edm::Service< TFileService > fs_
Definition: L1UpgradeTfMuonTreeProducer.cc:77
L1UpgradeTfMuonTreeProducer::bmtf2MuonToken_
edm::EDGetTokenT< l1t::RegionalMuonCandBxCollection > bmtf2MuonToken_
Definition: L1UpgradeTfMuonTreeProducer.cc:85
start
Definition: start.py:1
amc13::Packet::parse
bool parse(const uint64_t *start, const uint64_t *data, unsigned int size, unsigned int lv1, unsigned int bx, bool legacy_mc=false, bool mtf7_mode=false)
Definition: AMC13Spec.cc:60
L1UpgradeTfMuonTreeProducer::bmtfPhInputToken_
edm::EDGetTokenT< L1MuDTChambPhContainer > bmtfPhInputToken_
Definition: L1UpgradeTfMuonTreeProducer.cc:89
L1Analysis::L1AnalysisL1UpgradeTfMuon::SetTfMuon
void SetTfMuon(const l1t::RegionalMuonCandBxCollection &muon, unsigned maxL1UpgradeTfMuon)
Definition: L1AnalysisL1UpgradeTfMuon.cc:7
L1UpgradeTfMuonTreeProducer::l1UpgradeEmtfData
L1Analysis::L1AnalysisL1UpgradeTfMuonDataFormat * l1UpgradeEmtfData
Definition: L1UpgradeTfMuonTreeProducer.cc:69
L1Analysis::L1AnalysisL1UpgradeTfMuon::getData
L1AnalysisL1UpgradeTfMuonDataFormat * getData()
Definition: L1AnalysisL1UpgradeTfMuon.h:20
L1UpgradeTfMuonTreeProducer::emtfMuonToken_
edm::EDGetTokenT< l1t::RegionalMuonCandBxCollection > emtfMuonToken_
Definition: L1UpgradeTfMuonTreeProducer.cc:87
edm::EDGetTokenT
Definition: EDGetToken.h:33
L1Analysis::L1AnalysisBMTFInputs::SetBMTH
void SetBMTH(const edm::Handle< L1MuDTChambThContainer > L1MuDTChambThContainer, unsigned int maxDTTH)
Definition: L1AnalysisBMTFInputs.cc:37
L1Analysis::L1AnalysisBMTFInputs::SetBMPH
void SetBMPH(const edm::Handle< L1MuDTChambPhContainer > L1MuDTChambPhContainer, unsigned int maxDTPH)
Definition: L1AnalysisBMTFInputs.cc:13
L1UpgradeTfMuonTreeProducer::l1UpgradeOmtfData
L1Analysis::L1AnalysisL1UpgradeTfMuonDataFormat * l1UpgradeOmtfData
Definition: L1UpgradeTfMuonTreeProducer.cc:68
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
edm::Handle
Definition: AssociativeIterator.h:50
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
L1UpgradeTfMuonTreeProducer::l1UpgradeBmtf
L1Analysis::L1AnalysisL1UpgradeTfMuon l1UpgradeBmtf
Definition: L1UpgradeTfMuonTreeProducer.cc:62
amc13::Packet::payload
std::vector< amc::Packet > payload() const
Definition: AMC13Spec.h:92
FEDRawData::data
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
Definition: FEDRawData.cc:24
FEDRawData
Definition: FEDRawData.h:19
L1Analysis::L1AnalysisL1UpgradeTfMuon::Reset
void Reset()
Definition: L1AnalysisL1UpgradeTfMuon.h:14
L1UpgradeTfMuonTreeProducer::l1UpgradeBmtfData
L1Analysis::L1AnalysisL1UpgradeTfMuonDataFormat * l1UpgradeBmtfData
Definition: L1UpgradeTfMuonTreeProducer.cc:66
L1UpgradeTfMuonTreeProducer::feds_
edm::Handle< FEDRawDataCollection > feds_
Definition: L1UpgradeTfMuonTreeProducer.cc:93
amc13::Packet
Definition: AMC13Spec.h:69
L1Analysis::L1AnalysisBMTFInputs::getData
L1AnalysisBMTFInputsDataFormat * getData()
Definition: L1AnalysisBMTFInputs.h:28
mps_fire.end
end
Definition: mps_fire.py:242
L1Analysis::L1AnalysisBMTFInputs::Reset
void Reset()
Definition: L1AnalysisBMTFInputs.h:27
jets_cff.payload
payload
Definition: jets_cff.py:32
FEDRawDataCollection::FEDData
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
Definition: FEDRawDataCollection.cc:19
L1UpgradeTfMuonTreeProducer::tree_
TTree * tree_
Definition: L1UpgradeTfMuonTreeProducer.cc:80
l1t::MP7Payload
Definition: Block.h:122
L1Analysis::L1AnalysisL1UpgradeTfMuon::SetKalmanMuon
void SetKalmanMuon()
Definition: L1AnalysisL1UpgradeTfMuon.h:18
L1UpgradeTfMuonTreeProducer::bmtfThInputToken_
edm::EDGetTokenT< L1MuDTChambThContainer > bmtfThInputToken_
Definition: L1UpgradeTfMuonTreeProducer.cc:90
L1UpgradeTfMuonTreeProducer::l1UpgradeBmtfInputs
L1Analysis::L1AnalysisBMTFInputs l1UpgradeBmtfInputs
Definition: L1UpgradeTfMuonTreeProducer.cc:65
L1UpgradeTfMuonTreeProducer::l1UpgradeOmtf
L1Analysis::L1AnalysisL1UpgradeTfMuon l1UpgradeOmtf
Definition: L1UpgradeTfMuonTreeProducer.cc:63
L1UpgradeTfMuonTreeProducer::l1UpgradeKBmtf
L1Analysis::L1AnalysisL1UpgradeTfMuon l1UpgradeKBmtf
Definition: L1UpgradeTfMuonTreeProducer.cc:61
L1UpgradeTfMuonTreeProducer::isEMU_
bool isEMU_
Definition: L1UpgradeTfMuonTreeProducer.cc:74
iEvent
int iEvent
Definition: GenABIO.cc:224
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
L1UpgradeTfMuonTreeProducer::l1UpgradeKBmtfData
L1Analysis::L1AnalysisL1UpgradeTfMuonDataFormat * l1UpgradeKBmtfData
Definition: L1UpgradeTfMuonTreeProducer.cc:67
FEDRawData::size
size_t size() const
Lenght of the data buffer in bytes.
Definition: FEDRawData.h:45
L1UpgradeTfMuonTreeProducer::fedToken_
edm::EDGetTokenT< FEDRawDataCollection > fedToken_
Definition: L1UpgradeTfMuonTreeProducer.cc:83
L1UpgradeTfMuonTreeProducer::maxL1UpgradeTfMuon_
unsigned maxL1UpgradeTfMuon_
Definition: L1UpgradeTfMuonTreeProducer.cc:73
L1UpgradeTfMuonTreeProducer::l1UpgradeEmtf
L1Analysis::L1AnalysisL1UpgradeTfMuon l1UpgradeEmtf
Definition: L1UpgradeTfMuonTreeProducer.cc:64
L1UpgradeTfMuonTreeProducer::omtfMuonToken_
edm::EDGetTokenT< l1t::RegionalMuonCandBxCollection > omtfMuonToken_
Definition: L1UpgradeTfMuonTreeProducer.cc:86
L1UpgradeTfMuonTreeProducer::l1UpgradeBmtfInputsData
L1Analysis::L1AnalysisBMTFInputsDataFormat * l1UpgradeBmtfInputsData
Definition: L1UpgradeTfMuonTreeProducer.cc:70
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
RecoTauValidation_cfi.header
header
Definition: RecoTauValidation_cfi.py:292
cond::uint64_t
unsigned long long uint64_t
Definition: Time.h:13
L1UpgradeTfMuonTreeProducer::getAlgoFwVersion
unsigned getAlgoFwVersion()
Definition: L1UpgradeTfMuonTreeProducer.cc:227
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
FEDHeader
Definition: FEDHeader.h:14
edm::InputTag
Definition: InputTag.h:15
TFileService::make
T * make(const Args &... args) const
make new ROOT object
Definition: TFileService.h:64
L1UpgradeTfMuonTreeProducer::bmtfMuonToken_
edm::EDGetTokenT< l1t::RegionalMuonCandBxCollection > bmtfMuonToken_
Definition: L1UpgradeTfMuonTreeProducer.cc:84