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
EcalMatacqAnalyzer Class Reference

#include <EcalMatacqAnalyzer.h>

Inheritance diagram for EcalMatacqAnalyzer:
edm::EDAnalyzer edm::EDConsumerBase

Public Types

enum  VarCol { iBlue, iRed, nColor }
 
enum  VarSide { iSide0, iSide1, nSide }
 
- 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 ()
 
 EcalMatacqAnalyzer (const edm::ParameterSet &iConfig)
 
virtual void endJob ()
 
 ~EcalMatacqAnalyzer ()
 
- 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 _cutwindow
 
int _debug
 
int _fedid
 
unsigned int _highlev
 
unsigned int _lowlev
 
unsigned int _nevlasers
 
unsigned int _noiseCut
 
unsigned int _nsamplesaftmax
 
unsigned int _nsamplesshape
 
unsigned int _parabnaftmax
 
unsigned int _parabnbefmax
 
double _presample
 
unsigned int _presampleshape
 
unsigned int _slide
 
unsigned int _thres
 
unsigned int _timeaftmax
 
unsigned int _timebefmax
 
double ampl
 
int color
 
std::vector< int > colors
 
int dccID
 
std::string digiCollection_
 
std::string digiProducer_
 
int event
 
std::string eventHeaderCollection_
 
std::string eventHeaderProducer_
 
int fedID
 
double fit
 
double fw20
 
double fw80
 
double fwhm
 
int iEvent
 
bool isThereMatacq
 
int laserEvents
 
int lightside
 
double matacq [2560]
 
int maxsamp
 
TTree * meanTree [nColor]
 
TMTQMTQ [nColor][nSide]
 
TTree * mtqShape
 
int nsamples
 
unsigned int nSides
 
std::string outfile
 
TFile * outFile
 
double peak
 
double ped
 
double pedsig
 
std::string resdir_
 
int runNum
 
int runType
 
std::string sampfile
 
TFile * sampFile
 
double sigma
 
double sliding
 
int status
 
TTree * tree
 
double trise
 
double tt
 
double ttrig
 

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 14 of file EcalMatacqAnalyzer.h.

Member Enumeration Documentation

Constructor & Destructor Documentation

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

Definition at line 39 of file EcalMatacqAnalyzer.cc.

EcalMatacqAnalyzer::~EcalMatacqAnalyzer ( )

Definition at line 84 of file EcalMatacqAnalyzer.cc.

Member Function Documentation

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

Implements edm::EDAnalyzer.

Definition at line 146 of file EcalMatacqAnalyzer.cc.

void EcalMatacqAnalyzer::beginJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 95 of file EcalMatacqAnalyzer.cc.

void EcalMatacqAnalyzer::endJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 291 of file EcalMatacqAnalyzer.cc.

Member Data Documentation

double EcalMatacqAnalyzer::_cutwindow
private

Definition at line 48 of file EcalMatacqAnalyzer.h.

int EcalMatacqAnalyzer::_debug
private

Definition at line 53 of file EcalMatacqAnalyzer.h.

int EcalMatacqAnalyzer::_fedid
private

Definition at line 52 of file EcalMatacqAnalyzer.h.

unsigned int EcalMatacqAnalyzer::_highlev
private

Definition at line 44 of file EcalMatacqAnalyzer.h.

unsigned int EcalMatacqAnalyzer::_lowlev
private

Definition at line 43 of file EcalMatacqAnalyzer.h.

unsigned int EcalMatacqAnalyzer::_nevlasers
private

Definition at line 45 of file EcalMatacqAnalyzer.h.

unsigned int EcalMatacqAnalyzer::_noiseCut
private

Definition at line 39 of file EcalMatacqAnalyzer.h.

unsigned int EcalMatacqAnalyzer::_nsamplesaftmax
private

Definition at line 38 of file EcalMatacqAnalyzer.h.

unsigned int EcalMatacqAnalyzer::_nsamplesshape
private

Definition at line 49 of file EcalMatacqAnalyzer.h.

unsigned int EcalMatacqAnalyzer::_parabnaftmax
private

Definition at line 41 of file EcalMatacqAnalyzer.h.

unsigned int EcalMatacqAnalyzer::_parabnbefmax
private

Definition at line 40 of file EcalMatacqAnalyzer.h.

double EcalMatacqAnalyzer::_presample
private

Definition at line 37 of file EcalMatacqAnalyzer.h.

unsigned int EcalMatacqAnalyzer::_presampleshape
private

Definition at line 50 of file EcalMatacqAnalyzer.h.

unsigned int EcalMatacqAnalyzer::_slide
private

Definition at line 51 of file EcalMatacqAnalyzer.h.

unsigned int EcalMatacqAnalyzer::_thres
private

Definition at line 42 of file EcalMatacqAnalyzer.h.

unsigned int EcalMatacqAnalyzer::_timeaftmax
private

Definition at line 47 of file EcalMatacqAnalyzer.h.

unsigned int EcalMatacqAnalyzer::_timebefmax
private

Definition at line 46 of file EcalMatacqAnalyzer.h.

double EcalMatacqAnalyzer::ampl
private

