CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends
fwlite::LuminosityBlock Class Reference

#include <LuminosityBlock.h>

Inheritance diagram for fwlite::LuminosityBlock:
fwlite::LuminosityBlockBase edm::LuminosityBlockBase

Public Member Functions

bool atEnd () const override
 
std::vector< edm::BranchDescription > const & getBranchDescriptions () const
 
virtual const std::string getBranchNameFor (std::type_info const &, char const *, char const *, char const *) const
 
bool getByLabel (std::type_info const &, char const *, char const *, char const *, void *) const override
 
edm::WrapperBase const * getByProductID (edm::ProductID const &) const
 
fwlite::Run const & getRun () const
 
bool isValid () const
 
 LuminosityBlock (std::shared_ptr< BranchMapReader > branchMap, std::shared_ptr< RunFactory > runFactory)
 
 LuminosityBlock (TFile *iFile)
 
edm::LuminosityBlockAuxiliary const & luminosityBlockAuxiliary () const override
 
 operator bool () const
 
const LuminosityBlockoperator++ () override
 
Long64_t size () const
 
bool to (edm::RunNumber_t run, edm::LuminosityBlockNumber_t lumi)
 Go to event by Run & LuminosityBlock number. More...
 
const LuminosityBlocktoBegin () override
 
 ~LuminosityBlock () override
 
- Public Member Functions inherited from fwlite::LuminosityBlockBase
virtual Long64_t fileIndex () const
 
 LuminosityBlockBase ()
 
virtual Long64_t secondaryFileIndex () const
 
 ~LuminosityBlockBase () override
 
- Public Member Functions inherited from edm::LuminosityBlockBase
Timestamp const & beginTime () const
 
Timestamp const & endTime () const
 
template<class T >
bool getByLabel (const InputTag &tag, Handle< T > &result) const
 
template<typename PROD >
bool getByLabel (InputTag const &tag, Handle< PROD > &result) const
 same as above, but using the InputTag class More...
 
LuminosityBlockID id () const
 
LuminosityBlockNumber_t luminosityBlock () const
 
 LuminosityBlockBase ()
 
RunNumber_t run () const
 

Static Public Member Functions

static void throwProductNotFoundException (std::type_info const &, char const *, char const *, char const *)
 

Private Member Functions

const edm::ProcessHistoryhistory () const
 
 LuminosityBlock (const LuminosityBlock &)=delete
 
const LuminosityBlockoperator= (const LuminosityBlock &)=delete
 
void updateAux (Long_t lumiIndex) const
 

Private Attributes

edm::LuminosityBlockAuxiliary aux_
 
TBranch * auxBranch_
 
std::shared_ptr< BranchMapReaderbranchMap_
 
DataGetterHelper dataHelper_
 
EntryFinder entryFinder_
 
int fileVersion_
 
edm::ProcessHistoryMap historyMap_
 
std::vector< char const * > labels_
 
edm::LuminosityBlockAuxiliary const * pAux_
 
edm::LuminosityBlockAux const * pOldAux_
 
std::vector< std::string > procHistoryNames_
 
std::shared_ptr< fwlite::Runrun_
 
std::shared_ptr< RunFactoryrunFactory_
 

Friends

class internal::ProductGetter
 
class LumiHistoryGetter
 

Detailed Description

Definition at line 57 of file LuminosityBlock.h.

Constructor & Destructor Documentation

◆ LuminosityBlock() [1/3]

LuminosityBlock::LuminosityBlock ( TFile *  iFile)

Definition at line 45 of file LuminosityBlock.cc.

