CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
EcalABAnalyzer Class Reference

#include <EcalABAnalyzer.h>

Inheritance diagram for EcalABAnalyzer:
edm::EDAnalyzer edm::EDConsumerBase

Public Types

enum  VarCol { iBlue, iRed, nColor }
 
- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Public Member Functions

virtual void analyze (const edm::Event &e, const edm::EventSetup &c)
 
virtual void beginJob ()
 
 EcalABAnalyzer (const edm::ParameterSet &iConfig)
 
virtual void endJob ()
 
 ~EcalABAnalyzer ()
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Private Attributes

double _alpha
 
double _beta
 
double _chi2cut
 
int _debug
 
std::string _ecalPart
 
int _fedid
 
unsigned int _firstsample
 
bool _fitab
 
unsigned int _lastsample
 
unsigned int _nevtmax
 
unsigned int _niter
 
double _noise
 
unsigned int _nsamples
 
unsigned int _presample
 
double _presamplecut
 
double _qualpercent
 
double _ratiomaxcutlow
 
double _ratiomincuthigh
 
double _ratiomincutlow
 
unsigned int _timingcuthigh
 
unsigned int _timingcutlow
 
unsigned int _timingqualhigh
 
unsigned int _timingquallow
 
double adc [10]
 
int adcG [10]
 
std::string alphafile
 
std::string alphainitfile
 
TAPDPulseAPDPulse
 
int channelIteratorEE
 
std::map< int, int > channelMapEE
 
int color
 
std::vector< int > colors
 
int dccID
 
std::vector< int > dccMEM
 
TMomDelta01
 
TMomDelta12
 
std::string digiCollection_
 
std::string digiProducer_
 
bool doesABTreeExist
 
int eta
 
int event
 
std::string eventHeaderCollection_
 
std::string eventHeaderProducer_
 
int fedID
 
int iChannelID [1700]
 
int idccID [1700]
 
int iEta [1700]
 
int iEvent
 
int iPhi [1700]
 
bool isGainOK
 
int iside [1700]
 
bool isTimingOK
 
int iTowerID [1700]
 
int iZ
 
int lightside
 
std::vector< int > modules
 
unsigned int nCrys
 
unsigned int nevtAB [1700]
 
int nEvtBadGain [1700]
 
int nEvtBadTiming [1700]
 
int nEvtTot [1700]
 
int phi
 
std::string resdir_
 
int runNum
 
int runType
 
TShapeAnalysisshapana
 
int side
 
bool wasGainOK [1700]
 
bool wasTimingOK [1700]
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Member Functions inherited from edm::EDConsumerBase
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 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)
 

Detailed Description

Definition at line 35 of file EcalABAnalyzer.h.

Member Enumeration Documentation

Enumerator
iBlue 
iRed 
nColor 

Definition at line 48 of file EcalABAnalyzer.h.

Constructor & Destructor Documentation

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

Definition at line 53 of file EcalABAnalyzer.cc.

EcalABAnalyzer::~EcalABAnalyzer ( )

Definition at line 146 of file EcalABAnalyzer.cc.

Member Function Documentation

void EcalABAnalyzer::analyze ( const edm::Event e,
const edm::EventSetup c 
)
virtual

Implements edm::EDAnalyzer.

Definition at line 229 of file EcalABAnalyzer.cc.

void EcalABAnalyzer::beginJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 158 of file EcalABAnalyzer.cc.

void EcalABAnalyzer::endJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 514 of file EcalABAnalyzer.cc.

Member Data Documentation

double EcalABAnalyzer::_alpha
private

Definition at line 70 of file EcalABAnalyzer.h.

double EcalABAnalyzer::_beta
private

Definition at line 71 of file EcalABAnalyzer.h.

double EcalABAnalyzer::_chi2cut
private

Definition at line 74 of file EcalABAnalyzer.h.

int EcalABAnalyzer::_debug
private

