23 #include <boost/bind.hpp>
59 int averageNumber = 1;
61 TH1F * histoName =
new TH1F(
"h",
"",10,0,10);
65 averageNumber,histoName,playback));
118 std::cout <<
"-> The std::vector<EventPrincipalVector> of the secondary source 'input' has been filled with "
120 <<
" bunch." << std::endl;
125 std::cout <<
"-> Get the event: id " << ep.
id() << std::endl;
129 std::cout <<
"-> Will try to get the branch with the tag : " <<
tag_ << std::endl;
130 std::cout <<
" and the EventPrincipal ep with a size = " << ep.
size() << std::endl;
136 boost::shared_ptr<Wrapper<std::vector<SimTrack> >
const> shPtr =
137 getProductByTag<std::vector<SimTrack> >(ep,
tag_);
140 std::cout <<
"-> Could get SimTrack !" << std::endl;
142 std::cout <<
"-> Could not get SimTrack !" << std::endl;
150 boost::shared_ptr<Wrapper<PCrossingFrame<SimTrack> >
const> shPtr =
151 getProductByTag<PCrossingFrame<SimTrack> >(ep,
tag_);
154 std::cout <<
"-> Could get PCrossingFrame<SimTrack> !" << std::endl;
156 std::cout <<
"-> Could not get PCrossingFrame<SimTrack> !" << std::endl;
T getParameter(std::string const &) const
std::vector< std::vector< edm::EventID > > vectorEventIDs_
virtual void dummyFunction(EventPrincipal const &ep)
EventID const & id() const
virtual void getBranches(EventPrincipal const &ep)
SecSourceAnalyzer(const edm::ParameterSet &)
boost::shared_ptr< PileUp > input_
virtual void analyze(const edm::Event &, const edm::EventSetup &)