46  : branchMap_(new BranchMapReader(iFile)),
47  pAux_(&aux_),
48  pOldAux_(nullptr),
49  fileVersion_(-1),
50  dataHelper_(branchMap_->getLuminosityBlockTree(), std::make_shared<LumiHistoryGetter>(this), branchMap_) {
51  if (nullptr == iFile) {
52  throw cms::Exception("NoFile") << "The TFile pointer passed to the constructor was null";
53  }
54 
55  if (nullptr == branchMap_->getLuminosityBlockTree()) {
56  throw cms::Exception("NoLumiTree") << "The TFile contains no TTree named "
58  }
59  //need to know file version in order to determine how to read the basic product info
60  fileVersion_ = branchMap_->getFileVersion(iFile);
61 
62  //got this logic from IOPool/Input/src/RootFile.cc
63 
64  TTree* luminosityBlockTree = branchMap_->getLuminosityBlockTree();
65  if (fileVersion_ >= 3) {
66  auxBranch_ = luminosityBlockTree->GetBranch(edm::BranchTypeToAuxiliaryBranchName(edm::InLumi).c_str());
67  if (nullptr == auxBranch_) {
68  throw cms::Exception("NoLuminosityBlockAuxilliary")
69  << "The TTree " << edm::poolNames::luminosityBlockTreeName()
70  << " does not contain a branch named 'LuminosityBlockAuxiliary'";
71  }
72  auxBranch_->SetAddress(&pAux_);
73  } else {
74  throw cms::Exception("OldFileVersion") << "The FWLite Luminosity Block code des not support old file versions";
75  // This code commented from fwlite::Event. May be portable if needed.
76  // pOldAux_ = new edm::EventAux();
77  // auxBranch_ = luminosityBlockTree->GetBranch(edm::BranchTypeToAuxBranchName(edm::InLuminosityBlock).c_str());
78  // if(nullptr == auxBranch_) {
79  // throw cms::Exception("NoLuminosityBlockAux")<<"The TTree "
80  // <<edm::poolNames::luminosityBlockTreeName()
81  // <<" does not contain a branch named 'LuminosityBlockAux'";
82  // }
83  // auxBranch_->SetAddress(&pOldAux_);
84  }
85  branchMap_->updateLuminosityBlock(0);
86  runFactory_ = std::make_shared<RunFactory>();
87  }

References auxBranch_, branchMap_, edm::BranchTypeToAuxiliaryBranchName(), Exception, fileVersion_, edm::InLumi, edm::poolNames::luminosityBlockTreeName(), pAux_, and runFactory_.

◆ LuminosityBlock() [2/3]

LuminosityBlock::LuminosityBlock ( std::shared_ptr< BranchMapReader branchMap,
std::shared_ptr< RunFactory runFactory 
)

Definition at line 89 of file LuminosityBlock.cc.

90  : branchMap_(branchMap),
91  pAux_(&aux_),
92  pOldAux_(nullptr),
93  fileVersion_(-1),
94  dataHelper_(branchMap_->getLuminosityBlockTree(), std::make_shared<LumiHistoryGetter>(this), branchMap_),
95  runFactory_(runFactory) {
96  if (nullptr == branchMap_->getLuminosityBlockTree()) {
97  throw cms::Exception("NoLumiTree") << "The TFile contains no TTree named "
99  }
100  //need to know file version in order to determine how to read the basic event info
101  fileVersion_ = branchMap_->getFileVersion();
102  //got this logic from IOPool/Input/src/RootFile.cc
103 
104  TTree* luminosityBlockTree = branchMap_->getLuminosityBlockTree();
105  if (fileVersion_ >= 3) {
106  auxBranch_ = luminosityBlockTree->GetBranch(edm::BranchTypeToAuxiliaryBranchName(edm::InLumi).c_str());
107  if (nullptr == auxBranch_) {
108  throw cms::Exception("NoLuminosityBlockAuxilliary")
109  << "The TTree " << edm::poolNames::luminosityBlockTreeName()
110  << " does not contain a branch named 'LuminosityBlockAuxiliary'";
111  }
112  auxBranch_->SetAddress(&pAux_);
113  } else {
114  throw cms::Exception("OldFileVersion") << "The FWLite Luminosity Block code des not support old file versions";
115  /* pOldAux_ = new edm::EventAux();
116  auxBranch_ = luminosityBlockTree->GetBranch(edm::BranchTypeToAuxBranchName(edm::InLuminosityBlock).c_str());
117  if(nullptr == auxBranch_) {
118  throw cms::Exception("NoLuminosityBlockAux")<<"The TTree "
119  <<edm::poolNames::luminosityBlockTreeName()
120  <<" does not contain a branch named 'LuminosityBlockAux'";
121  }
122  auxBranch_->SetAddress(&pOldAux_);*/
123  }
124  branchMap_->updateLuminosityBlock(0);
125 
126  // if(fileVersion_ >= 7) {
127  // eventHistoryTree_ = dynamic_cast<TTree*>(iFile->Get(edm::poolNames::eventHistoryTreeName().c_str()));
128  // }
129  }

