|
virtual void | analyze (const edm::Event &, const edm::EventSetup &) override |
|
| EcalEBTrigPrimAnalyzer (const edm::ParameterSet &) |
|
virtual void | endJob () |
|
| ~EcalEBTrigPrimAnalyzer () |
|
| EDAnalyzer ()=default |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDAnalyzerBase () |
|
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 |
|
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 |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
Definition at line 24 of file EcalEBTrigPrimAnalyzer.h.
Definition at line 114 of file EcalEBTrigPrimAnalyzer.cc.
References gather_cfg::cout, edmIntegrityCheck::d, EcalEBTriggerPrimitiveDigi::encodedEt(), edm::EventSetup::get(), edm::Event::getByToken(), CaloSubdetectorGeometry::getGeometry(), CaloCellGeometry::getPosition(), mps_fire::i, EcalEBTriggerPrimitiveDigi::id(), edm::EventBase::id(), EBDetId::ieta(), init, EBDetId::iphi(), edm::Handle< T >::product(), EcalEBTriggerPrimitiveDigi::sample(), EcalTPGScale::setEventSetup(), funct::sin(), EcalEBTriggerPrimitiveDigi::size(), edm::SortedCollection< T, SORT >::size(), PV3DBase< T, PVType, FrameType >::theta(), and theta().
155 theBarrelGeometry = &(*theBarrelGeometry_handle);
157 if (
debug_) {
std::cout <<
" TP analyzer =================> Treating event "<<iEvent.
id() <<
" Number of TPs " << tp.
product()->
size() << std::endl;
187 if ( Et<= 5 )
continue;
192 for (
int iBx=0;iBx<d.
size();iBx++) {
214 for (
unsigned int j=0;j<rechit_EB_col.
product()->
size();j++) {
217 float rhEt=((*rechit_EB_col.
product())[j].energy())*
sin(theta);
218 if ( myid1 == TPid ) {
219 if (
debug_)
std::cout <<
" Analyzer same cristal " << myid1 <<
" " << TPid << std::endl;
239 if (
debug_)
std::cout <<
" TP compressed et " << d.
encodedEt() <<
" Et in GeV " << Et <<
" RH Et " << rhEt <<
" Et/rhEt " << Et/rhEt << std::endl;
242 if ( rhEt < 1000000)
eRec_ = rhEt;
257 for (
unsigned int j=0;j<rechit_EB_col.
product()->
size();j++) {
260 float rhEt=((*rechit_EB_col.
product())[j].energy())*
sin(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_
virtual const CaloCellGeometry * getGeometry(const DetId &id) const
Get the cell geometry of a given detector id. Should return false if not found.
Geom::Theta< T > theta() const
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
edm::EDGetTokenT< EcalEBTrigPrimDigiCollection > primToken_
void init(const edm::EventSetup &)
const GlobalPoint & getPosition() const
Returns the position of reference for this cell.
TH2F * hRH_iphiVsieta_fullrange_