Expert Mode: Set number of events to analyze
Dear experts,
is there a straightforward way to run an analysis job only for a given number of events?
When testing code, I would like to be able to run only over e.g. 1000 events in order to quickly see if everything is working.
Ideally, this would be something like
./MadAnalysis5job input --nEvents=1000
Is this already implemented in some way?
Thank you
Andreas
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Benjamin Fuks
- Solved:
- 2017-03-01
- Last query:
- 2017-03-01
- Last reply:
- 2017-02-28
|
#1 |
Hi Andreas,
This is not implemented, but you can easily include this by modifying the main.cpp file.
Cheers,
Benjamin
> On 28 Feb 2017, at 14:17 , Andreas <email address hidden> wrote:
>
> New question #497605 on MadAnalysis 5:
> https:/
>
> Dear experts,
>
> is there a straightforward way to run an analysis job only for a given number of events?
>
> When testing code, I would like to be able to run only over e.g. 1000 events in order to quickly see if everything is working.
> Ideally, this would be something like
>
> ./MadAnalysis5job input --nEvents=1000
>
> Is this already implemented in some way?
>
> Thank you
>
> Andreas
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.
Andreas (balouderbaer) said : | #2 |
Hi Benjamin,
thanks for getting back to me. I will implement it myself then.
I think it's really useful feature, though, so it would probably be a good idea to include it in a future release.
So, while not a top priority, it would be nice to have!
Thanks again
Andreas
Andreas (balouderbaer) said : | #3 |
Thanks Benjamin Fuks, that solved my question.
Benjamin Fuks (fuks) said : | #4 |
Hi Andreas,
I agree. This would be a nice feature to implement. I havce added to our to-do list ;)
Cheers,
B>
> On 1 Mar 2017, at 22:19 , Andreas <email address hidden> wrote:
>
> Question #497605 on MadAnalysis 5 changed:
> https:/
>
> Status: Answered => Solved
>
> Andreas confirmed that the question is solved:
> Hi Benjamin,
>
> thanks for getting back to me. I will implement it myself then.
> I think it's really useful feature, though, so it would probably be a good idea to include it in a future release.
> So, while not a top priority, it would be nice to have!
>
> Thanks again
>
> Andreas
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.