References auxBranch_, branchMap_, edm::BranchTypeToAuxiliaryBranchName(), Exception, fileVersion_, edm::InLumi, edm::poolNames::luminosityBlockTreeName(), and pAux_.

◆ ~LuminosityBlock()

LuminosityBlock::~LuminosityBlock ( )
override

Definition at line 131 of file LuminosityBlock.cc.

131  {
132  for (auto const& label : labels_) {
133  delete[] label;
134  }
135  delete pOldAux_;
136  }

References label, labels_, and pOldAux_.

◆ LuminosityBlock() [3/3]

fwlite::LuminosityBlock::LuminosityBlock ( const LuminosityBlock )
privatedelete

Member Function Documentation

◆ atEnd()

bool LuminosityBlock::atEnd ( ) const
overridevirtual

Implements fwlite::LuminosityBlockBase.

Definition at line 176 of file LuminosityBlock.cc.

176  {
177  Long_t luminosityBlockIndex = branchMap_->getLuminosityBlockEntry();
178  return luminosityBlockIndex == -1 or luminosityBlockIndex == size();
179  }

References branchMap_, or, and size().

Referenced by getByLabel().

◆ getBranchDescriptions()

std::vector<edm::BranchDescription> const& fwlite::LuminosityBlock::getBranchDescriptions ( ) const
inline

Definition at line 89 of file LuminosityBlock.h.

89  {
90  return branchMap_->getBranchDescriptions();
91  }

References branchMap_.

◆ getBranchNameFor()

const std::string LuminosityBlock::getBranchNameFor ( std::type_info const &  iInfo,
char const *  iModuleLabel,
char const *  iProductInstanceLabel,
char const *  iProcessLabel 
) const
virtual

Definition at line 181 of file LuminosityBlock.cc.

184  {
185  return dataHelper_.getBranchNameFor(iInfo, iModuleLabel, iProductInstanceLabel, iProcessLabel);
186  }

References dataHelper_, and fwlite::DataGetterHelper::getBranchNameFor().

◆ getByLabel()

bool LuminosityBlock::getByLabel ( std::type_info const &  iInfo,
char const *  iModuleLabel,
char const *  iProductInstanceLabel,
char const *  iProcessLabel,
void *  oData 
) const
overridevirtual

Implements fwlite::LuminosityBlockBase.

Definition at line 188 of file LuminosityBlock.cc.

192  {
193  if (atEnd()) {
194  throw cms::Exception("OffEnd") << "You have requested data past the last lumi";
195  }
196  Long_t lumiIndex = branchMap_->getLuminosityBlockEntry();
197  return dataHelper_.getByLabel(iInfo, iModuleLabel, iProductInstanceLabel, iProcessLabel, oData, lumiIndex);
198  }

References atEnd(), branchMap_, dataHelper_, Exception, fwlite::DataGetterHelper::getByLabel(), and csv2json::lumiIndex.

◆ getByProductID()

edm::WrapperBase const * LuminosityBlock::getByProductID ( edm::ProductID const &  iID) const

Definition at line 275 of file LuminosityBlock.cc.

275  {
276  Long_t luminosityBlockIndex = branchMap_->getLuminosityBlockEntry();
277  return dataHelper_.getByProductID(iID, luminosityBlockIndex);
278  }

References branchMap_, dataHelper_, and fwlite::DataGetterHelper::getByProductID().

◆ getRun()

fwlite::Run const & LuminosityBlock::getRun ( ) const

Definition at line 302 of file LuminosityBlock.cc.

302  {
303  run_ = runFactory_->makeRun(std::shared_ptr<BranchMapReader>(&*branchMap_, NoDelete()));
305  run_->to(run);
306  return *run_;
307  }

References branchMap_, luminosityBlockAuxiliary(), edm::LuminosityBlockAuxiliary::run(), edm::LuminosityBlockBase::run(), run_, and runFactory_.

◆ history()