Definition at line 78 of file EcalABAnalyzer.h.

std::string EcalABAnalyzer::_ecalPart
private

Definition at line 75 of file EcalABAnalyzer.h.

int EcalABAnalyzer::_fedid
private

Definition at line 76 of file EcalABAnalyzer.h.

unsigned int EcalABAnalyzer::_firstsample
private

Definition at line 59 of file EcalABAnalyzer.h.

bool EcalABAnalyzer::_fitab
private

Definition at line 104 of file EcalABAnalyzer.h.

unsigned int EcalABAnalyzer::_lastsample
private

Definition at line 60 of file EcalABAnalyzer.h.

unsigned int EcalABAnalyzer::_nevtmax
private

Definition at line 72 of file EcalABAnalyzer.h.

unsigned int EcalABAnalyzer::_niter
private

Definition at line 69 of file EcalABAnalyzer.h.

double EcalABAnalyzer::_noise
private

Definition at line 73 of file EcalABAnalyzer.h.

unsigned int EcalABAnalyzer::_nsamples
private

Definition at line 57 of file EcalABAnalyzer.h.

unsigned int EcalABAnalyzer::_presample
private

Definition at line 58 of file EcalABAnalyzer.h.

double EcalABAnalyzer::_presamplecut
private

Definition at line 68 of file EcalABAnalyzer.h.

double EcalABAnalyzer::_qualpercent
private

Definition at line 77 of file EcalABAnalyzer.h.

double EcalABAnalyzer::_ratiomaxcutlow
private

Definition at line 67 of file EcalABAnalyzer.h.

double EcalABAnalyzer::_ratiomincuthigh
private

Definition at line 66 of file EcalABAnalyzer.h.

double EcalABAnalyzer::_ratiomincutlow
private

Definition at line 65 of file EcalABAnalyzer.h.

unsigned int EcalABAnalyzer::_timingcuthigh
private

Definition at line 62 of file EcalABAnalyzer.h.

unsigned int EcalABAnalyzer::_timingcutlow
private

Definition at line 61 of file EcalABAnalyzer.h.

unsigned int EcalABAnalyzer::_timingqualhigh
private

Definition at line 64 of file EcalABAnalyzer.h.

unsigned int EcalABAnalyzer::_timingquallow
private

Definition at line 63 of file EcalABAnalyzer.h.

double EcalABAnalyzer::adc[10]
private

Definition at line 129 of file EcalABAnalyzer.h.

int EcalABAnalyzer::adcG[10]
private

Definition at line 130 of file EcalABAnalyzer.h.

std::string EcalABAnalyzer::alphafile
private

Definition at line 92 of file EcalABAnalyzer.h.

std::string EcalABAnalyzer::alphainitfile
private

Definition at line 93 of file EcalABAnalyzer.h.

TAPDPulse* EcalABAnalyzer::APDPulse
private

Definition at line 80 of file EcalABAnalyzer.h.

int EcalABAnalyzer::channelIteratorEE
private

Definition at line 131 of file EcalABAnalyzer.h.

std::map<int, int> EcalABAnalyzer::channelMapEE
private

Definition at line 119 of file EcalABAnalyzer.h.

int EcalABAnalyzer::color
private

Definition at line 128 of file EcalABAnalyzer.h.

std::vector<int> EcalABAnalyzer::colors
private

Definition at line 118 of file EcalABAnalyzer.h.

int EcalABAnalyzer::dccID
private

Definition at line 110 of file EcalABAnalyzer.h.

std::vector<int> EcalABAnalyzer::dccMEM
private

Definition at line 120 of file EcalABAnalyzer.h.

TMom* EcalABAnalyzer::Delta01
private

Definition at line 81 of file EcalABAnalyzer.h.

TMom* EcalABAnalyzer::Delta12
private

Definition at line 82 of file EcalABAnalyzer.h.

std::string EcalABAnalyzer::digiCollection_
private

