15 std::cout <<
"Configuring SvtBl2DAnaProcessor" << std::endl;
18 debug_ = parameters.getInteger(
"debug");
24 catch (std::runtime_error& error)
26 std::cout << error.what() << std::endl;
32 std::cout <<
"[SvtBl2DAnaProcessor] Initializing" << std::endl;
35 std::cout <<
"[SvtBl2DAnaProcessor] Load JSON" << std::endl;
38 if (
debug_ > 0) std::cout <<
"[SvtBl2DAnaProcessor] Define 2DHistos" << std::endl;
40 if (
debug_ > 0) std::cout <<
"[SvtBl2DAnaProcessor] Defined 2DHistos" << std::endl;
45 if (
debug_ > 0) std::cout <<
"[SvtBl2DAnaProcessor] TTree Initialized" << std::endl;
106 bool triggerFound =
false;
122 std::cout <<
"[SvtBl2DAnaProcessor] Finalizing" << std::endl;
#define DECLARE_PROCESSOR(CLASS)
Macro which allows the framework to construct a producer given its name during configuration.
virtual void loadHistoConfig(const std::string histoConfigFile)
load histogram config
virtual void saveHistos(TFile *outF=nullptr, std::string folder="")
save histograms
Base class for all event processing components.
virtual bool process()
Process the histograms and generate analysis output.
void FillHistograms(std::vector< RawSvtHit * > *rawSvtHits_, float weight=1.)
description
Insert description here. more details.
virtual void configure(const ParameterSet ¶meters)
description
std::string triggerFilename_
trigger selection
virtual void finalize()
description
json triggers_
description
std::vector< RawSvtHit * > * rawSvtHits_
description
virtual void initialize(TTree *tree)
description
TBranch * btriggerBank_
description
std::string triggerBankColl_
description
Svt2DBlHistos * svtCondHistos
description
std::string histCfgFilename_
configuration parameters
TObject * triggerBank_
description
SvtBl2DAnaProcessor(const std::string &name, Process &process)
Constructor.
std::map< std::string, bool > prescaledtriggerMap_
description
std::map< std::string, bool > exttriggerMap_
description
std::string rawSvtHitsColl_
description
TBranch * brawSvtHits_
description
ModuleMapper * mmapper_
Initialize ModuleMapper.