const edm::ProcessHistory & LuminosityBlock::history ( ) const
private

Definition at line 216 of file LuminosityBlock.cc.

216  {
217  edm::ProcessHistoryID processHistoryID;
218 
219  bool newFormat = false; //(fileVersion_ >= 5);
220 
221  Long_t lumiIndex = branchMap_->getLuminosityBlockEntry();
223  if (!newFormat) {
224  processHistoryID = aux_.processHistoryID();
225  }
226 
227  if (historyMap_.empty() || newFormat) {
228  procHistoryNames_.clear();
229  TTree* meta = dynamic_cast<TTree*>(branchMap_->getFile()->Get(edm::poolNames::metaDataTreeName().c_str()));
230  if (nullptr == meta) {
231  throw cms::Exception("NoMetaTree")
232  << "The TFile does not appear to contain a TTree named " << edm::poolNames::metaDataTreeName();
233  }
234  if (historyMap_.empty()) {
235  if (fileVersion_ < 11) {
237  TBranch* b = meta->GetBranch(edm::poolNames::processHistoryMapBranchName().c_str());
238  b->SetAddress(&pPhm);
239  b->GetEntry(0);
240  } else {
241  edm::ProcessHistoryVector historyVector;
242  edm::ProcessHistoryVector* pPhv = &historyVector;
243  TBranch* b = meta->GetBranch(edm::poolNames::processHistoryBranchName().c_str());
244  b->SetAddress(&pPhv);
245  b->GetEntry(0);
246  for (auto& history : historyVector) {
247  historyMap_.insert(std::make_pair(history.setProcessHistoryID(), history));
248  }
249  }
250  }
251  // if (newFormat) {
252  // if (fileVersion_ >= 7) {
253  // edm::History history;
254  // edm::History* pHistory = &history;
255  // TBranch* eventHistoryBranch = eventHistoryTree_->GetBranch(edm::poolNames::eventHistoryBranchName().c_str());
256  // if (!eventHistoryBranch)
257  // throw edm::Exception(edm::errors::FatalRootError)
258  // << "Failed to find history branch in event history tree";
259  // eventHistoryBranch->SetAddress(&pHistory);
260  // eventHistoryTree_->GetEntry(lumiIndex);
261  // processHistoryID = history.processHistoryID();
262  // } else {
263  // std::vector<edm::EventProcessHistoryID> *pEventProcessHistoryIDs = &eventProcessHistoryIDs_;
264  // TBranch* b = meta->GetBranch(edm::poolNames::eventHistoryBranchName().c_str());
265  // b->SetAddress(&pEventProcessHistoryIDs);
266  // b->GetEntry(0);
267  // edm::EventProcessHistoryID target(aux_.id(), edm::ProcessHistoryID());
268  // processHistoryID = std::lower_bound(eventProcessHistoryIDs_.begin(), eventProcessHistoryIDs_.end(), target)->processHistoryID_;
269  // }
270  // }
271  }
272  return historyMap_[processHistoryID];
273  }

References aux_, b, branchMap_, Exception, fileVersion_, historyMap_, csv2json::lumiIndex, edm::poolNames::metaDataTreeName(), edm::poolNames::processHistoryBranchName(), edm::LuminosityBlockAuxiliary::processHistoryID(), edm::poolNames::processHistoryMapBranchName(), procHistoryNames_, edm::ProcessHistory::setProcessHistoryID(), and updateAux().

Referenced by fwlite::LumiHistoryGetter::history().

◆ isValid()

bool LuminosityBlock::isValid ( void  ) const

Definition at line 169 of file LuminosityBlock.cc.

169  {
170  Long_t luminosityBlockIndex = branchMap_->getLuminosityBlockEntry();
171  return luminosityBlockIndex != -1 and luminosityBlockIndex < size();
172  }

References branchMap_, and size().

Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().

◆ luminosityBlockAuxiliary()

edm::LuminosityBlockAuxiliary const & LuminosityBlock::luminosityBlockAuxiliary ( ) const
overridevirtual

Implements edm::LuminosityBlockBase.

Definition at line 200 of file LuminosityBlock.cc.

