|
void | analyze (const edm::Event &, const edm::EventSetup &) override |
|
| EcalEBTrigPrimAnalyzer (const edm::ParameterSet &) |
|
void | endJob () override |
|
| ~EcalEBTrigPrimAnalyzer () override |
|
| EDAnalyzer ()=default |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const |
|
bool | wantsStreamRuns () const |
|
| ~EDAnalyzerBase () override |
|
std::vector< ConsumesInfo > | consumesInfo () 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 |
|
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::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 |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
typedef EDAnalyzerBase | ModuleType |
|
typedef ProductLabels | Labels |
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &descriptions) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
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<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) |
|
Definition at line 24 of file EcalEBTrigPrimAnalyzer.h.
Definition at line 114 of file EcalEBTrigPrimAnalyzer.cc.
References gather_cfg::cout, ztail::d, EcalEBTriggerPrimitiveDigi::encodedEt(), HCALHighEnergyHPDFilter_cfi::energy, edm::EventSetup::get(), edm::Event::getByToken(), CaloSubdetectorGeometry::getGeometry(), mps_fire::i, EcalEBTriggerPrimitiveDigi::id(), edm::EventBase::id(), EBDetId::ieta(), init, EBDetId::iphi(), dqmiolumiharvest::j, edm::Handle< T >::product(), edm::ESHandle< T >::product(), EcalEBTriggerPrimitiveDigi::sample(), EcalTPGScale::setEventSetup(), funct::sin(), EcalEBTriggerPrimitiveDigi::size(), edm::SortedCollection< T, SORT >::size(), and theta().
156 if (
debug_) {
std::cout <<
" TP analyzer =================> Treating event "<<iEvent.
id() <<
" Number of TPs " << tp.
product()->
size() << std::endl;
186 if ( Et<= 5 )
continue;
191 for (
int iBx=0;iBx<d.
size();iBx++) {
217 if ( myid1 == TPid ) {
218 if (
debug_)
std::cout <<
" Analyzer same cristal " << myid1 <<
" " << TPid << std::endl;
238 if (
debug_)
std::cout <<
" TP compressed et " << d.
encodedEt() <<
" Et in GeV " << Et <<
" RH Et " << rhEt <<
" Et/rhEt " << Et/rhEt << std::endl;
241 if ( rhEt < 1000000)
eRec_ = rhEt;
258 float theta = theBarrelGeometry->
getGeometry(myid1)->getPosition().theta();
void setEventSetup(const edm::EventSetup &evtSetup)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Sin< T >::type sin(const T &t)
Geom::Theta< T > theta() const
edm::EDGetTokenT< EcalRecHitCollection > rechits_labelEB_
int iphi() const
get the crystal iphi
const EBDetId & id() const
TH2F * hTP_iphiVsieta_fullrange_
const EcalEBTriggerPrimitiveSample & sample(int i) const
int encodedEt() const
get the 10 bits Et of interesting sample
int ieta() const
get the crystal ieta
T const * product() const
virtual std::shared_ptr< const CaloCellGeometry > getGeometry(const DetId &id) const
Get the cell geometry of a given detector id. Should return false if not found.
edm::EDGetTokenT< EcalEBTrigPrimDigiCollection > primToken_
void init(const edm::EventSetup &)
TH2F * hRH_iphiVsieta_fullrange_
T const * product() const