15 #include "boost/tokenizer.hpp"
18 #include <sys/types.h>
27 actionId_(pset.getUntrackedParameter<int>(
"defaultAction",-1)),
28 intqualifier_(pset.getUntrackedParameter<int>(
"defaultQualifier",0)),
29 actionRequired_(actionId_!=-1)
40 timingHisto_ =
new TH1D(
"timingHisto_",
"Total time for all modules per event",100,0,1000);
151 unsigned int iterations = 0;
178 while(1){ind+=
step;
if(ind>1000000) step = -1;
if(ind==0) step = 1;}
192 iterations =
static_cast<unsigned int>(
195 for(
unsigned int j=0;
j<iterations;
j++){
201 iterations =
static_cast<unsigned int>(
204 TRandom3
random(iterations);
205 const size_t dataSize = 32*500;
206 std::vector<double>
data(dataSize);
207 random.RndmArray(dataSize, &data[0]);
209 for(
unsigned int j=0;
j<iterations;
j++){
210 const size_t index =
static_cast<size_t>(random.Rndm() * dataSize + 0.5);
213 if ( random.Rndm() < 0.1 )
221 gettimeofday(&tv_now,0);
222 if ((
unsigned)(tv_now.tv_sec-
tv_start_.tv_sec)>intqualifier_)
227 void *vp = malloc(1024);
228 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)