CMS 3D CMS Logo

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

#include <CastorPedestalsAnalysis.h>

Inheritance diagram for CastorPedestalsAnalysis:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

void analyze (const edm::Event &event, const edm::EventSetup &eventSetup)
 
 CastorPedestalsAnalysis (const edm::ParameterSet &ps)
 
virtual ~CastorPedestalsAnalysis ()
 
- 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

std::vector< NewPedBunchBunches
 
edm::InputTag castorDigiCollectionTag
 
TH1F * CASTORMeans
 
TH1F * CASTORWidths
 
TH2F * dephist
 
bool dumpXML
 
bool firsttime
 
int firstTS
 
bool hiSaveFlag
 
int lastTS
 
std::string pedsADCfilename
 
std::string pedsfCfilename
 
std::string ROOTfilename
 
int runnum
 
TFile * theFile
 
bool verboseflag
 
std::string widthsADCfilename
 
std::string widthsfCfilename
 
std::string XMLfilename
 
std::string XMLtag
 
std::string ZSfilename
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- 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 73 of file CastorPedestalsAnalysis.h.

Constructor & Destructor Documentation

CastorPedestalsAnalysis::CastorPedestalsAnalysis ( const edm::ParameterSet ps)

Definition at line 11 of file CastorPedestalsAnalysis.cc.

CastorPedestalsAnalysis::~CastorPedestalsAnalysis ( )
virtual

Definition at line 23 of file CastorPedestalsAnalysis.cc.

Member Function Documentation

void CastorPedestalsAnalysis::analyze ( const edm::Event event,
const edm::EventSetup eventSetup 
)
virtual

Implements edm::EDAnalyzer.

Definition at line 231 of file CastorPedestalsAnalysis.cc.

Member Data Documentation

std::vector<NewPedBunch> CastorPedestalsAnalysis::Bunches
private

Definition at line 85 of file CastorPedestalsAnalysis.h.

edm::InputTag CastorPedestalsAnalysis::castorDigiCollectionTag
private

Definition at line 111 of file CastorPedestalsAnalysis.h.

TH1F* CastorPedestalsAnalysis::CASTORMeans
private

Definition at line 102 of file CastorPedestalsAnalysis.h.

TH1F* CastorPedestalsAnalysis::CASTORWidths
private

Definition at line 103 of file CastorPedestalsAnalysis.h.

TH2F* CastorPedestalsAnalysis::dephist
private

Definition at line 106 of file CastorPedestalsAnalysis.h.

bool CastorPedestalsAnalysis::dumpXML
private

Definition at line 88 of file CastorPedestalsAnalysis.h.

bool CastorPedestalsAnalysis::firsttime
private

Definition at line 109 of file CastorPedestalsAnalysis.h.

int CastorPedestalsAnalysis::firstTS
private

Definition at line 91 of file CastorPedestalsAnalysis.h.

bool CastorPedestalsAnalysis::hiSaveFlag
private

Definition at line 87 of file CastorPedestalsAnalysis.h.

int CastorPedestalsAnalysis::lastTS
private

Definition at line 92 of file CastorPedestalsAnalysis.h.

std::string CastorPedestalsAnalysis::pedsADCfilename
private

Definition at line 94 of file CastorPedestalsAnalysis.h.

std::string CastorPedestalsAnalysis::pedsfCfilename
private

Definition at line 95 of file CastorPedestalsAnalysis.h.

std::string CastorPedestalsAnalysis::ROOTfilename
private

Definition at line 93 of file CastorPedestalsAnalysis.h.

int CastorPedestalsAnalysis::runnum
private

Definition at line 90 of file CastorPedestalsAnalysis.h.

TFile* CastorPedestalsAnalysis::theFile
private

Definition at line 108 of file CastorPedestalsAnalysis.h.

bool CastorPedestalsAnalysis::verboseflag
private

Definition at line 89 of file CastorPedestalsAnalysis.h.

std::string CastorPedestalsAnalysis::widthsADCfilename
private

Definition at line 96 of file CastorPedestalsAnalysis.h.

std::string CastorPedestalsAnalysis::widthsfCfilename
private

Definition at line 97 of file CastorPedestalsAnalysis.h.

std::string CastorPedestalsAnalysis::XMLfilename
private

Definition at line 98 of file CastorPedestalsAnalysis.h.

std::string CastorPedestalsAnalysis::XMLtag
private

Definition at line 99 of file CastorPedestalsAnalysis.h.

std::string CastorPedestalsAnalysis::ZSfilename
private

Definition at line 100 of file CastorPedestalsAnalysis.h.