|
| PUDumper (const edm::ParameterSet &) |
| ctor More...
|
|
| ~PUDumper () |
| dtor More...
|
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
virtual | ~EDAnalyzer () |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
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 & | itemsToGetFromEvent () const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
Definition at line 20 of file PUDumper.h.
the actual analyze method
loop over the reco particles and count leptons
Definition at line 37 of file PUDumper.cc.
References begin, BX_, gather_cfg::cout, DEFINE_FWK_MODULE, edm::EventID::event(), eventNumber, HcalObjRepresent::Fill(), edm::Event::getByToken(), edm::EventBase::id(), edm::EventBase::isRealData(), lumiBlock, edm::EventBase::luminosityBlock(), nBX, nPUobs_, nPUtrue_, pileupSummaryToken_, PUTree_, edm::EventID::run(), runNumber, and sistrip::runNumber_.
56 std::vector<PileupSummaryInfo>::const_iterator PVI;
59 for(PVI = PupInfo->begin(); PVI != PupInfo->end(); ++PVI){
60 BX_[
nBX] = PVI -> getBunchCrossing();
64 <<
" BX[1]: " <<
BX_[1]
static const char runNumber_[]
EventNumber_t event() const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::LuminosityBlockNumber_t luminosityBlock() const
edm::EDGetTokenT< std::vector< PileupSummaryInfo > > pileupSummaryToken_
Int_t lumiBlock
lumi section
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)