200  {
201  Long_t luminosityBlockIndex = branchMap_->getLuminosityBlockEntry();
202  updateAux(luminosityBlockIndex);
203  return aux_;
204  }

References aux_, branchMap_, and updateAux().

Referenced by getRun().

◆ operator bool()

LuminosityBlock::operator bool ( ) const

Definition at line 174 of file LuminosityBlock.cc.

174 { return isValid(); }

References sistrip::SpyUtilities::isValid().

◆ operator++()

const LuminosityBlock & LuminosityBlock::operator++ ( )
overridevirtual

Implements fwlite::LuminosityBlockBase.

Definition at line 142 of file LuminosityBlock.cc.

142  {
143  Long_t luminosityBlockIndex = branchMap_->getLuminosityBlockEntry();
144  if (luminosityBlockIndex < size()) {
145  branchMap_->updateLuminosityBlock(++luminosityBlockIndex);
146  }
147  return *this;
148  }

References branchMap_, and size().

◆ operator=()

const LuminosityBlock& fwlite::LuminosityBlock::operator= ( const LuminosityBlock )
privatedelete

◆ size()

Long64_t LuminosityBlock::size ( void  ) const

Definition at line 167 of file LuminosityBlock.cc.

167 { return branchMap_->getLuminosityBlockTree()->GetEntries(); }

References branchMap_.

Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), atEnd(), isValid(), and operator++().

◆ throwProductNotFoundException()

void LuminosityBlock::throwProductNotFoundException ( std::type_info const &  iType,
char const *  iModule,
char const *  iProduct,
char const *  iProcess 
)
static

Definition at line 283 of file LuminosityBlock.cc.

286  {
287  edm::TypeID type(iType);
289  << "A branch was found for \n type ='" << type.className() << "'\n module='" << iModule
290  << "'\n productInstance='" << ((nullptr != iProduct) ? iProduct : "") << "'\n process='"
291  << ((nullptr != iProcess) ? iProcess : "")
292  << "'\n"
293  "but no data is available for this LuminosityBlock";
294  }

References Exception, and edm::errors::ProductNotFound.

◆ to()

bool LuminosityBlock::to ( edm::RunNumber_t  run,
edm::LuminosityBlockNumber_t  lumi 
)

◆ toBegin()

const LuminosityBlock & LuminosityBlock::toBegin ( )
overridevirtual

Implements fwlite::LuminosityBlockBase.

Definition at line 159 of file LuminosityBlock.cc.

159  {
160  branchMap_->updateLuminosityBlock(0);
161  return *this;
162  }

References branchMap_.

◆ updateAux()

void LuminosityBlock::updateAux ( Long_t  lumiIndex) const
private

Definition at line 206 of file LuminosityBlock.cc.

206  {
207  if (auxBranch_->GetEntryNumber() != luminosityBlockIndex) {
208  auxBranch_->GetEntry(luminosityBlockIndex);
209  //handling dealing with old version
210  if (nullptr != pOldAux_) {
212  }
213  }
214  }

References aux_, auxBranch_, edm::conversion(), and pOldAux_.

Referenced by history(), and luminosityBlockAuxiliary().

Friends And Related Function Documentation

◆ internal::ProductGetter

friend class internal::ProductGetter
friend

Definition at line 104 of file LuminosityBlock.h.

◆ LumiHistoryGetter

friend class LumiHistoryGetter
friend

Definition at line 105 of file LuminosityBlock.h.

Member Data Documentation

◆ aux_

edm::LuminosityBlockAuxiliary fwlite::LuminosityBlock::aux_
mutableprivate

Definition at line 124 of file LuminosityBlock.h.

Referenced by history(), luminosityBlockAuxiliary(), and updateAux().

◆ auxBranch_

TBranch* fwlite::LuminosityBlock::auxBranch_
private

Definition at line 128 of file LuminosityBlock.h.

Referenced by LuminosityBlock(), and updateAux().

◆ branchMap_

std::shared_ptr<BranchMapReader> fwlite::LuminosityBlock::branchMap_
mutableprivate

◆ dataHelper_

DataGetterHelper fwlite::LuminosityBlock::dataHelper_
private

Definition at line 131 of file LuminosityBlock.h.

Referenced by getBranchNameFor(), getByLabel(), and getByProductID().