Definition at line 85 of file EcalABAnalyzer.h.

std::string EcalABAnalyzer::digiProducer_
private

Definition at line 86 of file EcalABAnalyzer.h.

bool EcalABAnalyzer::doesABTreeExist
private

Definition at line 102 of file EcalABAnalyzer.h.

int EcalABAnalyzer::eta
private

Definition at line 126 of file EcalABAnalyzer.h.

Referenced by Particle.Particle::__str__().

int EcalABAnalyzer::event
private

Definition at line 127 of file EcalABAnalyzer.h.

Referenced by core.AutoHandle.AutoHandle::product().

std::string EcalABAnalyzer::eventHeaderCollection_
private

Definition at line 87 of file EcalABAnalyzer.h.

std::string EcalABAnalyzer::eventHeaderProducer_
private

Definition at line 88 of file EcalABAnalyzer.h.

int EcalABAnalyzer::fedID
private

Definition at line 109 of file EcalABAnalyzer.h.

int EcalABAnalyzer::iChannelID[1700]
private

Definition at line 135 of file EcalABAnalyzer.h.

int EcalABAnalyzer::idccID[1700]
private

Definition at line 135 of file EcalABAnalyzer.h.

int EcalABAnalyzer::iEta[1700]
private

Definition at line 134 of file EcalABAnalyzer.h.

int EcalABAnalyzer::iEvent
private

Definition at line 52 of file EcalABAnalyzer.h.

int EcalABAnalyzer::iPhi[1700]
private

Definition at line 134 of file EcalABAnalyzer.h.

bool EcalABAnalyzer::isGainOK
private

Definition at line 146 of file EcalABAnalyzer.h.

int EcalABAnalyzer::iside[1700]
private

Definition at line 135 of file EcalABAnalyzer.h.

bool EcalABAnalyzer::isTimingOK
private

Definition at line 147 of file EcalABAnalyzer.h.

int EcalABAnalyzer::iTowerID[1700]
private

Definition at line 135 of file EcalABAnalyzer.h.

int EcalABAnalyzer::iZ
private

Definition at line 113 of file EcalABAnalyzer.h.

int EcalABAnalyzer::lightside
private

Definition at line 112 of file EcalABAnalyzer.h.

std::vector<int> EcalABAnalyzer::modules
private

Definition at line 121 of file EcalABAnalyzer.h.

unsigned int EcalABAnalyzer::nCrys
private

Definition at line 101 of file EcalABAnalyzer.h.

unsigned int EcalABAnalyzer::nevtAB[1700]
private

Definition at line 96 of file EcalABAnalyzer.h.

int EcalABAnalyzer::nEvtBadGain[1700]
private

Definition at line 139 of file EcalABAnalyzer.h.

int EcalABAnalyzer::nEvtBadTiming[1700]
private

Definition at line 140 of file EcalABAnalyzer.h.

int EcalABAnalyzer::nEvtTot[1700]
private

Definition at line 141 of file EcalABAnalyzer.h.

int EcalABAnalyzer::phi
private

Definition at line 126 of file EcalABAnalyzer.h.

Referenced by Particle.Particle::__str__().

std::string EcalABAnalyzer::resdir_
private

Definition at line 84 of file EcalABAnalyzer.h.

int EcalABAnalyzer::runNum
private

Definition at line 108 of file EcalABAnalyzer.h.

int EcalABAnalyzer::runType
private

Definition at line 107 of file EcalABAnalyzer.h.

TShapeAnalysis* EcalABAnalyzer::shapana
private

Definition at line 95 of file EcalABAnalyzer.h.

int EcalABAnalyzer::side
private

Definition at line 111 of file EcalABAnalyzer.h.

bool EcalABAnalyzer::wasGainOK[1700]
private

Definition at line 143 of file EcalABAnalyzer.h.

bool EcalABAnalyzer::wasTimingOK[1700]
private

Definition at line 144 of file EcalABAnalyzer.h.