14 #include "boost/tokenizer.hpp"
17 #include <sys/types.h>
26 actionId_(pset.getUntrackedParameter<int>(
"defaultAction",-1)),
27 intqualifier_(pset.getUntrackedParameter<int>(
"defaultQualifier",0)),
28 actionRequired_(actionId_!=-1)
39 timingHisto_ =
new TH1D(
"timingHisto_",
"Total time for all modules per event",100,0,1000);
150 unsigned int iterations = 0;
177 while(1){ind+=
step;
if(ind>1000000) step = -1;
if(ind==0) step = 1;}
191 iterations =
static_cast<unsigned int>(
194 for(
unsigned int j=0;
j<iterations;
j++){
200 iterations =
static_cast<unsigned int>(
203 TRandom3
random(iterations);
204 const size_t dataSize = 32*500;
205 std::vector<double>
data(dataSize);
206 random.RndmArray(dataSize, &data[0]);
208 for(
unsigned int j=0;
j<iterations;
j++){
209 const size_t index =
static_cast<size_t>(random.Rndm() * dataSize + 0.5);
212 if ( random.Rndm() < 0.1 )
220 gettimeofday(&tv_now,0);
221 if ((
unsigned)(tv_now.tv_sec-
tv_start_.tv_sec)>intqualifier_)
226 void *vp = malloc(1024);
227 memset((
char *)vp - 32, 0, 1024);
unsigned int intqualifier_
void analyze(const edm::Event &e, const edm::EventSetup &c)
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
char data[epos_bytes_allocation]
void beginRun(edm::Run &r, const edm::EventSetup &iSetup)