◆ entryFinder_

EntryFinder fwlite::LuminosityBlock::entryFinder_
mutableprivate

Definition at line 125 of file LuminosityBlock.h.

Referenced by to().

◆ fileVersion_

int fwlite::LuminosityBlock::fileVersion_
private

Definition at line 129 of file LuminosityBlock.h.

Referenced by history(), and LuminosityBlock().

◆ historyMap_

edm::ProcessHistoryMap fwlite::LuminosityBlock::historyMap_
mutableprivate

Definition at line 122 of file LuminosityBlock.h.

Referenced by history().

◆ labels_

std::vector<char const*> fwlite::LuminosityBlock::labels_
mutableprivate

Definition at line 121 of file LuminosityBlock.h.

Referenced by ~LuminosityBlock().

◆ pAux_

edm::LuminosityBlockAuxiliary const* fwlite::LuminosityBlock::pAux_
private

Definition at line 126 of file LuminosityBlock.h.

Referenced by LuminosityBlock().

◆ pOldAux_

edm::LuminosityBlockAux const* fwlite::LuminosityBlock::pOldAux_
private

Definition at line 127 of file LuminosityBlock.h.

Referenced by updateAux(), and ~LuminosityBlock().

◆ procHistoryNames_

std::vector<std::string> fwlite::LuminosityBlock::procHistoryNames_
mutableprivate

Definition at line 123 of file LuminosityBlock.h.

Referenced by history().

◆ run_

std::shared_ptr<fwlite::Run> fwlite::LuminosityBlock::run_
mutableprivate

Definition at line 118 of file LuminosityBlock.h.

Referenced by getRun().

◆ runFactory_

std::shared_ptr<RunFactory> fwlite::LuminosityBlock::runFactory_
mutableprivate

Definition at line 132 of file LuminosityBlock.h.

Referenced by getRun(), and LuminosityBlock().