Definition at line 97 of file EcalMatacqAnalyzer.h.

int EcalMatacqAnalyzer::color
private

Definition at line 81 of file EcalMatacqAnalyzer.h.

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

Definition at line 93 of file EcalMatacqAnalyzer.h.

int EcalMatacqAnalyzer::dccID
private

Definition at line 71 of file EcalMatacqAnalyzer.h.

std::string EcalMatacqAnalyzer::digiCollection_
private

Definition at line 56 of file EcalMatacqAnalyzer.h.

std::string EcalMatacqAnalyzer::digiProducer_
private

Definition at line 57 of file EcalMatacqAnalyzer.h.

int EcalMatacqAnalyzer::event
private

Definition at line 80 of file EcalMatacqAnalyzer.h.

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

std::string EcalMatacqAnalyzer::eventHeaderCollection_
private

Definition at line 58 of file EcalMatacqAnalyzer.h.

std::string EcalMatacqAnalyzer::eventHeaderProducer_
private

Definition at line 59 of file EcalMatacqAnalyzer.h.

int EcalMatacqAnalyzer::fedID
private

Definition at line 72 of file EcalMatacqAnalyzer.h.

double EcalMatacqAnalyzer::fit
private

Definition at line 97 of file EcalMatacqAnalyzer.h.

double EcalMatacqAnalyzer::fw20
private

Definition at line 97 of file EcalMatacqAnalyzer.h.

double EcalMatacqAnalyzer::fw80
private

Definition at line 97 of file EcalMatacqAnalyzer.h.

double EcalMatacqAnalyzer::fwhm
private

Definition at line 97 of file EcalMatacqAnalyzer.h.

int EcalMatacqAnalyzer::iEvent
private

Definition at line 31 of file EcalMatacqAnalyzer.h.

bool EcalMatacqAnalyzer::isThereMatacq
private

Definition at line 76 of file EcalMatacqAnalyzer.h.

int EcalMatacqAnalyzer::laserEvents
private

Definition at line 75 of file EcalMatacqAnalyzer.h.

int EcalMatacqAnalyzer::lightside
private

Definition at line 68 of file EcalMatacqAnalyzer.h.

double EcalMatacqAnalyzer::matacq[2560]
private

Definition at line 82 of file EcalMatacqAnalyzer.h.

int EcalMatacqAnalyzer::maxsamp
private

Definition at line 83 of file EcalMatacqAnalyzer.h.

TTree* EcalMatacqAnalyzer::meanTree[nColor]
private

Definition at line 91 of file EcalMatacqAnalyzer.h.

TMTQ* EcalMatacqAnalyzer::MTQ[nColor][nSide]
private

Definition at line 90 of file EcalMatacqAnalyzer.h.

TTree* EcalMatacqAnalyzer::mtqShape
private

Definition at line 98 of file EcalMatacqAnalyzer.h.

int EcalMatacqAnalyzer::nsamples
private

Definition at line 84 of file EcalMatacqAnalyzer.h.

unsigned int EcalMatacqAnalyzer::nSides
private

Definition at line 67 of file EcalMatacqAnalyzer.h.

std::string EcalMatacqAnalyzer::outfile
private

Definition at line 61 of file EcalMatacqAnalyzer.h.

TFile* EcalMatacqAnalyzer::outFile
private

Definition at line 95 of file EcalMatacqAnalyzer.h.

double EcalMatacqAnalyzer::peak
private

Definition at line 97 of file EcalMatacqAnalyzer.h.

double EcalMatacqAnalyzer::ped
private

Definition at line 97 of file EcalMatacqAnalyzer.h.

double EcalMatacqAnalyzer::pedsig
private

Definition at line 97 of file EcalMatacqAnalyzer.h.

std::string EcalMatacqAnalyzer::resdir_
private

Definition at line 55 of file EcalMatacqAnalyzer.h.

int EcalMatacqAnalyzer::runNum
private

Definition at line 70 of file EcalMatacqAnalyzer.h.

int EcalMatacqAnalyzer::runType
private

Definition at line 69 of file EcalMatacqAnalyzer.h.

std::string EcalMatacqAnalyzer::sampfile
private

Definition at line 62 of file EcalMatacqAnalyzer.h.

TFile* EcalMatacqAnalyzer::sampFile
private

Definition at line 87 of file EcalMatacqAnalyzer.h.

double EcalMatacqAnalyzer::sigma
private

Definition at line 97 of file EcalMatacqAnalyzer.h.

double EcalMatacqAnalyzer::sliding
private

Definition at line 97 of file EcalMatacqAnalyzer.h.

int EcalMatacqAnalyzer::status
private

Definition at line 96 of file EcalMatacqAnalyzer.h.

TTree* EcalMatacqAnalyzer::tree
private
double EcalMatacqAnalyzer::trise
private

Definition at line 97 of file EcalMatacqAnalyzer.h.

double EcalMatacqAnalyzer::tt
private

Definition at line 85 of file EcalMatacqAnalyzer.h.

double EcalMatacqAnalyzer::ttrig
private

Definition at line 97 of file EcalMatacqAnalyzer.h.