edm::LuminosityBlockAuxiliary::run
RunNumber_t run() const
Definition: LuminosityBlockAuxiliary.h:35
edm::RunNumber_t
unsigned int RunNumber_t
Definition: RunLumiEventNumber.h:14
edm::conversion
void conversion(EventAux const &from, EventAuxiliary &to)
Definition: EventAux.cc:9
fwlite::EntryFinder::invalidEntry
static const EntryNumber_t invalidEntry
Definition: EntryFinder.h:41
fwlite::LuminosityBlock::branchMap_
std::shared_ptr< BranchMapReader > branchMap_
Definition: LuminosityBlock.h:116
mps_splice.entry
entry
Definition: mps_splice.py:68
fwlite::LuminosityBlock::aux_
edm::LuminosityBlockAuxiliary aux_
Definition: LuminosityBlock.h:124
edm::poolNames::luminosityBlockTreeName
std::string const & luminosityBlockTreeName()
Definition: BranchType.cc:213
fwlite::LuminosityBlock::auxBranch_
TBranch * auxBranch_
Definition: LuminosityBlock.h:128
fwlite::LuminosityBlock::history
const edm::ProcessHistory & history() const
Definition: LuminosityBlock.cc:216
fwlite::EntryFinder::EntryNumber_t
edm::IndexIntoFile::EntryNumber_t EntryNumber_t
Definition: EntryFinder.h:33
fwlite::LuminosityBlock::fileVersion_
int fileVersion_
Definition: LuminosityBlock.h:129
fwlite::LuminosityBlock::labels_
std::vector< char const * > labels_
Definition: LuminosityBlock.h:121
edm::LuminosityBlockBase::run
RunNumber_t run() const
Definition: LuminosityBlockBase.h:42
fwlite::LuminosityBlock::procHistoryNames_
std::vector< std::string > procHistoryNames_
Definition: LuminosityBlock.h:123
fwlite::LuminosityBlock::updateAux
void updateAux(Long_t lumiIndex) const
Definition: LuminosityBlock.cc:206
edm::BranchTypeToAuxiliaryBranchName
std::string const & BranchTypeToAuxiliaryBranchName(BranchType const &branchType)
Definition: BranchType.cc:109
fwlite::EntryFinder::fillIndex
void fillIndex(BranchMapReader &branchMap)
Definition: EntryFinder.cc:107
edm::errors::ProductNotFound
Definition: EDMException.h:33
edm::ProcessHistoryMap
std::map< ProcessHistoryID, ProcessHistory > ProcessHistoryMap
Definition: ProcessHistoryRegistry.h:15
fwlite::LuminosityBlock::isValid
bool isValid() const
Definition: LuminosityBlock.cc:169
edm::poolNames::processHistoryBranchName
std::string const & processHistoryBranchName()
Definition: BranchType.cc:170
fwlite::DataGetterHelper::getByLabel
virtual bool getByLabel(std::type_info const &, char const *, char const *, char const *, void *, Long_t) const
Definition: DataGetterHelper.cc:282
edm::LuminosityBlockBase::luminosityBlock
LuminosityBlockNumber_t luminosityBlock() const
Definition: LuminosityBlockBase.h:40
edm::Hash< ProcessHistoryType >
b
double b
Definition: hdecay.h:118
fwlite::LuminosityBlock::run_
std::shared_ptr< fwlite::Run > run_
Definition: LuminosityBlock.h:118
csv2json.lumiIndex
lumiIndex
Definition: csv2json.py:29
fwlite::LuminosityBlock::dataHelper_
DataGetterHelper dataHelper_
Definition: LuminosityBlock.h:131
edm::LuminosityBlockAuxiliary::processHistoryID
ProcessHistoryID const & processHistoryID() const
Definition: LuminosityBlockAuxiliary.h:32
fwlite::LuminosityBlock::atEnd
bool atEnd() const override
Definition: LuminosityBlock.cc:176
edm::InLumi
Definition: BranchType.h:11
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
gainCalibHelper::gainCalibPI::type
type
Definition: SiPixelGainCalibHelper.h:40
edm::ProcessHistoryVector
std::vector< ProcessHistory > ProcessHistoryVector
Definition: ProcessHistoryRegistry.h:16
edm::poolNames::processHistoryMapBranchName
std::string const & processHistoryMapBranchName()
Definition: BranchType.cc:167
fwlite::LuminosityBlock::pAux_
edm::LuminosityBlockAuxiliary const * pAux_
Definition: LuminosityBlock.h:126
edm::ProcessHistory::setProcessHistoryID
ProcessHistoryID setProcessHistoryID()
Definition: ProcessHistory.cc:27
fwlite::LuminosityBlock::pOldAux_
edm::LuminosityBlockAux const * pOldAux_
Definition: LuminosityBlock.h:127
BranchMapReader
edm::TypeID
Definition: TypeID.h:22
fwlite::DataGetterHelper::getBranchNameFor
virtual const std::string getBranchNameFor(std::type_info const &, char const *, char const *, char const *) const
Definition: DataGetterHelper.cc:269
fwlite::LuminosityBlock::entryFinder_
EntryFinder entryFinder_
Definition: LuminosityBlock.h:125
edm::poolNames::metaDataTreeName
std::string const & metaDataTreeName()
Definition: BranchType.cc:152
Exception
Definition: hltDiff.cc:245
fwlite::LuminosityBlock::runFactory_
std::shared_ptr< RunFactory > runFactory_
Definition: LuminosityBlock.h:132
fwlite::LuminosityBlock::size
Long64_t size() const
Definition: LuminosityBlock.cc:167
fwlite::LuminosityBlock::luminosityBlockAuxiliary
edm::LuminosityBlockAuxiliary const & luminosityBlockAuxiliary() const override
Definition: LuminosityBlock.cc:200
or
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
fwlite::EntryFinder::findLumi
EntryNumber_t findLumi(edm::RunNumber_t const &run, edm::LuminosityBlockNumber_t const &lumi) const
Definition: EntryFinder.cc:74
fwlite::DataGetterHelper::getByProductID
edm::WrapperBase const * getByProductID(edm::ProductID const &pid, Long_t eventEntry) const
Definition: DataGetterHelper.cc:344
fwlite::LuminosityBlock::historyMap_
edm::ProcessHistoryMap historyMap_
Definition: LuminosityBlock.h:122
label
const char * label
Definition: PFTauDecayModeTools.cc:11